Borrar filtros
Borrar filtros

How to convert the grayscale image into rgb image ????

4 visualizaciones (últimos 30 días)
bavani marimuthu
bavani marimuthu el 18 de En. de 2018
Respondida: Walter Roberson el 18 de En. de 2018
How to convert the grayscale image into rgb image ????
  1 comentario
KSSV
KSSV el 18 de En. de 2018
You should be having colormap for this. You need to have a color data of the concerned image.

Iniciar sesión para comentar.

Respuestas (2)

KSSV
KSSV el 18 de En. de 2018

Walter Roberson
Walter Roberson el 18 de En. de 2018
RGB_Image = Grayscale_Image(:,:,[1 1 1]);
which is the same as
RGB_Image = repmat(Grayscale_Image, 1, 1, 3);

Categorías

Más información sobre Convert Image Type 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!

Translated by