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

From NAMIC Wiki
Jump to: navigation, search
Line 63: Line 63:
 
*Slicer 3.6.3 packages:
 
*Slicer 3.6.3 packages:
 
**'''[[Media:RegLib_C01_Data.zip‎|Image Data + solutions package  <small> (Data, Solution, zip file qqMB) </small>]]'''
 
**'''[[Media:RegLib_C01_Data.zip‎|Image Data + solutions package  <small> (Data, Solution, zip file qqMB) </small>]]'''
**'''[[Media:RegLib_C01_ScreenCast.mov|ScreenCast video <small> (Quicktime movie 14MB) </small>]]'''
+
**'''[[Media:RegLib_C01_BRAINSreg.mov|ScreenCast video: ''General BRAINS registration <small> (Quicktime movie 3min, 20MB) </small>]]'''
**[[Media:RegLib_C01_Presets.mrml|download registration & display parameter presets file  <small> (MRML file, use "Import Scene.." to load) </small>]]
+
**'''[[Media:RegLib_C01_AffineReg.mov|ScreenCast video: ''Affine registration <small> (Quicktime movie 1.5min, 10MB) </small>]]'''
:::[[Projects:RegistrationDocumentation:ParameterPresetsTutorial|Link to User Guide: How to Load/Save Registration Parameter Presets]]
+
**'''[[Media:RegLib_C01_ExpertAutoReg.mov|ScreenCast video: ''Expert Automated registration <small> (Quicktime movie 2min, 13MB) </small>]]'''
*Slicer 3.4 packages:
 
**[[Media:RegLib_Case_01_TumorGrowth.zip‎|download entire package  <small> (Data,Presets,Tutorial, Solution, zip file 33.7 MB) </small>]]
 
**[[Media:RegLib_Case_01_TumorGrowth.zip‎|download entire package  <small> (Data,Presets,Tutorial, Solution, zip file 33.7 MB) </small>]]
 
**[[Media:RegPreset_RegUC-001.txt|download registration parameter presets file  <small> (MRML file, import as scene) </small>]]
 
**[[Media:RegLib_C01_Data_TumorGrowth.zip|download image dataset only  <small>(NRRD, 10.7 MB, filename: RegLib_C01_Data_TumorGrowth.zip) </small>]]
 
**[[Media:RegLib_Case_01_NRRD_TumorGrowth.zip|download image dataset only  <small>(NRRD, 10.7 MB, filename: RegLib_Case_01_NRRD_TumorGrowth.zip) </small> ]]
 
**[[Media:RegLib_C01_DataNIFTI_TumorGrowth.zip|download image dataset in NIFTI format <small>(NIFTI / nii, 10.7 MB, filename: RegLib_C01_DataNIFTI_TumorGrowth.zip) </small> ]]
 
**[[Media:RegXForm_RegUC-001.tfm.txt|result transform file <small>(ITK .tfm file, load into slicer and apply to the target volume)</small>]]
 
**Tutorials (step-by -step walk through):
 
***[[Media:RegLib_C01_PPTTutorial_TumorGrowth.ppt.zip‎|download power point tutorial <small>(zip file, 2.8 MB, filename: RegLib_C01_PPTTutorial_TumorGrowth.ppt.zip) </small>]]
 
**[[Media:RegLib_C01_TumorGrowth_MultiresSolution_Dec09.zip‎|Multiresolution testresult package  <small> (Data,Xform, Solution, zip file 16.5 MB) </small>]]
 
