Gray Image to Color Indexed Image

1 visualización (últimos 30 días)
Yonghyun
Yonghyun el 16 de Dic. de 2013
Comentada: Oliver Woodford el 19 de Dic. de 2013
Dear all,
I have gray image, the range is -1 to +1 .
In this case, imshow(image, [0.4 1] ,'colormap','hsv'); %Not all range
I want to back this showed image to workspace with original size.
If the image size is larger than pixel size of monitor, the MATLAB reduce the size of showed image.
The input image is not 8 bit, its range is -1 to +1. It's the key.
This is gonna be a lot of thanks for your help.

Respuesta aceptada

Oliver Woodford
Oliver Woodford el 16 de Dic. de 2013
Editada: Oliver Woodford el 16 de Dic. de 2013
Use the sc() package.
A = sc(image, [0.4 1], 'hsv');
  2 comentarios
Yonghyun
Yonghyun el 16 de Dic. de 2013
Thanks a lot!!!
Oliver Woodford
Oliver Woodford el 19 de Dic. de 2013
A better thank you is to accept the answer!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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