How can convert image to rgb
2 views (last 30 days)
Show older comments
Muhammad Bayero
on 24 Jan 2018
Commented: Image Analyst
on 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 Comments
Accepted Answer
Image Analyst
on 25 Jan 2018
Try this:
rgbImage = imread(filename);
imshow(rgbImage);
3 Comments
Image Analyst
on 25 Jan 2018
Depends on what your definition of normalised is. Look into the im2double() and mat2gray() functions.
More Answers (0)
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!