Why getting black image as output?

23 次查看(过去 30 天)
I have 3 bands images.(tif). I try to open it but it look black. why? how can I open it colored?
I=imread('10030050.tif');
imshow(I)
  3 个评论
Merve YILDIRIM
Merve YILDIRIM 2020-5-18
>> size(I)
ans =
13824 7680 3
>> class(I)
ans =
'uint16'
>> max(I(:))
ans =
uint16
4095

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2020-5-18
You are only using 1/16th of the possible data range.
Is = double(I)/4095;
imshow(Is)
  5 个评论
Walter Roberson
Walter Roberson 2020-5-18
Your image is not all that big, but if you were to be trying to compare every column to every other column, you could run out of memory.
Merve YILDIRIM
Merve YILDIRIM 2020-5-18
Ok, I see. Thank you so so much :)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by