Borrar filtros
Borrar filtros

Read 8 bit - colour as 24 bit colour

2 visualizaciones (últimos 30 días)
Jonasz
Jonasz el 6 de Jun. de 2013
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.

Respuestas (1)

Image Analyst
Image Analyst el 6 de Jun. de 2013
Did you try to extract the palette with imread?
[indexedImage, colorMap] = imread(fullFileName);

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by