How can convert image to rgb

2 visualizzazioni (ultimi 30 giorni)
Muhammad Bayero
Muhammad Bayero il 24 Gen 2018
Commentato: Image Analyst il 25 Gen 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 Commenti
Stephen23
Stephen23 il 24 Gen 2018
"i need to convert image to rgb image"
What type of image is it?
Muhammad Bayero
Muhammad Bayero il 25 Gen 2018
normal picture i suppose. i took d picture with a camera....thanks in advance

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by