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

조회 수: 1 (최근 30일)
what is an R-B feature image,how to convert an RGB image to R-B feature image? ,plase give code in matlab?

채택된 답변

Image Analyst
Image Analyst 2015년 1월 10일
% 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, []);

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by