getting the coordinates of green colored portion.
Ältere Kommentare anzeigen
i have an image. i have extracted out the green coloured portion from it. now i want the coordinates of that green area. how can i do that?
Akzeptierte Antwort
Weitere Antworten (1)
If you have matrix X of zeros and ones, where the ones mark the the pixels of the green object, you can extract its x and y coordinates using
[y, x] = find(X);
Kategorien
Mehr zu Blue finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!