How to normalise the elements of R-B feature image to the range of 0-255
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Help Me..its urgent
0 Kommentare
Antworten (1)
Image Analyst
am 21 Nov. 2015
Try this:
% Extract the individual red, green, and blue color channels.
redChannel = rgbImage(:, :, 1);
greenChannel = rgbImage(:, :, 2);
blueChannel = rgbImage(:, :, 3);
rMinusB = 255 * mat2gray(double(redChannel) - double(blueChannel));
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!