Home < Documentation < Nightly < Modules < Editor < WatershedFromMarkers
Introduction and Acknowledgements
- Author(s)/Contributor(s): Bradley Lowekamp (MSC/NLM), Steve Piepe(Isomics Inc.)
- Acknowledgements: This work is supported by NLM, and the Slicer Community.
- Contact: Bradley Lowekamp, <email>blowekamp@mail.nih.gov</email>
|
| The National Library of Medicine
|
| National Alliance for Medical Image Computing (NA-MIC)
|
|
|
Module Description
Watershed from Markers is an edge based editing tool that detects edges and fills in a specific area based on the given outlines created in the label map. It is an effective way to segment features with robust outlines more efficiently.
Use Cases
|
Step 2: Original Label Map
|
Step 3: Label Map after Watershed
|
Step 4: Label Map after Change Label effect
|
|
|
- Use MRBrain Tumor Time Point 1 from Slicer's Sample Data. Scroll through the data and find a feature of interest, for example the tumor.
- With the Paint tool, create an original label map as the input for the Watershed from Markers tool. Using one color, paint the tumor precisely. Watershed from Markers is an edge based algorithm and labeling pixels outside of the tumor outline will result in an inaccurate label map. In another color, outline the tumor and fill in part of the background. This can be done for one slide or multiple slides in which the tumor is visible. Labeling more slides will result in a more accurate watershed.
- After the Watershed from Markers is applied, the tumor will be represented by one color and the background will be represented by another color.
- Using the Change Label effect, change the background color to black.
- Once the background label has been changed, look through each slice for leaked pixels.
- To fix leaked pixels, use the Paint tool to erase extra pixels from the label map. Another way to edit your label map is to apply the Undo/Redo tools. Using the undo, the watershed can be undone and the original label map can be edited. The redo tool can reapply an updated version of the Watershed from Markers effect. After looking through each slice for leaked pixels, the label map should accurately represent your tumor.
Tutorials
N/A
References
N/A
Information for Developers