/SlicerLungMaskGenerator

Primary LanguagePythonApache License 2.0Apache-2.0

3D Slicer Lung Mask Generator


This is an outdated project. Go https://github.com/rbumm/SlicerLungCTAnalyzer for a package including the next development step with an excellent interactive lung mask segmenter.


This extension enables the easy and quick production of three frequently used masks from lung CT scans: A "Right Lung Mask", a "Left Lung Mask" and a "Trachea mask". This procedure is realized (semiautomatically) with 3D Slicer (1).

Usage:

  • Start 3D Slicer (1) and load a lung CT volume.
  • Start the "Lung Mask Generator" extension (what you see here, in "Chest Imaging Platform").
  • Select the appropriate volume from the input drop down menu.
  • Define multiple markers by using the predefined marker widgets from the UI: Place tem somewhere on the right lung, on the left lung, one in the middle of the trachea.
  • Press "Apply".
  • Check the masks, place additional markers if neede, press "Apply" again.

After some seconds you should have fairly exact right and left lung masks. Always check the boundaries.

Overview video: https://www.youtube.com/watch?v=DZ4T_0nONvo

Details

The script uses Slicer´s excellent "Segment Editor". Developed and tested with Slicer 4.11.20200930.

This extension is suited to prepare the masks for the CT Lung Analyzer (https://github.com/rbumm/SlicerCTLungAnalyzer) of the same author.

(1) https://www.slicer.org/

Idea and realization:

Rudolf Bumm, Department of Surgery, Kantonsspital Graubünden (KSGR), Chur, Switzerland.


Conceptual changes: Andras Lasso (PERK)

The code presented here is distributed under the Apache license (https://www.apache.org/licenses/LICENSE-2.0).