Difference between revisions of "Documentation:Nightly:Registration:RegistrationLibrary:RegLib C01"
From Slicer Wiki
(Created page with 'Back to Registration Library <br> = Slicer Registration Library Case #1: Follow-up MRI of Brain Tumor = == Input == {|…') |
|||
Line 25: | Line 25: | ||
== Video Screencasts == | == Video Screencasts == | ||
− | #[[Media:RegLib_C01_Rigid+ | + | #[[Media:RegLib_C01_BuildingAMask.mov|Movie/screencast showing generating a registration mask to exclude the tumor]] |
+ | #[[Media:RegLib_C01_Rigid+MaskedAffine.mov|Movie/screencast showing rigid and affine registration]] | ||
== Procedure == | == Procedure == | ||
Line 39: | Line 40: | ||
##Leave all other settings at default | ##Leave all other settings at default | ||
##click: ''Apply''; runtime < 10 sec | ##click: ''Apply''; runtime < 10 sec | ||
+ | #'''Building Registration Masks:''' We have now generate two masks that exclude the tumor region from contributing to the registration. | ||
+ | ##open the [[Documentation/Nightly/Modules/Editor|''Editor'' module]] | ||
+ | ##As Master Volume, select the MR_1_baseline image | ||
+ | ##click on the threshold tool and lower the threshold until the entire volume is selected (about a threshold of 5). Then click ''Apply''. | ||
+ | ##select the ''Brush'' tool. Increase the radius so that the brush completely covers the tumor (about 18mm). | ||
+ | ##set the paint color to 0 (background). | ||
+ | ##place the brush on an axial slice over the tumor. Use a left click to paint and the arrow keys to switch to the next slice. Repeat for all slices showing the tumor. | ||
+ | ##save the mask as "MR_1_baseline_mask.nrrd" | ||
+ | ##Now we generate a mask for MR_2. We can repeat the above or we can generate a mask by sending the first one through the rigid transform we already computed. We need two masks, because the two images do not have the same resolution and FOV. | ||
+ | ##Go to the [[Documentation/Nightly/Modules/BRAINSResample|''BRAINSResample'' module]] | ||
+ | ## | ||
#'''Affine registration:''' We have now increase the DOF to 12 in the form of an affine transform that also corrects scale and allows shear. | #'''Affine registration:''' We have now increase the DOF to 12 in the form of an affine transform that also corrects scale and allows shear. | ||
==Registration Results== | ==Registration Results== |
Revision as of 20:10, 19 August 2013
Home < Documentation:Nightly:Registration:RegistrationLibrary:RegLib C01Contents
Slicer Registration Library Case #1: Follow-up MRI of Brain Tumor
Input
fixed image | moving image |
Objective / Background
Goal is to align the follow-up image with the reference/baseline scan to assess changes.
Modules used
Download (from NAMIC MIDAS)
Keywords
MRI, brain, head, intra-subject, meningioma
Video Screencasts
- Movie/screencast showing generating a registration mask to exclude the tumor
- Movie/screencast showing rigid and affine registration
Procedure
- Rigid Registration: open the General Registration (BRAINS) module
- Input Images: Fixed Image Volume: MRMeningioma_1
- 'Input Images: Moving Image Volume: MRMeningioma_2
- Output Settings:
- Slicer Linear Transform (create new transform, rename to: "Xf1_Rigid")
- Output Image Volume none
- Registration Phases: select/check Rigid
- Initialization Phases: none
- Main Parameters:
- Leave all other settings at default
- click: Apply; runtime < 10 sec
- Building Registration Masks: We have now generate two masks that exclude the tumor region from contributing to the registration.
- open the Editor module
- As Master Volume, select the MR_1_baseline image
- click on the threshold tool and lower the threshold until the entire volume is selected (about a threshold of 5). Then click Apply.
- select the Brush tool. Increase the radius so that the brush completely covers the tumor (about 18mm).
- set the paint color to 0 (background).
- place the brush on an axial slice over the tumor. Use a left click to paint and the arrow keys to switch to the next slice. Repeat for all slices showing the tumor.
- save the mask as "MR_1_baseline_mask.nrrd"
- Now we generate a mask for MR_2. We can repeat the above or we can generate a mask by sending the first one through the rigid transform we already computed. We need two masks, because the two images do not have the same resolution and FOV.
- Go to the BRAINSResample module
- Affine registration: We have now increase the DOF to 12 in the form of an affine transform that also corrects scale and allows shear.
Registration Results
baseline and follow-up before registration (click to enlarge) | |
300px | after rigid alignment. Note the residual shape differences (click to enlarge) |
after affine registration (click to enlarge) |
Discussion: Key Strategies
- The affine registration seeks to address residual distortions that are typical for longitudinal MRI. However to prevent the tumor (and putative tumor change) from affecting the registration, we mask out the tumor so that it does not contribute to the registration. The assumption is thus that aside from the tumor we expect the two serial scans to be matching exactly, i.e. any differences in size or shape is considered an artifact we wish to remove by registration.