---
name: "AverageImages"
section: "1"
platform: "linux"
package: "ants"
version: "2.1.0-5"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/AverageImages"
---

# AverageImages(1)

part of ANTS registration suite

## NAME

AverageImages - part of ANTS registration suite

## DESCRIPTION

Usage:

AverageImages ImageDimension Outputfname.nii.gz Normalize \<images\>

-

  Compulsory arguments:

-

  ImageDimension: 2 or 3 (for 2 or 3 dimensional input).

-

  Outputfname.nii.gz: the name of the resulting image.

-

  Normalize: 0 (false) or 1 (true); if true, the 2nd image is divided by its mean. This will select the largest image to average into.

-

  Example Usage:

AverageImages 3 average.nii.gz  1  \*.nii.gz
