필터 지우기
필터 지우기

how to change specific color in image to black?

조회 수: 3 (최근 30일)
Muhammad
Muhammad 2022년 4월 28일
댓글: Rik 2022년 4월 29일
hi i am trying to make a code that change the specific user define color in image to black without changing other
can any one help me this is what i have done
% Read image
im = imread('coloredChips.png');
subplot(2,2,1);
imshow(im);
im(:,:,3)=im(:,:,2);im(:,:,2)=im(:,:,1)
subplot(2,2,2);
imshow(im);
  댓글 수: 5
Rik
Rik 2022년 4월 29일
I think that would make this question a duplicate.
@Muhammad can you give a reason why this question should not be closed?

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

답변 (0개)

카테고리

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