How can convert image to rgb

2 visualizaciones (últimos 30 días)
Muhammad Bayero
Muhammad Bayero el 24 de En. de 2018
Comentada: Image Analyst el 25 de En. de 2018
Good day. pls i am working a project that i need to convert image to rgb image. can someone with the codes. Iam new to matlab. Thanks
  2 comentarios
Stephen23
Stephen23 el 24 de En. de 2018
"i need to convert image to rgb image"
What type of image is it?
Muhammad Bayero
Muhammad Bayero el 25 de En. de 2018
normal picture i suppose. i took d picture with a camera....thanks in advance

Iniciar sesión para comentar.

Respuesta aceptada

Image Analyst
Image Analyst el 25 de En. de 2018
Try this:
rgbImage = imread(filename);
imshow(rgbImage);
  3 comentarios
Muhammad Bayero
Muhammad Bayero el 25 de En. de 2018
pls How can i convert the rgb to normalised rgb?
Image Analyst
Image Analyst el 25 de En. de 2018
Depends on what your definition of normalised is. Look into the im2double() and mat2gray() functions.

Iniciar sesión para comentar.

Más respuestas (0)

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