Borrar filtros
Borrar filtros

I am interested in generating a color bar from a colored image.

1 visualización (últimos 30 días)
Abdul Wahab
Abdul Wahab el 24 de Mzo. de 2019
Comentada: Image Analyst el 25 de Mzo. de 2019
I have attached the image. What I would like is a color bar that displays all the colors on the figure. The figure represents elevation data.

Respuestas (1)

Image Analyst
Image Analyst el 24 de Mzo. de 2019
If you don't know the colormap, then you will need the indexed image, not the RGB one.
  4 comentarios
Abdul Wahab
Abdul Wahab el 25 de Mzo. de 2019
How do I make a color bar of the colors displayed on the image to thre right?
Image Analyst
Image Analyst el 25 de Mzo. de 2019
You can't but you mgiht be able to get roughly close if you have a gray scale image, and you map the gray scaled from 0-255 basically along the centroid of that colored snake-like gamut. Sorry, I don't have any code to automatically do that. Can you ask the image originator for the original gray scale image and the color map they used?

Iniciar sesión para comentar.

Categorías

Más información sobre Red 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