VMTK Centerline Display by CenterlineId

I have been using the 4.11.0-2020-06-30 version of the Slicer, and would like to know how to display the centerline by the attribute CenterlineId, e.g. the picture below should display 8 centerlines for the user to pick and choose

Hi Andras, @lassoan
Could you kindly provide some insights? So far I see the curves are broken into segments based on the vtkPolydata cell numbers, but would prefer to have the ability to select a whole path from the top to an endpoint. Thank you!

If you don’t want to extract a whole tree then just specify a start point and end point, as shown in this video:

Thanks, @lassoan
So far my experience at 4.11.0-2020-06-30 version is that with two endpoints manually clicked (I made sure they are within the segmentation, as otherwise they can be clicked anywhere in the space), the result shows the whole tree (see below) broken up by 15 segments

However, back to my original question, I would love to have the whole tree extracted, but visualize them labeled by the attribute “CenterlineId”, i.e. each curves composed of points from the beginning point to each corresponding end point, hence, eight(8) centerlines in this example.
Would really appreciate your advice!

Choose “Centerline curve” and not “Network curve” to extract centerline between selected endpoints.

If you extract all the branches then you can use markups curves to find path between two arbitrary points: go to Markups module, drop two points of a curve on the tree, open Curve Settings section, choose Curve type -> “Shortest distance on surface” and Model node -> the tree model. See this video:

Thanks a lot for the tutorial video, @lassoan
I don’t quite follow this step, could you please elaborate more?

drop two points of a curve on the tree

I mean place two markup curve points close to the centerline/network model. If you enable “Shortest distance on surface” option then the curve will be constrained to connect these two points via lines of the chosen model node.

Got it, thank you, @lassoan, it is quite a convenient way to visualize the centerline!

1 Like