Level tracing segment editor effect

I was wondering if there was a way to get an option in level tracing for the Segment Editor to allow for the corrections to the segmentation performed in the 3rd dimension so that the level tracing can happen outside of the plane you are working with? Also possibly an effect to thread a tubelike segmentation into a gap of a prior segmentation that isn’t straight. I know there is the scizzors option to fill straight lines but it would be useful to start a tubelike segmentation for something like the spinal cord?

There is a 3D version of the level tracing algorithm, which may be usable, but integration would take some time and display of 3D preview may be slow. The level trace effect is ported from the legacy Editor module, but compared to all the other effects, I don’t find it very useful. We probably have to either have to improve it or move out from the core (and have it available in some optional extension, for those who find it useful).

For what kind of segmentation did you find level tracing effect useful?

You can create a tube-like segmentation using scissors with circle shape. If you draw in a slice view, you can even limit the depth.

I find the level tracing useful for my noisy images of the lungs to get a little more of the details, as well as the airways. Every time I use the scissors effect in the slice viewers the effect just generates a tube through the entire 3d structure. Is there an option I should be choosing? Also besides the surface cut is there a way to expand or contract a certain region of a segmentation by like pushing or pulling the 3d or 2d visualization if the segmentation is missing a portion?

You can restrict the Scissors effect cut “thickness” by the Slice cut option.

One obvious way is to use interpolate between segments. You segment on two or more slices in 2D and this effect fills all the other slices in 3D in between.

You can also expand or contract a segment using Margin effect. You can combine it with masking options to restrict the growth in various ways (stay inside/outside certain segments or intensity regions, etc).

If you can describe what is the exact problem that you try to solve, I can give more specific advice.

Did you know there is an extension specifically for lung images processing, and it can segment lungs automatically? Check out Chest imaging platform.

So the problem is that my images are non-contrast enhanced ct images of cadavers donated to my school. I’m slowly working on segmenting all the major organ systems.

Hey Andrey Federov, so I’m not finding the extension either for the chest imaging platform to install it on the nightly build I already have?

@stevenagl12 what platform are you on? Are you using the nightly package?

@jonieva it appears that CIP has build errors on Windows - see http://slicer.cdash.org/viewBuildError.php?buildid=1087165.

Yes I am using the nightly build. According to the CIP website I’m supposed to download the extension but it’s not there.

What operating system do you have?

I have Windows 10 on a desktop with 32gbs of ram and an i7 processor.

Can you please point me to the 3D version of the level tracing algorithm? is it public?

The underlying ITK code is N-dimensional so you can try it out. I never found the 3D mode very effective but it probably depends a lot on the data and task.

1 Like