Convert RGB image into 8 bit rgb image
29 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Chunru
2022 年 10 月 10 日
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)?
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!