필터 지우기
필터 지우기

how to extract the green channel of a rgb image

조회 수: 5 (최근 30일)
LAXMI PRIYANKA
LAXMI PRIYANKA 2020년 3월 6일
댓글: DGM 2023년 12월 6일
i want to extract the green channel from rgb image

답변 (1개)

Walter Roberson
Walter Roberson 2020년 3월 6일
G = YourMatrix(:, :, 3);
  댓글 수: 1
DGM
DGM 2023년 12월 6일
G = YourMatrix(:, :, 2); % channels are ordered R,G,B
... or to just get all three,
[R G B] = imsplit(YourMatrix);

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by