Documentation:Nightly:Registration:RegistrationLibrary:RegLib C15

From Slicer Wiki
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < Documentation:Nightly:Registration:RegistrationLibrary:RegLib C15

Back to Registration Library

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


this is the target orientation in which is AC-PC line is horizontal and the inter-hemispheral midline is vertical lleft this is the MRI image in the original position.
target POS
moving image


This example shows the use of the AC-PC alignment volume. Aligning a brain image along the anterior- (AC) posterior commissure is a standard procedure in many analyses.
Approach: we create two sets of Annotations containing fiducial points that define the inter-hemispheral midline and the anterior and posterior commissure, respectively. This is then used as input to the ACPC module.

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.


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

Video Screencasts

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


  1. Create Fiducial Landmarks: open the Annotations module. We will create 2 annotation lists, one containing the anterior and posterior commissure, and one containing midline points.
    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. Calculate the transform: 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 the 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 MRI 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 C15 registered.gif MRI and PET after registration (click to enlarge)