returning the indexes of an image displayed with a specific colormap
Mostrar comentarios más antiguos
hi, does anyone know hot to get the numeric indexes of a displayed image with a specific user defined colormap???
for example imagesc(IMAGE) colormap(user_colormap)
displays an image mapped into the colormap....and I want the numeric representation of the displayed image.
5 comentarios
Kevin Claytor
el 14 de Ag. de 2012
Can you be more specific on what you want to do? You already have the numeric data - it's stored in IMAGE. If you want to look at that on the screen, you can print out a certain range; "IMAGE(1:10,1:10)" or get a single pixel value with the cursor + sticky note icon in the figure toolbar.
Mario Trevino
el 14 de Ag. de 2012
Matt Fig
el 14 de Ag. de 2012
What format is the IMAGE? m-by-n-by-3 or m-by-n or what?
Sean de Wolski
el 14 de Ag. de 2012
That's what IMAGE is.... It's just a 2d matrix of indices into the colormap.
Mario Trevino
el 14 de Ag. de 2012
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Blue en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!