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 个评论
Muhammad Bayero
Muhammad Bayero 2018-1-25
normal picture i suppose. i took d picture with a camera....thanks in advance

请先登录,再进行评论。

采纳的回答

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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by