Hi all,
I am trying to calculate two different parameters of vessel segments without any bifurcations: the average diameter along the centerline of the vessel and the overall tortuosity, but it seems like I can not subtract this information directly from the data. For calculating the average diameter, I am running the following code:
vmtksurfacesubdivision -method loop -ifile E:/Testdata/testvessel2.stl -ofile testvessel2_edited.stl --pipe vmtksurfacereader -ifile testvessel2_edited.stl --pipe vmtkcenterlines -ifile testvessel2_edited.stl -ofile testvessel2_centerlines.stl --pipe vmtkrenderer --pipe vmtksurfaceviewer -opacity 0.25 --pipe vmtksurfaceviewer -i @vmtkcenterlines.o -array MaximumInscribedSphereRadius --pipe vmtkdistancetocenterlines -useradius 1 -ofile testvessel2_radius.vtp --pipe vmtksurfacewriter -f pointdata -ofile E:/Testdata/testvessel2_radius2.txt
This returns a txt file containing the parameters MaximumInscribedSphereRadius and DistanceToCenterline. It seems to me that the DistanceToCenterline is not calculated correctly, since it differs a lot from MaximumInscribedSphereRadius. Anyway, I would actually like to calculate the average diameter of the vessel along the centerline, instead of the minimum radius. Is this possible? And which function should I use? To find the tortuosity, I am running the following code:
vmtkcenterlinegeometry -ifile E:/Testdata/testvessel2_edited.stl -smoothing 1 -iterations 100 -factor 0.1 --pipe vmtksurfacewriter -i @.o -celldata 1 -ofile E:/Testdata/curveinfo2.dat
But this returns all zero values. I already tried to upload the file in Paraview, but there it also says the tortuosity is zero, which could not be true. What can I do to derive the diameter and the tortuosity from my data?
Thanks in advance!
Demi
I don’t use pypes scripts but these are fairly straightforward to compute using VMTK filters.
You can also use 3D Slicer’s SlicerVMTK extension to get average radius and tortuosity for your vessel segment. See https://github.com/vmtk/SlicerExtension-VMTK#the-vmtk-extension-for-3d-slicer for details.
Andras
--
You received this message because you are subscribed to the Google Groups "vmtk-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vmtk-users/2d588a1a-eaf1-4f23-9a58-9bc281683b36o%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to vmtk-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vmtk-users/c7b84466-d24c-4e9c-980b-20d5a0f27d15o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vmtk-users/e1b38eae-e281-4bd7-a360-aae6c7346180o%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vmtk-users/a4a09798-4710-4df6-9640-c7f9eff65d5ao%40googlegroups.com.