gray2rgb conversion
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
NAVNEET NAYAN
el 27 de Abr. de 2017
Respondida: Walter Roberson
el 27 de Abr. de 2017
how can I convert a grayscale image into RGB image??
Thanks
navneet nayan
Respuesta aceptada
Walter Roberson
el 27 de Abr. de 2017
temp = YourGrayImage;
if isfloat(temp)
temp = im2uint8(temp);
end
ColorImage = ind2rgb(temp, TheColorMapToUse);
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Modify Image Colors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!