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

1 vue (au cours des 30 derniers jours)
what is an R-B feature image,how to convert an RGB image to R-B feature image? ,plase give code in matlab?

Réponse acceptée

Image Analyst
Image Analyst le 10 Jan 2015
% 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 commentaires
shamili
shamili le 10 Jan 2015
thanku for this answer but it is giving that "Undefined function 'rgbImage' for input arguments of type 'char'.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by