Previous Topic

Next Topic

Book Contents

Book Index

Preparation of VOI Template Files for PMOD

VOI label templates can be easily prepared for use in PMOD. Two sets of data are required, the

  1. Template images: They must be prepared in the NifTI file format and contain an arbitrary number of labeled pixels as integer numbers. Non-integer values are rounded to the next integer value. We recommend using the HFS orientation (head first, supine = radiological convention).
  2. Label list: A text file ending in .txt containing three columns. Each label is represented by a line of the form:
    abbreviation1 label_name1 label_value1
    abbreviation2 label_name2 label_value2
    ...
    There must not be blank characters within the abbreviations or the names.

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

AAL Template Organization

Note that the name of the sub-directory in resources/templates/voitemplates must also be used for the template images and the label list. This name then shows up in the list of available templates in the VOI analysis tool. The labels in the AAL template are described in the file AAL-VOIs.txt by a list in the form

FAG Precentral_L 2001
FAD Precentral_R 2002
F1G Frontal_Sup_L 2101
F1D Frontal_Sup_R 2102
F1OG Frontal_Sup_Orb_L 2111
F1OD Frontal_Sup_Orb_R 2112
F2G Frontal_Mid_L 2201
F2D Frontal_Mid_R 2202
F2OG Frontal_Mid_Orb_L 2211
F2OD Frontal_Mid_Orb_R 2212
etc.

To add our own VOI template, just create a new sub-directory and add your files following the procedure described above.