Is it possible to calculate arc lengths in image stacks when the voxel dimensions are anisotropic?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
NCramer
am 14 Feb. 2017
Beantwortet: NCramer
am 14 Feb. 2017
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 Kommentare
Akzeptierte Antwort
John D'Errico
am 14 Feb. 2017
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 Kommentare
Weitere Antworten (1)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!