Projects:RegistrationLibrary:RegLib C06

From NAMIC Wiki
Jump to: navigation, search
Home < Projects:RegistrationLibrary:RegLib C06

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

updated for v4.1 Slicer4 RegLibLogo.png Registration Library Case #6: Breast MRI Treatment Assessment

this is the fixed reference image. All images are aligned into this space lleft this is the DTI Baseline scan, to be registered with the T2
fixed image/target
pre Rx MRI
moving image
post Rx MRI

Versions

For the Slicer 3.6 version of this tutorial see here

Slicer 4.1 Modules used

Objective / Background

We seek to align the post-treatment (PostRx) scan with the pre-treatment scan to compare local effects (left side only).

Keywords

MRI, breast cancer, intra-subject, treatment assessment, change detection, non-rigid registration

Download

Input Data

  • reference/fixed : 0.44 x 0.44 x 5 mm , 784 x 784 x 30
  • moving: 0.68 x 0.68 x 1.5 mm, 515 x 515 x 93


Methods

  • Phase 1: Extract left breast image of PreRx and PostRx scan
  1. Open the Crop Volume module
    1. Input volume: "PreRx"
    2. Input ROI: "Create new annotation ROI"
    3. ROI visibilité: turn on
    4. Isotropic output voxel: yes (checkbox)
    5. Interpolator: "WindowedSinc" (radio button)
    6. place/drag the color markers visible in the slice views to enclose the left breast only (right side of image)
    7. click on Crop! button
  2. go to the Data module
    1. several new nodes were created: look for the "PreRx_subvolume-scale_1" entry, double click and rename to "PreRx_Left"
  3. repeat the same for the "PostRx" image
  4. Save intermediate results.
  • Phase 2: MRI Bias field inhomogeneity correction
  1. Open the N4ITKBiasFieldCorrection module
    1. Input Image: PreRx_left
    2. Mask Image: none
    3. Output Volume: create & rename new: "PreRx_left_n4"
    4. leave all parameters at defaults
    5. Apply.
  2. repeat for the Post_Rx image.
  3. save intermediate results
  • Phase 3: Build masks
  1. open the Foregroud masking (BRAINS) module (under Segmentation:Specialized)
    1. Input Image Volume: PreRx_left
    2. Output Mask: create & rename new: "PreRx_mask"
    3. Output Image clipped by ROI: none
    4. Configuration Parameters:
      1. ROI Auto Dilate Size: 0.1
      2. defaults for the rest
    5. Apply
  2. repeat for Post_Rx_left_n4
  3. save intermediate results
  4. we need to exclude the tumor from the mask, to prevent the registration from trying to match that region. Much should already be excluded from the above segmentation, but it may be necessary to apply some manual edits:
  5. Go to the Editor module
    1. Click Apply on the popup do confirm colormap selection (choice does not matter)
    2. Master Volume: PreRx_left
    3. Merge Volume: PreRx_mask (generated above)
    4. click on the Brush Icon ("PaintEffect")
    5. Label: 0 (black)
    6. increase radius to ~ 10-15 mm.
    7. navigate to an axial slice showing the tumor
    8. click & drag left mouse to apply, then use arrow keys to move to the next slice.
  6. repeat for Post_Rx_mask
  7. save intermediate results
  • Phase 4: Affine pre-Registration
  1. open the General Registration (BRAINS) module
    1. Fixed Image Volume: PreRx_left_n4
    2. Moving Image Volume: PostRx_left_n4
    3. Output Settings:
      1. Slicer BSpline Transform": none
      2. Slicer Linear Transform: create & rename new transform, rename to "Xf1_Affine"
      3. Output Image Volume: none
    4. Registration Phases: check boxes for Rigid , Rigid+Scale and Affine
    5. Main Parameters:
      1. Number Of Samples: 200,000
    6. Leave all other settings at default
    7. Apply
    8. this should generate a first alignment. 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. See demo movie you can download above on how to do this.
  • Phase 5: Nonrigid final registration
  1. open the General Registration (BRAINS) module
    1. Fixed Image Volume: PreRx_left_n4
    2. Moving Image Volume: PostRx_left_n4
    3. Output Settings:
      1. Slicer BSpline Transform": create & rename new transform, rename to "Xf2_BSpline"
      2. Slicer Linear Transform: none
      3. Output Image Volume: create & rename new transform, rename to "PostRx_left_Xf2"
    4. Registration Phases: uncheck rigid & affine boxes, check box for BSpline only
    5. Main Parameters:
      1. Number Of Samples: 300,000
      2. B-Spline Grid Size: 7,7,5
    6. Mask Option: select ROI button
      1. ROI Masking input fixed: select "PreRx_mask" generated in Phase 3 above
      2. ROI Masking input moving: select "PostRx_mask" generated in Phase 3 above
    7. Leave all other settings at default
    8. click: Apply

Registration Results

unregistered unregistered affine registered after affine registration Bspline registered after nonrigid (BSpline) registration


Discussion: Registration Challenges

  • soft tissue deformations during image acquisition cause large differences in appearance
  • the large tumor recession represents a significant pre/post difference in image content that will influence unmasked intensity-driven registration, which becomes a problem for the non-rigid portion of registration, particularly at higher DOF, because the registration will try to "recreate" the tumor area from the postRx image in order to match the content.
  • contrast enhancement and pathology and treatment changes cause additional differences in image content
  • the surface coils used cause strong differences in intensity inhomogeneity.
  • we have strongly anisotropic voxel sizes with much less through-plane resolution
  • resolution and FOV change between the two scans

Discussion: Key Strategies

  • because of the strong changes in shape and position, we break the problem down and register each breast separately.
  • a bias-field correction on both images is necessary before registration
  • to get better control over the process, we separate affine prior from final nonrigid alignment. The result of the affine registration is used as initialization for the nonrigid portion
  • masking the tumor area is critical for a feasible solution, i.e. the tumor area in both scans should not participate actively in the registration, i.e. we create a mask that includes everything except the tumor area