How could I mark other than Blue Pixels in this image?
2 views (last 30 days)
Show older comments
Murat Kocaman
on 4 Sep 2018
Commented: Walter Roberson
on 4 Sep 2018
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 Comments
Walter Roberson
on 4 Sep 2018
Define "blue" for your purposes. Is (93, 138, 168) blue? It is for legal purposes -- it is "Air Force Blue".
Accepted Answer
Walter Roberson
on 4 Sep 2018
Edited: Walter Roberson
on 4 Sep 2018
[R, C] = find(~MaskIndicatingWhichPixelsAreBlue);
image(YourRGBImage);
hold on
markersize = 8;
scatter(C(:), R(:), markersize, 'r*');
hold off
1 Comment
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!