Back to Projects List
Interactive Segmentation Using the SegmentEditor
Key Investigators
Project Description
Fast Delineation by Random Walker (FastDRaW) is a graph-based interactive segmentation approach implemented in Python.
This project aims at implementing a plugin in the SegmentEditor to perform FastDRaW in 3D Slicer.
Objective
- Learn how to use the SegmentEditor to develop plugins
- Integrate python-based code to Slicer
Approach and Plan
- Develop a toy example segmentation using the SegmentEditor
- Starts from the Grow from seeds plugin to adapt to FastDRaW
Progress and Next Steps
- Added FastDRaWEffect extension to the SegmentEditor
- Added merged python implementation of fastDRaW
- Get segmentation from numpy array and convert it to vtkImageData to display preview
- Add GUI to set parameters (beta parameter)
- Add GUI to select active label
TODO
- Currently, the segmentation does not update when a non-target label is beeing modified
- Updating the graph costs when the beta parameter is modified (building the graph is time consuming, maybe create a dedicated button to rebuild the graph when beta changes?)
- Clean code and group source files in single folder
- Learn how to make downladable extension
Illustrations
Background and References
- Source code: https://github.com/hgueziri/FastDRaW-Segmentation
- Documentation: FastDRaW paper
- Test data: