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

2 次查看(过去 30 天)
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".

请先登录,再进行评论。

采纳的回答

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

更多回答(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