Function to read a 16bit color composite image to matlab
Show older comments
Hi, I was trying to open a 16 bit color composite image in matlab but everytime it gives me a dark surface when using imread. What is another function I can use to read it into matlab and perform further image analysis.
3 Comments
KSSV
on 4 Jul 2017
Attach image...
Yonatan Degefu
on 4 Jul 2017
Nirav Sharda
on 13 Jul 2017
The following documentation link has a section that talks about how to read tiff file image data and metadata.
Accepted Answer
More Answers (2)
Kelly Kearney
on 13 Jul 2017
0 votes
Many years ago, I had to work with some 16-bit color avi files. Those files stored the RGB color data using 16 bits per pixel: 5 bits each for red, blue, and green, and one bit unused. Assuming your images use a similar encoding, you can probably adapt that code to your tiff images; it's available here: avidread16bitcol.m.
Eslam Wafdy
on 29 Apr 2019
0 votes
Try using imagesc(data matrix)
1 Comment
Walter Roberson
on 30 Apr 2019
I talked about that in my answer. The data range of interest is often not the data range so you have to be careful about how you use imagesc()
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!