Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
what is an R-B feature image,how to convert an RGB image to R-B feature image? ,plase give code in matlab?

Akzeptierte Antwort

Image Analyst
Image Analyst am 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, []);

Weitere Antworten (0)

Kategorien

Mehr zu Modify Image Colors finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by