UNU-MLUT(1)
π UNU-MLUT(1) π
okay bestie, welcome to unu-mlut β the user command that maps your nrrd through a whole nrrd of univariate lookup tables. it's giving glow-up-for-your-data, no cap. πβ¨
β¨ SYNOPSIS β¨
unu mlut -m,--map <mlut ...> [-r,--rescale] [-min,--minimum <value>]
[-max,--maximum <value>] [-blind8 <bool>] [-t,--type <type>] [-i,--input
<nin>] [-o,--output <nout>]
π¦ DESCRIPTION π¦
so here's the vibe: you're mapping an nrrd through a whole nrrd of univariate lookup tables, with one lookup table per element of the input nrrd. like, a personal LUT for every voxel. main character treatment for each and every one of them. π
the multiple tables live in a nrrd that has a dimension which is either 1 or 2 more than the dimension of the input nrrd. that means the output ends up with either the same or one more dimension than the input, resptectively. (yes, that typo is canon, we keep it fr fr β details are sacred π«Ά)
- Uses
nrrdApplyMulti1DLut
π OPTIONS π
-m <lut>,--map <lut>β one nrrd of lookup tables to map the input nrrd through, OR a list of nrrds which contain the individual entries of the lookup table at each voxel, which will be joined together. (1 or more nrrds, so bring friends π«)-r,--rescaleβ rescale the input values from the input range to the lut domain. the lut domain is either explicitly defined by the axismin,maxalong axis0or1, or, it is implicitly defined as zero to the length of that axis minus one. either way, she's mapped. β¨-min <value>,--minimum <value>β low end of the input range. defaults to the lowest value found in the input nrrd. explicitly setting this is useful only with rescaling (-r). it's adouble, bestie. π-max <value>,--maximum <value>β high end of the input range. defaults to the highest value found in the input nrrd. explicitly setting this is also useful only with rescaling (-r). also adouble. π-blind8 <bool>β whether to know the range of 8-bit data blindly (ucharis always[0,255],signed charis[-128,127]). explicitly setting this is useful only with rescaling (-r). it's abool, and its default is"true". like, she already knows. π-t <type>,--type <type>β specify the type ("int","float", etc.) of the output nrrd. by default (aka not using this option at all), the output type is the lut's type. so if you don't say anything, you get whatever the lut woke up as. π-i <nin>,--input <nin>β input nrrd. the thing getting mapped. π¦-o <nout>,--output <nout>β output nrrd. it's astring, and the default is"-". classic. πΈ
reminder bestie:-min,-max, and-blind8are only useful when you're also using-r. don't set them and then skip the rescale, that's not the moment. π
π SEE ALSO π
k that's the whole page, mwah. this was UNU-MLUT(1), a User Commands moment, dated August 2021, and the source/version at the bottom is literally just UNU-MLUT(1) again β slay, iconic, periodt. πβ¨π
π¦ where this page comes from
- fedora 43: teem 1.11.0-83.fc43 Β· LGPL-2.1-or-later WITH LicenseRef-Fedora-Temporary-Simple-Library-exception
- fedora 43: teem 1.11.0-86.fc43 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- fedora 44: teem 1.11.0-87.fc44 Β· LGPL-2.1-or-later WITH Simple-Library-Usage-exception
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms