Difference between revisions of "Documentation:Nightly:Registration:RegistrationLibrary:RegLib C15"

From Slicer Wiki
Jump to: navigation, search
(Created page with 'Back to Registration Library <br> = Slicer Registration Library Case #15: Align brain MRI along anatomical AC-PC line …')
 
Line 27: Line 27:
  
 
== Procedure ==
 
== Procedure ==
#'''Create Fiducial Landmarks''': open the [[Documentation/Nightly/Modules/BRAINSFit|''General Registration (BRAINS)'' module]]
+
#'''Create Fiducial Landmarks''': open the [[Documentation/Nightly/Modules/Annotations|''Annotations'' module]]
##''Input Images: Fixed Image Volume'': MRI
+
##in a slice view, locate the anterior commissure (sagittal view recommended).
##'''Input Images: Moving Image Volume'': PET
+
##Click on the Fiducial placement button in the toolbar. This declares the next left mouseclick to be a fiducial selection.
##''Output Settings'':
+
##click (left mouse button) in the image to place the fiducial. You should see an annotation being placed at the location.
###''Slicer Linear Transform'' (create new transform, rename to: "Xf1_Affine")
+
##Locate the prosterior commissure and repeat fiducial placement above.
###''Output Image Volume'' (create new volume, rename to: "PET_Xf1" or similar. We need this for visualization only. You may leave this at None and just use the transform result.
+
##In the ''Fiducial'' module, make sure the two created landmarks are in the same hierarchy. Rename the hierarchy "AC-PC" or similar
##''Registration Phases'': select/check ''Rigid'' , ''Rigid+Scale'', ''Affine''
+
##Create a new fiducial hierarchy. Rename to "Midline"
##''Main Parameters'':  
+
##in the axial view, place 4-5 landmarks along the interhemispheral midline (same as above)
###increase ''Number Of Samples'' to 200,000
+
##n the ''Fiducial'' module, make sure the above created midline landmarks are all in the same '"Midline" hierarchy.
##Leave all other settings at default
+
##The "AC-PC" hierarchy should only contain 2 landmarks for AC and PC, respectively
##click: ''Apply''; runtime < 1 min.
+
##The "Midline" hierarchy should only contain 4 or more landmarks defining the interhemispheral midline
#'''Apply transform to PET:''' We have now computed the registration transform, but we still need to apply this transform to the PET image. The preferred way to do this is without resampling the image, i.e. by applying the linear transform to the spatieal orientation information in the image header. You can of course also create a resampled version, like the MRI_Xf1 output volume produced above.  
+
#Open the [[Documentation/Nightly/Modules/ACPCTransform|''ACPC Transform'' module]]
 +
##''ACPC Line'': select the fiducial list created above, named "AC-PC"
 +
##''Midline:"  select the fiducial list created above, named "Midline"
 +
##''Output transform'':  create new & rename: rename to "Xf1_ACPC" or similar
 +
##click: ''Apply''; runtime ~ 1 second.
 +
#'''Apply transform:''' We have now computed the registration transform, but we still need to apply this transform to the MRI image. The preferred way to do this is without resampling the image, i.e. by applying the linear transform to the spatial orientation information in the image header.
 
##Go to the [[Documentation/Nightly/Modules/Data|''Data'']] module  
 
##Go to the [[Documentation/Nightly/Modules/Data|''Data'']] module  
###Find the original PET image, labeled as "PET"
+
###Find the original image, labeled as "MRI"
###drag the "PET" node '''onto''' the transform node, labeled "Xf1_Affine". You should see a small + appear next to the transform node. When you click it you should see the "PET" image now residing inside the transform. If you have the PET image in one of the Slice views, it should show you now the aligned position of the PET image.
+
###drag the "MRI" node '''onto''' the transform node, labeled "Xf1_ACPC". You should see a small + appear next to the transform node. When you click it you should see the image now residing inside the transform. If you have the Slice views, it should show you now the aligned position of the MRI image.
###apply the transform: right click on the "PET" image and from the pop-up menu, select ''Harden Transform''. This will apply the transform '''without resampling''' and move it back to the main hierarchy level.  
+
###apply the transform: right click on the "MRI" image and from the pop-up menu, select ''Harden Transform''. This will apply the transform '''without resampling''' and move it back to the main hierarchy level.  
###double click on the PET node and rename it to something like "PET_registered" or "PET_XF1applied" 3etc. to document that this image has now a transform applied to it.
+
###double click on the PET node and rename it to something like "MRI_ACPCAligned" or similar, to document that this image has now a transform applied to it.
##Click on the Save icon and save the new "PET" image under a new name.
+
##Click on the Save icon and save the new image under a new name.
  
 
==Registration Results==
 
