Can bwdistgeodesic be used on a 3D binary image?
Ältere Kommentare anzeigen
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
Antworten (1)
Image Analyst
am 1 Jun. 2014
0 Stimmen
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.)
Kategorien
Mehr zu Biomedical Imaging finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!