Visualize 4 band .tif image
10 views (last 30 days)
Show older comments
Abedelkarim Jezzini
on 21 Jul 2017
Commented: Abedelkarim Jezzini
on 12 Aug 2017
I have tried several methods including imread, multibandread, imadjust to read and visualize the attached image with no success in showing its real colors. Looking forward for your support.
0 Comments
Accepted Answer
Walter Roberson
on 21 Jul 2017
Tricky without guidance as to the expected output.
cmyk = imread('testPatch1.tif');
C = makecform('cmyk2srgb');
rgb = applycform(cmyk, C);
rescaled_rgb = mat2gray(rgb);
imshow(rescaled_rgb);
9 Comments
Walter Roberson
on 25 Jul 2017
It turns out the image was only similar to what I dealt with before. See https://www.mathworks.com/matlabcentral/answers/346170-how-to-get-rgb-from-this-tiff-image-file#comment_464334 for the calculation technique.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!