Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
Rasha
Rasha le 14 Nov 2014
Commenté : Rasha le 18 Nov 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 commentaire
Rasha
Rasha le 18 Nov 2014
I found this code and I think it's what I looking for
[X,map] = cmunique(RGB);

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by