Read 8 bit - colour as 24 bit colour
1 回表示 (過去 30 日間)
古いコメントを表示
Hello I know it might be stupid question but it's a serious problem. I performed a quantization in IrfanView program and I would like to read the image in Matlab but the quantization change the bits from 24 to 8 ( 256 colour quantization). Matlab read this image as monochromatic with no RGB palletes. How can I read such an image in Matlab . Thanks.
1 件のコメント
Walter Roberson
2013 年 6 月 6 日
Could you post a link to the resulting image? http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
回答 (1 件)
Image Analyst
2013 年 6 月 6 日
Did you try to extract the palette with imread?
[indexedImage, colorMap] = imread(fullFileName);
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!