Convert RGB image into 8 bit rgb image
조회 수: 31 (최근 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!