How to get metrics for centerline pieces?

How to split extracted centerline into pieces to get curvature, torsion and tortuosity for each piece?

I feel like I miss something obvious, but after hours of trying I haven’t found how to do this through UI. If it is impossible, maybe somebody can point me to the right Python calls? I have coordinates of points where to split the centerlines written down manually from CT scan.

To split a bifurcated centerline model, you can consider the Centerline disassembly module.

The ExtractCenterline module provides metrics also.

You can get an overview here to calculate metrics in Python.

Thanks for the pointers. There is a need to split centerline that is not bifurcated into subsequent pieces. On the CT scan there are places where the vein goes through different bones, and I’d like to manually split the centerline into pieces that correspond to these bones to measure the parameters.

The centerline disassembly module mentions branches as “centerline parts that exclude the bifurcations”, but how to I place a point to split one continuous centerline into these branches?

You can manually place the endpoints for each section and run extract centerline for each section. Then you will have separate centerlines to take the measurements from. If you are concerned about exactly placing the endpoint in each section in the center of the vessel, you can first extract the centerline for the whole vessel, then place your segment endpoints along the extracted full centerline.

Ok, so it’s not splitting at bifurcations.

@mikebind 's suggestion is probably the best thing to do.

If you really need to cut your centerline, the Dynamic modeler module allows to cut any model with a plane or a ROI for example.

Thanks. I will try to find out how to place endpoints there, which view and buttons I need to press.

I am going to try this as well. Thanks.