Sponsor:

Your company here — click to reach over 10,000 unique daily visitors

unu-lut2 - Man Page

map nrrd through a bivariate lookup table

Synopsis

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

Description

Map nrrd through a bivariate lookup table (itself represented as a nrrd). The lookup table can be 2D, in which case the output has the same dimension as the input, or 3D, 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. In any case, axis 0 of the input must have length two.

Options

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

lookup table to map input nrrd through

-r <bool bool> , --rescale <bool bool>

rescale one or both of 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. (2 bools); default: “false false

-min <min0 min1> , --minimum <min0 min1>

Low end of input range. Defaults to lowest values found in input nrrd. Explicitly setting this is useful only with rescaling (“-r”) (2 doubles)

-max <max0 max1> , --maximum <max0 max1>

High end of input range. Defaults to highest values found in input nrrd. Explicitly setting this is useful only with rescaling (“-r”) (2 doubles)

-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-lut(1), unu-mlut(1)

Referenced By

unu(1), unu-lut(1).

August 2021