Previous Topic

Next Topic

Book Contents

Book Index

Preparation of VOI Atlas Files for PMOD

Atlas Definition

VOI atlases can be easily prepared for use in PMOD. Three sets of data are required, the

  1. Atlas images: They must be prepared as NifTI files and encode the atlas VOIs as numeric labels. Each pixel has a value of 0 if it is a background pixel, or is otherwise an integer number. We recommend using the HFS orientation (head first, supine = radiological convention) for human data.
  2. Label list: A text file ending in .txt containing at lease three columns. Each VOI is represented by a line of the form:
    name1 label_name1 label_value1
    name2 label_name2 label_value2
    ...
    There must not be blank characters within the abbreviations or the names.
  3. An manifest text file for the encoding of the species, for instance containing
    SPECIES = HUMAN
    The three species supported are HUMAN, RAT, MOUSE.

Note that the name of the atlas sub-directory in resources/templates/voitemplates must also be used for the template images, the label list, and the manifest. This name then shows up in the list of available atlases in the VOI analysis tool.

Included in the distribution are several templates. The naming and the arrangement of the files is illustrated below using the AAL-Merged atlas as an example.

AAL Template Organization

The AAL-Merged.txt contains the following 5 columns. The first column starts with the name followed by a bracket construction which encodes a tree structure. For instance, Precentral belongs to the Frontal_Lobe which is located in the a le L or right R hemisphere. The second column indicates the name of a generated contour VOI. The third column contains the label value in the atlas file. Each pixel in AAL-Merged.nii with value 1 will belong the Precentral_l VOI, pixels with value 2 to Precentral_l, etc.

The corresponding atlas VOI structure is illustrated below.

Normalization Files

Atlases can only be applied to images if they have the same resolution and show the anatomy with the same geometry. Therefore, images originating from real experiments first need a normalization step for the atlas to be applied. This is done by calculating a normalization transform between the subject image and a "template" image representing the standard anatomy imaged with a certain modality, and using it for warping the VOIs to the subject anatomy.

Appropriate template images need to be copied to a normalization sub-folder. In the example below normalization contains T1 and T2 MR templates with and without skull, as well as a PET template. All of these templates show the anatomy in the MNI space in which the AAL VOIs were defined.

Correspondingly the Normalization Template list has the following entries.

The normalization works best if the information is restricted to the relevant image part. Therefore, normalization should contain a mask sub-folder with a mask file brainmask.nii containing 1 for all relevant pixels and 0 for all others.