Convert RGB image into 8 bit rgb image
32 views (last 30 days)
Show older comments
hello,
I have an RGB image (example enclosed - imfinfo suggest its 24 bit image)
Now i need to convert this to an 8 bit RGB image.
How do i do it ?
when i googled this issue i learnt that to reduce the bit i have to divide by 256 but when i use 'imread' the pixels are divided into 3 individual (R,G & B)
2 Comments
Chunru
on 10 Oct 2022
Your image has RGB channels and each channel is 8-bit uint. What do you want to do with the image? Do you mean 256 color-mapped image (8-bit per pixel)?
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Matrox Hardware 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!