Return index output of bwdistgeodesic?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
Wolfgang Schwanghart
2022 年 2 月 22 日
This could be a good enhancement request. The same is true for graydist.
回答 (1 件)
Shivam Sardana
2019 年 5 月 22 日
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 件のコメント
Shivam Sardana
2019 年 6 月 4 日
According to bwdistgeodesic documentation, there is no way you can retrieve the index.
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!