unu imap: 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.
Usage: unu imap -m <map> [-l <aclLen>] [-r] [-min <value>] [-max <value>] \
[-t <type>] [-i <nin>] [-o <nout>]
-m <map> = irregular map to map input nrrd through
-l <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. (int); default: "0"
-r = rescale the input values from the input range to the map
domain
-min <value> = Value to map to low end of map. Defaults to lowest value found
in input nrrd. Explicitly setting this (and the same for the
max) is useful only with rescaling ("-r") (double)
-max <value> = Value to map to high end of map. Defaults to highest value
found in input nrrd. (double)
-t <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 nrrd
-o <nout> = output nrrd (string); default: "-"