フィルターのクリア

The scale in imshow function

6 ビュー (過去 30 日間)
Yasmin Tamimi
Yasmin Tamimi 2016 年 11 月 1 日
コメント済み: Yasmin Tamimi 2016 年 11 月 1 日
Dear All,
When we write imshow(a,[]) the [] scales the whole image by how much. I tried to divide by 255 but it didn't give the same results as putting the []!
Regards,

採用された回答

Image Analyst
Image Analyst 2016 年 11 月 1 日
Doing [] takes the min of the image and puts it at 0 (black) and the max of the image and puts it at 255 (white). So let's say your image went from 60 to 130. Using [] would map 60 down to 0, and map 130 up to 255, and everything else would be linearly scaled in between.
  1 件のコメント
Yasmin Tamimi
Yasmin Tamimi 2016 年 11 月 1 日
Ok.. Thanks a lot

サインインしてコメントする。

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by