Can bwdistgeodesic be used on a 3D binary image?
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I have a 3D binary image (effectively a cube) and I want to create a distance map of the image with the starting point(s) being one of the sides/faces of the cube (i.e. all the voxels present on that side of the cube; the subscripts of each of the starting voxels were appropriately identified using the 'ind2sub' function and the each voxel will have the coordinate (i,j,k) ). I tried using bwdistgeodesic but appears this function only supports 2D binary images and hence the starting point will be an edge of the cube rather than a face of the cube.
Please is there a way to make the starting point one of faces of the cube and can any of the cube faces be made the starting point?
Thanks
0 个评论
回答(1 个)
Image Analyst
2014-6-1
I don't think bwdistgeodesic() can be used on 3D binary images. I recommend you use dynamic programming for what you want to do. http://en.wikipedia.org/wiki/Dynamic_programming#Checkerboard I did this for blood vessel tracking as part of my Ph.D. dissertation. (And no, I don't have that code for you to use.)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Biomedical Imaging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!