Why getting black image as output?

23 ビュー (過去 30 日間)
Merve YILDIRIM
Merve YILDIRIM 2020 年 5 月 18 日
コメント済み: Merve YILDIRIM 2020 年 5 月 18 日
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
Merve YILDIRIM
Merve YILDIRIM 2020 年 5 月 18 日
image is truecolor.

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

採用された回答

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by