필터 지우기
필터 지우기

How to normalise the elements of R-B feature image to the range of 0-255

조회 수: 2 (최근 30일)
Harinder  Kaur
Harinder Kaur 2015년 11월 21일
답변: Image Analyst 2015년 11월 21일
Help Me..its urgent

답변 (1개)

Image Analyst
Image Analyst 2015년 11월 21일
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));

카테고리

Help CenterFile Exchange에서 Image Segmentation and Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by