Return index output of bwdistgeodesic?
조회 수: 3 (최근 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에서 Parallel for-Loops (parfor)에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!