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

조회 수: 1 (최근 30일)
Mereena Achu
Mereena Achu 2015년 6월 28일
댓글: Mereena Achu 2015년 6월 28일
figure,imshow(abs(y-x)*100)

채택된 답변

Image Analyst
Image Analyst 2015년 6월 28일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by