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

 Respuesta aceptada

% 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 comentarios

thanku for this answer but it is giving that "Undefined function 'rgbImage' for input arguments of type 'char'.
yaahh its working...thanq very much.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 10 de En. de 2015

Comentada:

el 10 de En. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by