UNU-UNQUANTIZE(1)

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

πŸ’– unu-unquantize β€” bestie edition πŸ’–

okay so you're in the unu section of the manual (manual page UNU-UNQUANTIZE(1), she's iconic), and this one is all about getting your floats BACK from quantized data. no cap.


✨ NAME ✨

unu-unquantize β€” recover floating point values from quantized data πŸ¦‹


🌸 SYNOPSIS 🌸

unu unquantize -i,--input <nin> [-min,--minimum <value>] [-max,--maximum
<value>] [-double] [-o,--output <nout>]

πŸ’… DESCRIPTION πŸ’…

Recover floating point values from quantized data. Literally what it says. It peeks at the oldMin and oldMax fields chillin' inside the nrrd of quantized values, and uses those to regenerate approximate versions of the original unquantized values. like, glow-up but in reverse? ✨

And bestie, you can also override those with -min and -max if you wanna do your own thing. main character energy.

  • Uses nrrdUnquantize 🫢

πŸ‘‘ OPTIONS πŸ‘‘

  • -i <nin>, --input <nin> β€” the input nrrd. ok so the tea here: this argument is required instead of optional, which is NOT how most unu(1) commands roll. that's a quirk caused by the need to have unu-unquantize(1) generate usage info, combined with the fact that all the other arguments have sensible defaults. so yeah, she's needy, but for a reason πŸ’€
  • -min <value>, --minimum <value> β€” defaults to nin->oldMin if it exists, otherwise 0.0 (double)
  • -max <value>, --maximum <value> β€” defaults to nin->oldMax if it exists, otherwise 1.0 (double)
  • -double β€” if you're not using -min or -max, this is whether to know the range of 8-bit data blindly (uchar is always [0,255], signed char is [-128,127]) (bool); default: β€œtrue”, "true" πŸ‘€
  • -o <nout>, --output <nout> β€” output nrrd (string); default: β€œ-”

πŸŽ€ SEE ALSO πŸŽ€

unu(1), unu-quantize(1) β€” go read those too, iykyk πŸ’œ


and that's the whole page, bestie. go forth and unquantize. slay. 🌈✨

this was UNU-UNQUANTIZE(1) from User Commands, dated August 2021 β€” ty for coming to my ted talk, mwah πŸ«ΆπŸ’–

πŸ“¦ where this page comes from