carta
PermuteFlipImageOrientationAxes(1)

PermuteFlipImageOrientationAxes1

Part of ants registration suite

Overview

Usage: PermuteFlipImageOrientationAxes ImageDimension inputImageFile outputImageFile xperm yperm {zperm} xflip yflip {zflip} {FlipAboutOrigin}

for 3D:

PermuteFlipImageOrientationAxes 3 in.nii out.nii 2 0 1 1 1 1

would map z=>x, x=>y, y=>z and flip each for 2D: PermuteFlipImageOrientationAxes 2 in.nii out.nii 1 0 1 0 would map x=>y, y=>x and flip x

0 1 2 for permute factors gives no axis permutation 1 2 0 maps y to x, z to y and x to z the flip values are boolean - 0 1 0 would flip the y-axis only

The FlipAboutOrigin boolean lets you flip about the coordinate set in the origin

History

  • Debian 9 (Stretch): the text shown here
  • Debian 8 (Jessie)
  • Debian 7 (Wheezy)
  • Debian 6.0 (Squeeze)

From ants 2.1.0-5 in Debian 9 (Stretch). Parsed by carta from the page's man source.