Return index output of bwdistgeodesic?

2 visualizaciones (últimos 30 días)
Eric Chadwick
Eric Chadwick el 14 de Mayo de 2019
Comentada: Wolfgang Schwanghart el 22 de Feb. de 2022
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 comentario
Wolfgang Schwanghart
Wolfgang Schwanghart el 22 de Feb. de 2022
This could be a good enhancement request. The same is true for graydist.

Iniciar sesión para comentar.

Respuestas (1)

Shivam Sardana
Shivam Sardana el 22 de Mayo de 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 comentarios
Eric Chadwick
Eric Chadwick el 26 de Mayo de 2019
Hello,
Thank you for your answer, but the point of my question is that I would like to know if there is a way to retrieve the index from bwdistgeodesic as I want the geodesic closest point to my source points but still be bounded by the boundaries of my voxels.
Shivam Sardana
Shivam Sardana el 4 de Jun. de 2019
According to bwdistgeodesic documentation, there is no way you can retrieve the index.

Iniciar sesión para comentar.

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by