Return index output of bwdistgeodesic?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
As the title reads, I would like to use bwdistgeodesic by providing a volume and seed locations. Currently, this function returns the distance to the nearest seed location, but no the index. Does anyone know a way to return the nearest seed index?
1 commentaire
Wolfgang Schwanghart
le 22 Fév 2022
This could be a good enhancement request. The same is true for graydist.
Réponses (1)
Shivam Sardana
le 22 Mai 2019
bwdistgeodesic function does not return nearest index to point. If you want to get index, use bwdist. You can refer to this documentation link for bwdist: https://www.mathworks.com/help/images/ref/bwdist.html
2 commentaires
Shivam Sardana
le 4 Juin 2019
According to bwdistgeodesic documentation, there is no way you can retrieve the index.
Voir également
Catégories
En savoir plus sur Creating and Concatenating Matrices 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!