UNU-MLUT(1)

πŸ“¦ version 1.11.0, in fedora 43, fedora 44

πŸ’– 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 axis min,max along axis 0 or 1, 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 a double, 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 a 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). it's a bool, 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 a string, and the default is "-". classic. 🌸
reminder bestie: -min, -max, and -blind8 are 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