Lead-DBS User Guide
  • Introduction
  • How to contribute to Lead-DBS
  • Installation
  • Lead-DBS
    • Overview
    • Self-Tutoring with Lead-Tutor
    • 1. Load Patient Folder
      • Importing a classic Lead-DBS dataset to BIDS version
    • 2. Image Import
      • Converting NIfTI-images into BIDS
      • Converting DICOM files into BIDS
    • 3. Volume Registrations
      • Coregister Volumes
      • Normalizing the Images
      • Brainshift Correction
      • Checking the Coregistration and Normalization
    • 4. (optional) Surface Reconstruction
    • 5. (optional) Reconstruction of Electrode Trajectories
      • Orientation of Directional Leads
        • Prerequisites
        • Automatic Algorithm
        • Possible Problems with the Automatic Algorithm
        • User-Assisted Algorithm (Manual Refine)
      • TRAC/CORE Details
      • Manual Reconstruction
      • Reconstruction File
    • 6. (optional) Perform Connectivity Analysis
    • 7. Visualization
      • MER Analysis
    • Reconstruction Statistics
  • Lead-Group
    • Group analyses with Lead-DBS
    • Setup Analysis
    • General Settings
    • Group Visualization
    • Calculate VTA and Stats
    • Sweetspot Explorer
  • Connectomics
    • Connectomics
      • Diffusion MRI: Patient Specific Processing
      • fMRI-Analysis: Patient Specific Processing
      • Using Normative Connectomes
      • Network Mapping Explorer
      • Fiber Filtering Explorer
    • Lead Connectome Mapper
  • Lead-OR
    • Imaging setup
    • Electrophysiology setup
    • Using the platform
  • Appendix
    • Code Backbone
    • Acquiring and Installing Atlases
      • Customizing Atlas Visualization
    • Troubleshooting / Specific Help
      • Adding Fortran dependencies for VTA modeling
      • VTA Calculation Troubleshoot
    • Command line interface
      • Command line options
    • Matlab scripting examples
      • Installing an atlas from an online repository
      • Warping a normative connectome to native subject space
    • Using Slicer
      • Sweet-sour spot
Powered by GitBook
On this page
  • Built-in normalization protocols
  • How to
  1. Lead-DBS
  2. 3. Volume Registrations

Normalizing the Images

PreviousCoregister VolumesNextBrainshift Correction

Last updated 1 year ago

Context

  • For DARTEL, a DARTEL template was generated based on the ICBM 152 2009c series and is supplied within Lead-DBS (dartel/dartelmni_*.nii). The New Segment algorithm uses the enhanced tissue probability map by Lorio et al. (TPM_Lorio_Draganski.nii file located under lead_dbs/templates/.

  • During normalization, native patient images are transformed to MNI space non-linearly, allowing the deformation of different brain regions in different ways. After coregistration, both images (pre-and post-operative) are in the same space, and we can use the transformation matrix gained by normalizing our pre-operative image. Then we apply it to our post-operative image (or rather, the electrodes in the post-operative image). That way, the electrodes are localized within the MNI space, and we can assess their spatial relationship to their respective targets.

Built-in normalization protocols

Advanced Normalization Tools (ANTs)

This protocol uses the nonlinear diffeomorphic normalization algorithms referred to as SyN or BSplineSyN (e.g. or ). The deformation field is estimated based on a series of preoperative acquisitions (these can include any number of preoperative images, e.g. anat_t2.nii, anat_t1.nii, anat_pd.nii, anat_fgatir.nii etc. as well as dti.niiwhich will then produce fa2anat.nii) and applied to all (co-registered) postoperative images later on. Please note that the dti.nii is used to export an fa.nii image which is subsequently co-registered to the anat.nii as fa2anat.nii.

FSL FNIRT

This protocol uses the routine. There is no multispectral normalization support, meaning it will only use the anchor modality (usually the anat_t1.nii volume depending on the space configuration).

SPM DARTEL

This protocol uses the Diffeomorphic Anatomical Registration Through Exponentiated Lie Algebra (DARTEL, Ashburner 2007) approach supplied with SPM12 to normalize the preoperative MR-image directly to the ICBM template (in MNI space). The estimated DARTEL flowfields are then applied to the coregistered postoperative versions. A DARTEL template was generated based on the ICBM 152 2009b series and is supplied within Lead-DBS. Thus, other than the standard DARTEL workflow (which aims at generating a group-template and affine-registering that to MNI space), the DARTEL template used in the Lead-DBS setting is defined by the nonlinear MNI templates, directly. As pointed out in Klein 2009, DARTEL seems to perform equally well in pair-wise and group-wise normalizations.

SPM Segment

This protocol uses the SPM12 "Segment" approach to segment and normalize the pre-operative image to the ICBM template (in MNI space). The estimated deformation fields are then applied to the coregistered postoperative versions. Lead-DBS uses a slightly modified version of the New Segment approach in that it uses a higher spatial resolution of the warps. This leads to a higher processing time.

Three-step affine normalization (Schönecker 2009)

You can select the protocol depending on the image files that are available for processing.

If applicable, Lead-DBS also gives you the option to normalize fiber tracking images into MNI space. For processing of these images, the option [] Normalize Fibers under the Lead-Connectome panel should be checked.

How to

  1. This step follows after coregistration. Select your patient and make sure Normalize Volumes and Check Results is selected (arrows 1 and 2).

  2. If normalization has been run before, select Retouch/overwrite approved results (arrow 4) to get a new instance of coregistration results.

  3. By clicking on Settings (arrow 5), you can select from the normalization protocols implemented in Lead. More details can be found here: Built-in normalization protocols. Usually, the default settings work well.

  4. Press Run. Normalization is computationally the most intense step and can take more than an hour, depending on the method chosen and your computer. Once it is done, you must assess the quality of the results. For more information on that, please consult Checking the Coregistration and Normalization.

Output

  • A pop-up window with information about methods and references. If this information is not needed, the window can be closed.

  • New normalization data will appear in the selected file, under derivatives/leaddbs/patient_name/normalization.

Normalization wraps native patient images into standard stereotactic (MNI) space. All templates can be found in your installation under lead_dbs/templates/. For ANTs-based and Schönecker normalizations, the is used (mni_hires.nii). ANTs with the default Lead-DBS settigns is recommended, see .

This protocol is based on the approach described in . It uses ANTs to linearly coregister the pre- or postoperative images into MNI space in three consecutive steps, each focusing more on the subcortical target region. The last step spares the ventricles, which may largely vary in the subject-specific anatomy. This is the only normalization routine that can handle the situation where you don't have pre-operative images and still should give precise results.

The atlas fit and results of the normalization can be manually edited. For a thorough tutorial on how to, follow the instructions .

Avants 2011
Tustison 2013
FSL FNIRT
Schönecker 2009
here
ICBM 152 2009b Nonlinear Asymmetric
Ewert et al. (2019)
UI settings for normalization.