Engineering:ITK Grid Pipeline

From NAMIC Wiki
Revision as of 13:31, 18 December 2006 by Andy (talk | contribs) (Update from Wiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Engineering:ITK Grid Pipeline

Sample Executable

This tar file includes the following:

  • go :
    • a simple shell script that runs the registration
    • look at it to see the syntax for other data
  • mrt.img, mrt.nhdr, reg.img, reg.nhdr :
    • sample data
  • MultiModalityRigidRegistration :
    • a statically linked linux x86 executable of this code from the NA-MIC svn Sandbox here.
  • xformIN
    • an initial set of parameters


The executable is compiled to accept 3D volume datasets (in any of the formats ITK accepts) and write out nrrd format files.

NA-MIC structural MR data in nrrd format is here.

  • There are 188 data sets
  • An interesting test would be to select a random case as the reference (say, the first case) and register all 187 others to that reference case.
  • Note that there are many registration parameters embedded in the ITK executable and once we get the grid process in place, we'll want to optimize the parameters to work well on this data.

Pipeline Wrapping

  • Please make sure that you have the latest Pipeline (version 3.0) build, available at: [1]
  • Download the Pipeline module here: [2]
  • A presentation with detailed screenshots (on how to load, modify and execute the module) is available here:

Slideshow (with screenshots) for MultiModalityRigidRegistration.module

  • Please read the following instructions before attempting to run the module
  1. Make sure You are running Pipeline Version 3.0
  2. Download MultiModalityRigidRegistration.module
  3. Run Pipeline (follow instructions on the Wiki)
  4. Click on Workspace
  5. Click on Load
  6. Navigate through directories and load the module
  7. CHANGING THE URL for the EXECUTABLE
    1. Right-Click on Module (which says MultiModalityRigidRegistration)
    2. Choose 'Edit Function' from the right-clicked menu
    3. A modal dialog named "Edit function: MultiModalityRigidRegistration" will popup
    4. Click on the ellipsis found at the end of URL field
    5. Click on the enabled ellipsis, it allows you to browse and edit the URL value
    6. A popup with title "choose a file" opens up
    7. Click on ellipsis (at the end of PATH field) to browse
    8. The drop down menu will show "Pipeline v3 modules" by default, choose "All files" from the menu
    9. Now browse through directories and choose the file named "MultiModalityRigidRegistration"
  8. CHANGING THE INPUT DIRECTORY
    1. Click on Variables Tab
    2. Expand Input Directory Tab
    3. Click on the right column for row named "Value 1"
    4. When you click on the column, ellipsis at the end will be enabled
    5. Click on the enabled ellipsis, it allows you to browse and edit the value
    6. A popup with title "compose value" opens up
    7. Replace "/home/jrajendi/ProgrammersWeek/ItkGridPipeline/testdir/grid-reg/" with Input directory
      1. Eg: If your input directory is "/home/myinputdirectory" Then, Make sure the url says "pipeline://localhost//home/myinputdirectory"
  9. CHANGING THE OUTPUT DIRECTORY
    1. Click on Variables Tab
    2. Expand Input Directory Tab
    3. Click on the right column for row named "Value 1"
    4. When you click on the column, ellipsis at the end will be enabled
    5. Click on the enabled ellipsis, it allows you to browse and edit the value
    6. A popup with title "compose value" opens up
    7. Replace "/home/jrajendi/ProgrammersWeek/ItkGridPipeline/testdir/grid-reg/refinedmodule/" with the Output directory in which you want the .nrrd and xformOUT files to be generated.
      1. Eg: If your ouput directory is "/home/myouputdirectory" Then, Make sure the url says "pipeline://localhost//home/myoutputdirectory"
  10. Congratulations, you are now ready to run!
    1. Click on Execution
    2. Click on Run
  11. Runtime status
    1. The module status should read "child processes started"
  12. When the module completes, the status will change to "module completed cleanup"
  13. The module takes an estimated 60 minutes to complete and generate all output files.

Grid Job Launching

A full description of this project can be found on the Condor Project Page

Visualizing / Verifying the Results

This tar file contains the state of the directory after running the executable.

Application to Core 3 Biological Goals