Euclidean distance for all pixels
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i wanted to find the minimum of Euclidean distance, between pixels of an image?? please can someone help me with the code??
0 commentaires
Réponse acceptée
Image Analyst
le 5 Nov 2012
That would be 1, and occurs for any pixels that are adjacent to each other.
3 commentaires
Image Analyst
le 5 Nov 2012
The center pixel will be anywhere from half the width (or height) to sqrt((width/2)^2 + (height/2)^2) from the edge pixels.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!