Why absolute value is multiplied by 100 in the code below?

1 vue (au cours des 30 derniers jours)
Mereena Achu
Mereena Achu le 28 Juin 2015
Commenté : Mereena Achu le 28 Juin 2015
figure,imshow(abs(y-x)*100)

Réponse acceptée

Image Analyst
Image Analyst le 28 Juin 2015
I guess they wanted the image to be 100 times as bright. You'd have to ask the author. A better way might be
imshow(abs(y-x), []);
to scale the data to the maximum dynamic range the display can handle.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by