Can bwdistgeodesic be used on a 3D binary image?
7 ビュー (過去 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 で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!