what is an R-B feature image,how to convert an RGB image to R-B feature image? ,plase give code in matlab?

1 回表示 (過去 30 日間)
what is an R-B feature image,how to convert an RGB image to R-B feature image? ,plase give code in matlab?

採用された回答

Image Analyst
Image Analyst 2015 年 1 月 10 日
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
redMinusBlue = double(radChannel) - double(blueChannel);
imshow(redMinusBlue, []);
  2 件のコメント
shamili
shamili 2015 年 1 月 10 日
thanku for this answer but it is giving that "Undefined function 'rgbImage' for input arguments of type 'char'.
shamili
shamili 2015 年 1 月 10 日
yaahh its working...thanq very much.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by