**[http://www.insight-journal.org/midas/item/bitstream/2332 Download package from MIDAS server<small> (Data,Xform) </small>]
 
 
 
[[Projects:RegistrationDocumentation:ParameterPresetsTutorial|Link to User Guide: How to Load/Save Registration Parameter Presets]]
 
  
 
<!--
 
<!--

Revision as of 17:00, 2 June 2012

Home < Projects:RegistrationLibrary:RegLib C01

Back to ARRA main page
Back to Registration main page
Back to Registration Case Library

updated for v4.1 Slicer4 RegLibLogo.png Slicer Registration Library Case #01:
Intra-subject Brain MRI: axial T1 Tumor Growth Assessment

Input

this is the fixed reference image. All images are aligned into this space lleft this is the moving image. The transform is calculated by matching this to the reference image
fixed image/target moving image

Versions

For the Slicer 3.6 version of this tutorial see here


Slicer 4.1 recommended Modules

Objective / Background

This is a classic case of change assessment. We want to know if the tumor changed since last exam.

Keywords

MRI, brain, head, intra-subject, T1, tumor growth, meningioma, change assessment

Input Data

  • reference/fixed : T1 SPGR , 0.9375 x 0.9375 x 1.4 mm voxel size, axial, RAS orientation.
  • moving: T1 SPGR , 0.9375 x 0.9375 x 1.2 mm voxel size, sagittal, RAS orientation.

Procedure

  1. open the General Registration (BRAINS) module
    1. Fixed Image Volume: MRMeningioma_1
    2. Moving Image Volume: MRMeningioma_2
    3. Output Settings:
      1. Slicer BSpline Transform": none
      2. Slicer Linear Transform: create new transform, rename to "MRMeningioma_2_Xf1"
      3. Output Image Volume: create new volume, rename to "MRI_Xf1" (we use this for ease of validation only)
    4. Registration Phases: check boxes for Rigid and Affine
    5. Main Parameters
      1. Number of Samples: 200,000
    6. click: Apply; runtime < 1 min (MacPro QuadCore 2.4GHz)
  2. this will generate 1) the alignment transform , 2) a resampled volume
  3. note that the Slicer4.1 version of BRAINS registration does not automatically place the moving volume inside the result transform, as it did for Slicer 3.6. In order to see the result, you must either go to the Data module and drag the moving volume inside the transform node, or select to generate a resampled Output Volume, as done above. The demo movie you can download here shows how to do this.

Registration Results

Fast Affine registration result
after orientation
before/after registration, indiv. images in red/cyan, match in gray
Fast Affine registration result ExpertAutomatedRegistration registration result before/after registration with ExpertAutomatedRegistration module

Download


Discussion: Registration Challenges

  • accuracy is the critical criterion here. We need the registration error (residual misalignment) to be smaller than the change we want to measure/detect. Agreement on what constitutes good alignment can therefore vary greatly.
  • the two images have strong differences in coil inhomogeneity. This affects less the registration quality but hampers evaluation. Most of the difference does not become apparent until after registration in direct juxtaposition. Bias field correction beforehand is recommended.
  • we have slightly different voxel sizes
  • if the pathology change is substantial it might affect the registration.

Discussion: Key Strategies

  • the two images have identical contrast, hence we consider "sharper" cost functions, such as NormCorr or MeanSqrd
  • general practice is to register the follow-up to the baseline. However here the follow-up has slightly higher resolution. From an image quality/data perspective it would be better to use the highest resolution image as your fixed/reference. But here follow the most common convention, i.e. fixed image is the baseline.
  • because we seek to assess/quantify regional size change, we must use a rigid (6DOF) scheme, i.e. we must exclude scaling.
  • if the pathology change is soo large that it might affect the registration, we should mask it out. The simplest way to do this is to build a box ROI from the ROItool and feed it as input to the registration. Remember that masking does not mean that masked areas aren't matched, they just do not contribute to the cost function driving the registration, but move along passively. Next more involved level would be to outline the tumor. If a segmentation is available, you can use that.
  • these two images are not too far apart initially, so we reduce the default of expected translational misalignment
  • because accuracy is more important than speed here, we increase the sampling rate from the default 2% to 15%.
  • we also expect minimal differences in scale & distortion: so we can either set the expected values to 0 or run a rigid registration
  • we test the result in areas with good anatomical detail and contrast, far away from the pathology. With rigid body motion a local measure of registration accuracy is representative and can give us a valid limit of detectable change.