Why getting black image as output?
6 views (last 30 days)
Show older comments
Merve YILDIRIM
on 18 May 2020
Commented: Merve YILDIRIM
on 18 May 2020
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 Comments
Accepted Answer
Walter Roberson
on 18 May 2020
You are only using 1/16th of the possible data range.
Is = double(I)/4095;
imshow(Is)
5 Comments
Walter Roberson
on 18 May 2020
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.
More Answers (0)
See Also
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!