Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
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 Commenti
Walter Roberson
Walter Roberson il 4 Set 2018
Define "blue" for your purposes. Is (93, 138, 168) blue? It is for legal purposes -- it is "Air Force Blue".
Murat Kocaman
Murat Kocaman il 4 Set 2018
Yes I did. My problem is on marking. I couldn't mark them.

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 4 Set 2018
Modificato: Walter Roberson il 4 Set 2018
[R, C] = find(~MaskIndicatingWhichPixelsAreBlue);
image(YourRGBImage);
hold on
markersize = 8;
scatter(C(:), R(:), markersize, 'r*');
hold off

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by