unu-imap - Man Page
map nrrd through irregular univariate map (“colormap”)
Synopsis
unu rmap -m,--map <map> [-l,--length <aclLen>] [-r,--rescale] [-min,--minimum <value>] [-max,--maximum <value>] [-blind8 <bool>] [-t,--type <type>] [-i,--input <nin>] [-o,--output <nout>]
Description
Map nrrd through irregular univariate map (“colormap”). A map is irregular if the control points are not evenly spaced along the domain, and hence their position must be explicitly represented in the map. As nrrds, these maps are necessarily 2D. Along axis 0, the first value is the location of the control point, and the remaining values give are the range of the map for that control point. The output value(s) is the result of linearly interpolating between value(s) from the map.
- Uses nrrdApply1DIrregMap
Options
- -m <map> , --map <map>
irregular map to map input nrrd through
- -l <aclLen> , --length <aclLen>
length of accelerator array, used to try to speed-up task of finding between which pair of control points a given value lies. Not terribly useful for small maps (about 10 points or less). Use 0 to turn accelorator off. (unsigned int); default: “0”
- -r , --rescale
rescale the input values from the input range to the map domain.
- -min <value> , --minimum <value>
Low end of input range. Defaults to lowest value found in input nrrd. Explicitly setting this is useful only with rescaling (“-r”) (double)
- -max <value> , --maximum <value>
High end of input range. Defaults to highest value found in input nrrd. Explicitly setting this is useful only with rescaling (“-r”) (double)
- -blind8 <bool>
Whether to know the range of 8-bit data blindly (uchar is always [0,255], signed char is [-128,127]). Explicitly setting this is useful only with rescaling (“-r”) (bool); default: “true”
- -t <type> , --type <type>
specify the type (“int”, “float”, etc.) of the output nrrd. By default (not using this option), the output type is the map’s type.
- -i <nin> , --input <nin>
input nrrd
- -o <nout> , --output <nout>
output nrrd (string); default: “-”
See Also
Referenced By
unu(1), unu-rmap(1), unu-subst(1).