ALive-research / Slicer-Liver

3D Slicer extension for liver analysis and therapy planning
Other
17 stars 9 forks source link

Creation of segments out of different vessels systems #134

Closed RafaelPalomar closed 1 year ago

RafaelPalomar commented 2 years ago

Now, the centerline extraction for a given set of points works if all those points have been associated to the same model (e.g., 2 points assigned to portal). We would like to expand the use case to include the possibility to add points in different vessels systems.

As an example, think about the possibility to add 2 points in portal and 2 points in hepatic for the same point set. At this point, the algorithm for centerline extraction will look to connect the two systems (and will fail because the models should not have any connection).

Idea on how to implement this:

olevs commented 2 years ago

I've added the functionality for testing out this functionality in the #137 pull request. Now centerline segments are added to the same model instead of being replaced when pressing the "Add Vessel Centerline Segment" button. As long as you use the same markups point list you will be adding segments to the same model. For this first implementation you will need to use the other Slicer widgets to delete markup points or the combined centerline model.

olevs commented 2 years ago

Pull request #144 is adding segment id to all segment nodes. This can be used to give segments the same id. No GUI is created for this yet.