Borrar filtros
Borrar filtros

how to find map matrix to an 3D image as in load function?

2 visualizaciones (últimos 30 días)
Rasha
Rasha el 14 de Nov. de 2014
Comentada: Rasha el 18 de Nov. de 2014
in this code
load wbarb;
the output be the image 'X' and the map of it.
I want to find the map to my image so I wrote a cod as:
[X,map] = imread('pears.png');
the output be the image 'X' but the map be like this []
so what is the right way to find 'map' in 3 columns?
  1 comentario
Rasha
Rasha el 18 de Nov. de 2014
I found this code and I think it's what I looking for
[X,map] = cmunique(RGB);

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by