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

  unu lut

unu lut: Map nrrd through univariate lookup table (itself represented as a
nrrd). The lookup table can be 1D, in which case the output has the same
dimension as the input, or 2D, in which case the output has one more dimension
than the input, and each value is mapped to a scanline (along axis 0) from the
lookup table.

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

    -m <lut> = lookup table to map input nrrd through
          -r = rescale the input values from the input range to the lut
               domain, assuming it is explicitly defined
-min <value> = Value to map to low end of lut. 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 lut. 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 lut's
               type.
    -i <nin> = input nrrd
   -o <nout> = output nrrd (string); default: "-"