unu-affine - Man Page
affine (lerp) mapping on 5 nrrds or constants
Synopsis
unu affine <minIn> <in> <maxIn> <minOut> <maxOut> [-t,--type <type>] [-clamp <bool>] [-o,--output <nout>]
Description
Affine (lerp) mapping on 5 nrrds or constants. All the 5 arguments can be either nrrds or single floating-point values. When all args are single values, this is subsuming the functionality of the previous stand-alone affine(1) program. Use “-” for an operand to signify a nrrd to be read from stdin (a pipe). Note, however, that “-” can probably only be used once (reliably).
- Uses nrrdArithAffine or nrrdArithIterAffine
Options
- minIn
Lower end of input value range.
- in
Input value.
- maxIn
Upper end of input value range.
- minOut
Lower end of output value range.
- maxOut
Upper end of output value range.
- -t <type> , --type <type>
type to convert all nrrd inputs to, prior to doing operation. This also determines output type. By default (not using this option), the types of the input nrrds are left unchanged.
- -clamp <bool>
clamp output values to specified output range (bool); default: “false”
- -o <nout> , --output <nout>
output nrrd (string); default: “-”