How to normalise the elements of R-B feature image to the range of 0-255
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Help Me..its urgent
0 comentarios
Respuestas (1)
Image Analyst
el 21 de Nov. de 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 comentarios
Ver también
Categorías
Más información sobre Image Segmentation and Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!