How can convert image to rgb

2 vues (au cours des 30 derniers jours)
Muhammad Bayero
Muhammad Bayero le 24 Jan 2018
Commenté : Image Analyst le 25 Jan 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 commentaires
Stephen23
Stephen23 le 24 Jan 2018
"i need to convert image to rgb image"
What type of image is it?
Muhammad Bayero
Muhammad Bayero le 25 Jan 2018
normal picture i suppose. i took d picture with a camera....thanks in advance

Connectez-vous pour commenter.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by