필터 지우기
필터 지우기

How could I mark other than Blue Pixels in this image?

조회 수: 2 (최근 30일)
Murat Kocaman
Murat Kocaman 2018년 9월 4일
댓글: Walter Roberson 2018년 9월 4일
Hello,
I would like to mark other than blue pixels.
Later I will compare these pixels with the other image pixel values. Is there anyone helping on this issue?
  댓글 수: 2
Walter Roberson
Walter Roberson 2018년 9월 4일
Define "blue" for your purposes. Is (93, 138, 168) blue? It is for legal purposes -- it is "Air Force Blue".
Murat Kocaman
Murat Kocaman 2018년 9월 4일
Yes I did. My problem is on marking. I couldn't mark them.

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

채택된 답변

Walter Roberson
Walter Roberson 2018년 9월 4일
편집: Walter Roberson 2018년 9월 4일
[R, C] = find(~MaskIndicatingWhichPixelsAreBlue);
image(YourRGBImage);
hold on
markersize = 8;
scatter(C(:), R(:), markersize, 'r*');
hold off
  댓글 수: 1
Walter Roberson
Walter Roberson 2018년 9월 4일
I just added a small correction to mark the pixels that are not blue.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by