2014 Summer Project Week:DIR stop and restart

From NAMIC Wiki
Jump to: navigation, search
Home < 2014 Summer Project Week:DIR stop and restart

Key Investigators

  • Paolo Zaffino, MGH / University Magna Graecia of Catanzaro
  • Greg Sharp, MGH

Project Description

Objective

Make possible to start, stop and restart a deformable registration executed by plastimatch, while sending the intermediate results to 3D Slicer.

Approach, Plan

The following tasks need to be accomplished

  1. Formalize parameter language for specifying stop and resume stages in plastimatch parameter string
  2. Move landmarks parameters from "Global" to "Shared" section
  3. Create a "finalization" routine for writing output files and other cleanup after the end of the last stage
  4. Add functionality to create new stages and add them in the middle of the pipeline
  5. Add functions for Python wrapper to query current xform and pass to 3D Slicer

Example:

[STAGE]
its=100
interactive=true
res=4 4 4
[STAGE]
its=10
[STAGE]
resume=true
[STAGE]
resume=true
...
[STAGE]
resume=true
res=1 1 1   // current stage ended, replaced with new stage
...
[STAGE]
finalize=true   // we are done

Progress