Difference between revisions of "Projects:RegistrationLibrary:RegLib C46"

From NAMIC Wiki
Jump to: navigation, search
Line 9: Line 9:
 
|[[Image:RegLib_C46_Thumb1.png|150px|lleft|this is the fixed reference image. All images are aligned into this space]]  
 
|[[Image:RegLib_C46_Thumb1.png|150px|lleft|this is the fixed reference image. All images are aligned into this space]]  
 
|[[Image:RegArrow_NonRigid.png|100px|lleft]]  
 
|[[Image:RegArrow_NonRigid.png|100px|lleft]]  
|[[Image:RegLib_C46_Thumb2.png|150px|lleft|this is the time series of 2D images to be registered with the reference]]
+
|[[Image:RegLib_C46_Thumb2.gif|150px|lleft|this is the time series of 2D images to be registered with the reference]]
 
|-
 
|-
 
|fixed image/target
 
|fixed image/target
Line 64: Line 64:
 
[[Image:RegLib_C46_Thumb2.png|400px|lleft|moving input]]
 
[[Image:RegLib_C46_Thumb2.png|400px|lleft|moving input]]
 
[[Image:RegLib_C46_Displacements.pdf‎|400px|lleft|displacements]]
 
[[Image:RegLib_C46_Displacements.pdf‎|400px|lleft|displacements]]
 
  
 
===Download ===
 
===Download ===
 
*Data
 
*Data
**[[Media:RegLib_C33_Data.zip‎ ‎|'''RegLib_C33_Data''' DWI, DTI, T1, FLAIR, Presets & solution transforms <small> (NRRD files, zip file 174 MB) </small>]]'''
+
**[[Media:RegLib_C46_Data.zip‎ ‎|'''RegLib_C46_Data''' DICOM 2D series <small> (DICOM files, zip file 18 MB) </small>]]'''  
**[[Media:RegLib_C33_Data_noDWI.zip‎ ‎|'''RegLib_C33_Data_noDWI''' subset of the above, contains DTI but w/o DWI and resampled DTI <small> (NRRD files, zip file 86 MB) </small>]]'''  
 
**[[Media:RegLib_C33_Data_Xforms.zip‎ ‎|'''RegLib_C33_Data Transforms & Presets only''' contains only result transforms and parameter presets <small> (NRRD files, zip file 30 kB) </small>]]'''
 
*Presets
 
**[[Media:RegLib_C33_Presets.mrml‎|'''RegLib_C33_Presets''' Presets for FLAIR and DTI registration & DTI resampling <small> (.mrml file 12 kB) </small>]]'''
 
**[[Projects:RegistrationDocumentation:ParameterPresetsTutorial|Link to User Guide: How to Load/Save Registration Parameter Presets]]
 
 
 
=== Discussion: Registration Challenges ===
 
*The DTI contains acquisition-related distortions (commonly EPI acquisitions) that can make automated registration difficult.
 
  
=== Discussion: Key Strategies ===
 
  
 
=== Acknowledgments ===
 
=== Acknowledgments ===
This case is the same data as [http://central.xnat.org/app/action/DisplayItemAction/search_element/xnat%3AmrSessionData/search_field/xnat%3AmrSessionData.ID/search_value/CENTRAL_E00893/popup/false/project/IGT_FMRI_NEURO '''case 40''' ] from the fMRI neurosurgery data set on central.xnat.org
+
Thanks to Amir Owrangi and the [http://www.robarts.ca Robarts Institute] for sharing the registration problem and data.

Revision as of 22:13, 28 June 2011

Home < Projects:RegistrationLibrary:RegLib C46

Back to ARRA main page
Back to Registration main page
Back to Registration Use-case Inventory

v3.6.1 Slicer3-6Announcement-v1.png Slicer Registration Library Case #46: 2D Cine MRI of Breathing Cycle

Input

this is the fixed reference image. All images are aligned into this space lleft this is the time series of 2D images to be registered with the reference
fixed image/target moving image

Modules

Objective / Background

We seek to study the motion of the lung during a breathing cycle by co-registering all of the images in a sequence with a reference, and then extract the motion from the registration displacement field.

Keywords

MRI, lung, 2D, time-series, deformation

Input Data

  • reference/fixed : 2D coronal MRI 256x256
  • moving: 2D coronal time series, 200 images total, each 256x256

Overall Strategy

  1. select one frame within the breathing cycle as reference frame
  2. compute non-rigid BSpline registration of all images to the reference frame
  3. extract the displacements of indiv. grid nodes and plot over time

Procedures

  • Phase I: Pilot to determine optimal registration parameters
  1. load reference image and one moving image from the series
  2. open Registration : BrainsFit module
    1. Registration Phases:
    2. set "reference" fixed and "moving_??" as moving image
      1. select/check Include BSpline registration phase
    3. Output Settings:
      1. select a new transform "Slicer BSpline Transform", rename to "Xf1_moving_??"
      2. select a new volume "Output Image Volume, rename to "moving_??_Xf1"
    4. Registration Parameters: increase Number Of Samples to 200,000
    5. Registration Parameters: set Number Of Grid Subdivisions to 5,5,5
    6. Leave all other settings at default
    7. click: Apply; (runtime < 10 sec. on MacPro)
    8. adjust grid size until registration is acceptable
  • Phase II: Batch Run
  1. open a terminal window
    1. via a TextEditor or prototyping/scripting software (e.g. Matlab), copy and modify the prototype line below, by changing only the moving input image:
 /Applications/Slicer36/Slicer3 --launch  /Applications/Slicer36/lib/Slicer3/Plugins/BRAINSFit --useBSpline --splineGridSize 5,5,5 --outputVolumePixelType short /
 --numberOfSamples 200000 --costMetric MMI --fixedVolume Reference/refLung_001.dcm --movingVolume Moving/Moving_001/Moving_001.dcm /
 --bsplineTransform Xforms/Moving_001_XfBSpl5.tfm --outputVolume MovingResampled/Moving_001_r.nrrd >> Logs/Moving_001_RegLog.txt 2>&1
    1. replace "/Applications/Slicer36" with your path of 3DSlicer
    2. create result directories MovingResampled, Logs, Xforms
    3. note that because input image is DICOM, and images are 2D only, each image of the time series must be in its own directory, otherwise Slicer will read them as a volume.
    4. paste all commands into a terminal window, or copy into a shell script and execute.
    5. upon completion, read the transform files with an editor and extract the displacements of interest

Registration Results

moving input File:RegLib C46 Displacements.pdf

Download


Acknowledgments

Thanks to Amir Owrangi and the Robarts Institute for sharing the registration problem and data.