How to extract coordinates from the pattern
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear sir, i would like to extract all coordinates (white pixels) from the attached image. plz help to sort out, thanks in advance
0 commentaires
Réponses (1)
Thorsten
le 26 Oct 2016
white = 1; % or 255, depending on the format of your image
[cy, cx] = ind2sub(size(I), find(I==1));
0 commentaires
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!