Why absolute value is multiplied by 100 in the code below?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mereena Achu
am 28 Jun. 2015
Kommentiert: Mereena Achu
am 28 Jun. 2015
figure,imshow(abs(y-x)*100)
1 Kommentar
Akzeptierte Antwort
Image Analyst
am 28 Jun. 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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!