==Registration Results==

Revision as of 19:40, 1 July 2013

Home < Documentation:Nightly:Registration:RegistrationLibrary:RegLib C15

Back to Registration Library

Slicer Registration Library Case #15: Align brain MRI along anatomical AC-PC line

Input

this is the target orientation in which is AC-PC line is horizontal and the inter-hemispheral midline is vertical lleft this is the PET scan, to be aligned with the MRI
target POS
MRI
moving image
MRI

Modules used

Download (from NAMIC MIDAS)

Why 2 sets of files? The "input data" mrb includes only the unregistered data to try the method yourself from start to finish. The full dataset includes intermediate files and results (transforms, resampled images etc.). If you use the full dataset we recommend to choose different names for the images/results you create yourself to distinguish the old data from the new one you generated yourself.

Keywords

MRI, brain, head, AC-PC, landmark, registration

Video Screencasts

  1. Movie/screencast showing registration for Case #15, incl. selection of fiducial landmarks

Procedure

  1. Create Fiducial Landmarks: open the Annotations module
    1. in a slice view, locate the anterior commissure (sagittal view recommended).
    2. Click on the Fiducial placement button in the toolbar. This declares the next left mouseclick to be a fiducial selection.
    3. click (left mouse button) in the image to place the fiducial. You should see an annotation being placed at the location.
    4. Locate the prosterior commissure and repeat fiducial placement above.
    5. In the Fiducial module, make sure the two created landmarks are in the same hierarchy. Rename the hierarchy "AC-PC" or similar
    6. Create a new fiducial hierarchy. Rename to "Midline"
    7. in the axial view, place 4-5 landmarks along the interhemispheral midline (same as above)
    8. n the Fiducial module, make sure the above created midline landmarks are all in the same '"Midline" hierarchy.
    9. The "AC-PC" hierarchy should only contain 2 landmarks for AC and PC, respectively
    10. The "Midline" hierarchy should only contain 4 or more landmarks defining the interhemispheral midline
  2. Open the ACPC Transform module
    1. ACPC Line: select the fiducial list created above, named "AC-PC"
    2. Midline:" select the fiducial list created above, named "Midline"
    3. Output transform: create new & rename: rename to "Xf1_ACPC" or similar
    4. click: Apply; runtime ~ 1 second.
  3. Apply transform: We have now computed the registration transform, but we still need to apply this transform to the MRI image. The preferred way to do this is without resampling the image, i.e. by applying the linear transform to the spatial orientation information in the image header.
    1. Go to the Data module
      1. Find the original image, labeled as "MRI"
      2. drag the "MRI" node onto the transform node, labeled "Xf1_ACPC". You should see a small + appear next to the transform node. When you click it you should see the image now residing inside the transform. If you have the Slice views, it should show you now the aligned position of the MRI image.
      3. apply the transform: right click on the "MRI" image and from the pop-up menu, select Harden Transform. This will apply the transform without resampling and move it back to the main hierarchy level.
      4. double click on the PET node and rename it to something like "MRI_ACPCAligned" or similar, to document that this image has now a transform applied to it.
    2. Click on the Save icon and save the new image under a new name.

Registration Results

RegLib C14 unregistered.png MRI and PET before registration (click to enlarge)
RegLib C14 registered.gif MRI and PET after registration (click to enlarge)


Acknowledgments