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 Center および File ExchangeConvert Image Type についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by