Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
what is an R-B feature image,how to convert an RGB image to R-B feature image? ,plase give code in matlab?

Risposta accettata

Image Analyst
Image Analyst il 10 Gen 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, []);

Più risposte (0)

Categorie

Scopri di più su Modify Image Colors in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by