I have two arteries, like:
I can obtain the centerline for one artery, but fail for the other one. It failed to obtain the centerline between the two red point.
The running code is:
vmtksurfacereader -ifile E:\\DeepCenterLine\\vessel_smooth30.vtp --pipe vmtkcenterlines --pipe vmtkrenderer --pipe vmtksurfaceviewer -opacity 0.25 --pipe vmtksurfaceviewer -i @vmtkcenterlines.o -array MaximumInscribedSphereRadius
I have updated the
vessel_smooth30.vtp to github.
Actually, I run it using python code, and a warning is reported:
vtkvmtkSteepestDescentLineTracer: can't find a steepest descent edget. Target not reached.
The source point is: [44, 398, 151], and the target point is: [47, 403, 558]
How to obtain the center line from [44, 398, 151] to [47, 403, 558].