FLIP

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
LIMITATIONS
AUTHOR
SEE ALSO

NAME

flip − flip a volume along X-, Y- or Z-axis

SYNOPSIS

flip [-i level] [-l] [-u] [-t] [-p o1 o2 ... ] inputfile [outputfile]

DESCRIPTION

Flips (mirrors) a volume along an axis.

OPTIONS

-i level

Set level of information

-p o1 o2 o3 ...

Permute the volume according to an o1..on ordering of indices

-l

Flip image left/right (x)

-u

Flip image up/down (y)

-t

Flip image top/bottom (z) If no outputfile is specified, the inputfile will be overwritten.

LIMITATIONS

Input file format can be VAPET, XPRIME, ANALYZE. All volio input data types are accepted, i.e. byte, ushort, sshort, float, double.

The permutation is performed *before* the flipping. Permutation is a reordering of the voxel indices. E.g. a 256x150x120 volume can be turned into a 120x256x150 using -p210. Note that indices are counted from 0.

AUTHOR

Ulrik Kjems <uk@imm.dtu.dk>

SEE ALSO

gauss_vol(1), histo_vols(1), subsample(1), file2vapet(1), file2ana(1), file2xprime(1), headerinfo(1), resize_vol(1), convert_vol(1), covar(1), flip(1), region(1), compute_warp(1), warp_reslice(1), warp_reconcile(1)