How can convert image to rgb
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Image Analyst
2018-1-25
Try this:
rgbImage = imread(filename);
imshow(rgbImage);
3 个评论
Image Analyst
2018-1-25
Depends on what your definition of normalised is. Look into the im2double() and mat2gray() functions.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!