Is it possible to calculate arc lengths in image stacks when the voxel dimensions are anisotropic?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
NCramer
le 14 Fév 2017
Réponse apportée : NCramer
le 14 Fév 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 commentaires
Réponse acceptée
John D'Errico
le 14 Fév 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 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!