Preprocessing and Atlas Registration

This pipeline performs the registration of a template, and of its associated labels and probability maps, towards the target image.

Description

Pipeline steps

Figure 1. Registration pipeline.

  1. Prepare MRI: select anatomical landmarks to orient correctly the input volume.
  2. (Align & Resample): use landmarks to align the brain and resample it at a fixed resolution.
  3. VIP Bias Correction: non-statistical bias field estimation.
  4. Skull Stripping: compute a mask of the intracranial volume.
  5. Select Evaluation Points: select randomly a subset of points for the affine transform estimation.
  6. Atlas to MRI: Affine Transform Estimation
  7. Atlas to MRI: Non-Linear Transform Estimation
  8. Atlas to MRI: Apply Transforms

Landmarks selection

Before any computation is done, four anatomical landmarks should be manually selected:

Additional informations can be found in the MRI preparation documentation. This step is used to flip the MRI volume to BrainVISA's orientation.

Optional alignment and resampling

Two optional steps, set in the Alignment & Resampling block, can be activated:

Additional information and rational for the activation or not of these options can be found in the Alignement & Resampling documentation.

Registration

In order to make the process as robust as possible, several preprocessing steps are performed:

Parameters

input_mri: P:MRI Raw ( input )
Raw MRI
specie: OpenChoice ( optional, input )
contrast: OpenChoice ( optional, input )
is_mapping: Boolean ( optional, input )
Set to true if the input image is a parametric map (T1 mapping, T2 mapping, etc) instead of a magnitude T1 or T2 weighted image.
point_anterior_commissure: Point3D ( input )
Anterior commissure point. This should be AC's most posterior points that intersects the interhemispheric plane.
point_posterior_commissure: Point3D ( input )
Posterior commissure point. This should be PC's most anterior points that intersects the interhemispheric plane.
point_interhemispheric: Point3D ( input )
Any point from the interhemispheric plane located above (i.e. dorsal to) the AC-PC line.
point_left_hemisphere: Point3D ( optional, input )
Any point located in the left hemisphere. If the MRI is in radiological orientation, this point should be located, on the screen, at the right of the interhemispheric plane.
template: P:Atlas Raw Template ( input )
File containing the atlas template, i.e. the associated anatomical image (usually an averaged MR image).
labels: P:Atlas Raw Labels ( optional, input )
File containing the atlas "hard" labels.
prior: P:Atlas Raw Prior ( optional, input )
File containing the atlas probability maps.
lateralization: P:Atlas Raw Lateralization ( optional, input )
File containing the atlas lateralization mask, i.e. a volumes of labels were voxels from the right hemisphere are labeled 1 and voxels from the left hemisphere are labeled 2.
align_and_resample: Boolean ( optional, input )
If activated, AC-PC landmarks will be used to align the raw MRI. The raw MRI will also be resampled towards the atlas resolution.
resolution: Float ( optional, input )
Output resolution of the Raw MRI. It will be resampled if different from the input resolution.
output_labels: P:Atlas Registered Labels ( optional, output )
File containing the labels resampled in the target space.
output_prior: P:Atlas Registered Prior ( optional, output )
File containing the probability maps resampled in the target space.
output_lateralization: P:Atlas Registered Lateralization ( optional, output )
File containing the lateralization mask resampled in the target space.

Technical information

Toolbox : Primatologist

User level : 0

Identifier : primate_AtlasRegistrationPipeline

File name : brainvisa/toolboxes/primatologist/processes/pipelines/primate_AtlasRegistrationPipeline.py

Supported file formats :

input_mri :
gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
template :
gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
labels :
gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
prior :
gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
lateralization :
gz compressed NIFTI-1 image, Aperio svs, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, FreesurferMGH, FreesurferMGZ, GIF image, GIS image, Hamamatsu ndpi, Hamamatsu vms, Hamamatsu vmu, JPEG image, Leica scn, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, Sakura svslide, TIFF image, TIFF image, TIFF(.tif) image, TIFF(.tif) image, VIDA image, Ventana bif, XBM image, XPM image, Zeiss czi, gz compressed MINC image, gz compressed NIFTI-1 image
output_labels :
gz compressed NIFTI-1 image, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, GIF image, GIS image, JPEG image, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, TIFF image, TIFF(.tif) image, VIDA image, XBM image, XPM image, gz compressed MINC image, gz compressed NIFTI-1 image
output_prior :
gz compressed NIFTI-1 image, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, GIF image, GIS image, JPEG image, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, TIFF image, TIFF(.tif) image, VIDA image, XBM image, XPM image, gz compressed MINC image, gz compressed NIFTI-1 image
output_lateralization :
gz compressed NIFTI-1 image, BMP image, DICOM image, Directory, ECAT i image, ECAT v image, FDF image, GIF image, GIS image, JPEG image, MINC image, NIFTI-1 image, PBM image, PGM image, PNG image, PPM image, SPM image, TIFF image, TIFF(.tif) image, VIDA image, XBM image, XPM image, gz compressed MINC image, gz compressed NIFTI-1 image