Is it possible to calculate arc lengths in image stacks when the voxel dimensions are anisotropic?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello, Using (with great appreciation) Skeleton3D and Skel2Graph3D I have skeletonized 3D image stacks of vasculature. Part of the output from Skel2Graph3D is a list of linear indices for each branch. I am struggling to find a way to convert these values into the branch length when my voxel dimensions are anisotropic. I would greatly appreciate any suggestions on how to tackle this problem. In case it helps, I have attached the voxel indices from a 1024x1024x462 image stack where the voxel dimensions are 0.4x0.4x1 micron.
Thank you!
0 件のコメント
採用された回答
John D'Errico
2017 年 2 月 14 日
I don't see the problem. Convert the linear indices back into subscripts.
help ind2sub
Then scale by the respective size of a voxel in each dimension. That effectively gives you a set of ordered points in (x,y,z). Now arc length is trivial, at least if you will compute the piecewise linear arc length. If you want the length of a smooth curvilinear arc that passes through those points, you can use my arclength tool, as found on the file exchange. (It can also compute a piecewise linear arclength in n-dimensions, if that is painful for you.)
0 件のコメント
その他の回答 (1 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!