Hello, how can I convert this grayimage back to an rgb with green fluorescence?
<<
>>

 Respuesta aceptada

Image Analyst
Image Analyst el 16 de Dic. de 2013
Editada: Image Analyst el 16 de Dic. de 2013

0 votos

blackImage = zeros(size(grayImage), 'uint8');
rgbImage = cat(3, blackImage, grayImage, blackImage);
Or you can use ind2rgb():
cmap = [zeros(256,1), (0:255)', zeros(256,1)]
rgbImage = uint8(ind2rgb(grayImage, cmap));

Más respuestas (0)

Categorías

Más información sobre Image Processing Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Dic. de 2013

Comentada:

el 16 de Dic. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by