Difference between revisions of "2010 Winter Project Week ProstateSeg"

From NAMIC Wiki
Jump to: navigation, search
Line 84: Line 84:
 
*Slicer module for segmentation:
 
*Slicer module for segmentation:
 
**what is the min/max value for segmentation threshold? (0..2)? => Yi
 
**what is the min/max value for segmentation threshold? (0..2)? => Yi
**How to add model files to the extension package? => Katie
+
**How to add model files to the extension package? => ask Katie
**How to use the boost library? => Katie
+
**How to use the boost library? (if cannot be used, then just add the used boost files to the package) => ask Katie
 +
**Fix output image spacing, origin, orientation
 +
**Dynamically set path to shape model

Revision as of 13:49, 7 January 2010

Home < 2010 Winter Project Week ProstateSeg


Key Investigators

  • Andras Lasso, Gabor Fichtinger (Queen's University)
  • Yi Gao, Allen Tannenbaum (Georgia Tech)
  • Andriy Fedorov (BWH)

Objective

Implement a Slicer module from the shape-based prostate segmentation algorithm developed by Yi Gao et al.

Approach, Plan

Implement as a command-line module that can be downloaded and installed as a Slicer extension. Add automatic testing.

Progress

The algorithm can be compiled using CMake on both linux and windows, test data are available.

References

  • Yi Gao, Romeil Sandhu, Gabor Fichtinger, Allen Tannenbaum, A Coupled Global Registration and Segmentation Framework with Application to the Magnetic Resonance Prostate Imagery, IEEE Trans Med Imaging (in review)


Notes

Training

  • each directory contains an executable together with a bash script
  • Registration
    • alignTrainingShapes.bash (execution time is about 30min) (AF: with the default value of 50000 points, execution time is few (>3?) hours)
      • make isotropic (z direction)
      • register
        • ShapeBased\_reg\src\imageRegByPointSet\c\affine\ => 1 executable
          • pairwise image registration (there are many supporting files in ShapeBased\_reg\src; the result is one executable)
          • input: two images from ShapeBased\_reg\trainingShapes
          • output: transformed moving image in uchar nrrd image format
      • make anisotropic (maybe this step could be skipped, to have an atlas with isotropic images)
      • results are copied to ShapeBased\_reg\alignTrainingShapes
    • alignTrainingShapesNonIso.bash: faster but not that accurate
  • Convert from binary to level set
    • ShapeBased\_reg\alignTrainingShapes\toSFLS\ => 1 executable + 1 script (toSFLS.bash)
      • Input: nrrd binary image
      • Output: level set description
    • For each binary image a level set image is generated and saved to ShapeBased\_reg\alignTrainingShapes\toSFLS
  • Learning using PCA
    • ProstateSeg\ShapeBased\_reg\alignTrainingShapes\toSFLS\learn => 1 executable
      • Input: shapeList.txt list of all level set files
      • Output: mean shape and i-th eigen shape (multiplied by the eigen value),
    • Execution time is about 1 minute, repeated for each eigen shape
  • Images are flipped, but the images to be segmented (or the training shapes) could be flipped instead.

Segmentation

  • ProstateSeg\ShapeBased\bin\wholeSeg => 1 executable (wholeseg)
    • Input: image to be segmented, and two points (at the left and right side of the prostate, on a center axial slice in IJK space)
    • Output: ?

To do

  • Send intermediate training data (to test the training steps) => Yi
  • What does "douher" mean? =? Yi
  • Test Linux compilation => Andriy
  • Test Windows compilation => Andras
  • Slicer module for segmentation:
    • what is the min/max value for segmentation threshold? (0..2)? => Yi
    • How to add model files to the extension package? => ask Katie
    • How to use the boost library? (if cannot be used, then just add the used boost files to the package) => ask Katie
    • Fix output image spacing, origin, orientation
    • Dynamically set path to shape model