Get Teem at Fast, secure and Free Open Source software downloads
teem / unrrdu

  unu rmap

unu rmap: Map nrrd through *regular* univariate map ("colormap"). A map is
regular if the control points are evenly spaced along the domain, and hence
their position isn't explicitly represented in the map; the axis min, axis
max, and number of points determine their location. The map can be a 1D nrrd
(for "grayscale"), in which case the output has the same dimension as the
input, or a 2D nrrd (for "color"), in which case the output has one more
dimension than the input. In either case, the output is the result of linearly
interpolating between map points, either scalar values ("grayscale"), or
scanlines along axis 0 ("color").

Usage: unu rmap -m <map> [-r] [-min <value>] [-max <value>] [-t <type>] \
       [-i <nin>] [-o <nout>]

    -m <map> = regular map to map input nrrd through
          -r = rescale the values from the input nrrd range to the map
               domain, assuming it is explicitly defined
-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") or if map doesn't
               know its domain (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
    -i <nin> = input nrrd
   -o <nout> = output nrrd (string); default: "-"