when i try to compute centerline model using extractcenterline module, both by code or manually, the software crashes everytime. I’m using 4.13.0 version for windows (i tried 5.1 version for macOS bu the problem is the same). Is there any solutions or any alternative way to compute the centerline model?
(using 4.11 version the problem doesn’t show but i need to use the sandbox extension for other purposes but it is not available for this version, if i don’t get it wrong)
I’ve spent several hours investigating this issue. It is due to that if VMTK cannot find the path to an endpoint then it creates a line with a single-point. This was accepted in VTK-8.x but in VTK-9.x they changed the behavior so that it crashes the application. I’m working on a solution at both VTK and VMTK levels, but it is not easy, it’ll probably take a couple of days.
Until then, you can avoid the crash by moving the centerline endpoints to where the vessels are a bit thicker to ensure that they are accessible from the input point.