Edit this page

NA-MIC Project Weeks

Back to Projects List

SlicerAdaptiveBrush - Adaptive Brush Segment Editor Effect

Key Investigators

Project Description

SlicerAdaptiveBrush is a segment editor effect extension for 3D Slicer that provides an adaptive brush tool for semi-automatic segmentation. The brush automatically segments regions based on image intensity similarity within the brush area, adapting to image features (edges, boundaries) rather than using a fixed geometric shape.

Objective

  1. Submit to Extension Index
  2. Improve documentation and tutorials
  3. Optimize performance for real-time interaction
  4. Add GPU acceleration for Level Set algorithm

Approach and Plan

1. Submit to Extension Index

2. Improve documentation

3. Optimize performance

4. GPU acceleration

Progress and Next Steps

Completed

  1. Extension Index Submission (In Progress)
    • CI/CD pipeline with GitHub Actions for automated builds
    • Extension not yet in the Slicer Extension Index
  2. Documentation
  3. Performance Optimization
    • Implemented PerformanceCache with gradient and threshold caching
    • Undo/redo integration with single save per stroke
    • Cache statistics and hit rate logging
  4. GPU Acceleration
    • Backend selector UI prepared (Auto/CPU/GPU)
    • GPU implementation deferred to v2.0+

Next Steps

Illustrations

Selecting Adaptive Brush effect

Selecting the Adaptive Brush effect in Segment Editor

Painting with Adaptive Brush

Painting a brain tumor segmentation - the brush adapts to image boundaries

3D visualization of segmentation

3D surface rendering of the segmented tumor

Background and References

Code repository: https://github.com/benzwick/SlicerAdaptiveBrush

Documentation: https://benzwick.github.io/SlicerAdaptiveBrush/

Features

References