unu-lut - Man Page

map nrrd through one univariate lookup table

Synopsis

unu lut -m,--map <lut> [-r,--rescale] [-min,--minimum <value>] [-max,--maximum <value>] [-blind8 <bool>] [-t,--type <type>] [-i,--input <nin>] [-o,--output <nout>]

Description

Map nrrd through one 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.

Options

-m <lut> , --map <lut>

lookup table to map input nrrd through

-r--rescale

rescale the input values from the input range to the lut domain. The lut domain is either explicitly defined by the axis min,max along axis 0 or 1, or, it is implicitly defined as zero to the length of that axis minus one.

-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 lut’s type.

-i <nin> , --input <nin>

input nrrd

-o <nout> , --output <nout>

output nrrd (string); default: “-

See Also

unu(1), unu-mlut(1), unu-lut2(1)

Referenced By

unu(1), unu-lut2(1), unu-mlut(1), unu-subst(1).

August 2021