Table Of Contents



average-images <output> -images <images.lst> [options]
average-images <output> -image <image1> [-dof <dof1>] -image <image2> [-dof <dof2>]... [options]
average-images <output> <image1> [<dof1>] <image2> [<dof2>]... [options]
average-images <output> <sequence> [options]


Computes voxelwise average image of the given (transformed) input images.

The input images are optionally transformed by an image-to-average space transformation (average-images -dof) or its inverse (average-images -dof_i).



Voxel-wise average image.

-images <file>

Text file with N lines containing the file name of each input image, optionally a transformation file name (see -dof and -dof_i), optionally followed by a weight for a weighted output average (default weight is 1). The first line of the text file must specify the common base directory of all relative image and transformation file paths occurring on the subsequent N lines. A path starting with ‘./’ must be relative to the directory containing the input text file itself.

-image <file>

A single input image.

-dof <file>

Specifies a transformation to be applied to the preceeding image. (default: none)

-dof_i <file>

Specifies a transformation whose inverse is to be applied to the preceeding image. (default: none)

Command options

-size <dx> [<dy> [<dz>]]

Voxel size of intensity average image. (default: average of input images)

-padding <value>

Input padding and output background value. No input padding if not specified. Output background value zero by default or minimum average intensity minus 1. (default: 0)

-interp <mode>

Interpolation mode, e.g., NN, Linear, BSpline, Cubic, Sinc. (default: Linear)

-label <value>

Segmentation label of which to create an average probability map.

Standard options

-v, -verbose [n]

Increase/Set verbosity of output messages. (default: 0)

-debug [level]

Increase/Set debug level for output of intermediate results. (default: 0)

-version [major.minor]

Print version and exit or set version to emulate.


Print revision (or version) number only and exit.

-h, -help

Print help and exit.

Terminal options

-color, -nocolor

Enable/disable colored output. (default: off)

Parallelization options

-threads <n>

Use maximal <n> threads for parallel execution. (default: automatic)