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, represent the anatomy in HFS orientation (head first, supine = radiological convention), and contain an arbitrary number of labeled pixels as integer numbers. Non-integer values are rounded to the next integer value.
  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 as an example is the AAL template. The naming and the arrangement of the files is illustrated below.

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.

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