Suggestion: Quicker scissor tool and Seed growing to split a segment in two parts

segmentation
(Amine Azami) #1

Hello, i would like to suggest two features that i found my way around but were very time consuming ( hopefully not so hard to code):

  1. Using the scissor tool to cut through a segment in 3d view (without drawing a full circle, just a line) and separate the segment into two: especially useful for isolating territories of a vascular tree. obviously this would only work if the specified cutting line is enough to split the segment into two parts. (to do this i had to localise the cutting point with shift+crosshairs then erase a slice then new segment> add island, wich is very time consuming for a lot of vessel branches )

  2. Adding an option based on “grow from seeds” to split a segment containing two structures into two segments containing those structures: by using two other segments as seeds, the operation taking effect only on the segment to be split and not the whole volume obviously (the workaround here was to check editable area=inside all segments, then hide the segment to be split, and run the grow from seeds with only the segments containing seeds unhidden, but still its hard since gro< from seends doesent run on the entire volume but limited to the area around the seed segments, so its necessary to paint all over the segments to split and not just in the junction zone)

(Amine Azami) #2

As for the Second Proposition, i tought id make an illustrated description because it is really important,
So the goal is to separate this threshold into vascular and Bone
1

To do this, the method i found is to use editable=inside that layer to paint seeding regions in two new segments
2

Then hide the original threshold, and do a growfromseeds with editable=Inside the hidden layer, to get this:

The problem here as you see is that grow from seeds defines cropping region limited to the boundaries of the seeds to speed up the processing so the solution was to add a new segment and use editable= everywhere to draw the boundaries of the volume as shown here
4

Then proceed the same way with growfromseeds and editable=inside the hidden layer to get the final result:

What i would suggest is either adding an option in grow from seeds module to extend the cropping zone to even the hidden layers or to a specific layer
OR to make a separate module that wil take as inputs the segment to split and the two seeding segments and use grow from seeds as usual, taking the whole segment into account.

This is the feature i used the most and it could get way simpler,
Hope this Makes any sense!

1 Like