UNU-I2W(1)
β¨ UNU-I2W(1) β¨
okay bestie, welcome to the <strong>User Commands</strong> corner of the manual β this one's short, sweet, and lowkey iconic π
π NAME π
unu-i2w β converts from 1-D index to world position π¦
πΈ SYNOPSIS πΈ
unu i2w <center> <minPos> <maxPos> <num> <index>
β¨ DESCRIPTION β¨
So the whole vibe here is: you got a 1-D index, and you want the world position that goes with it. That's it. That's the job. π
To do that, unu-i2w needs three things from you: how the data is centered (cell vs. node, we'll get to it), the range of positions, and the number of intervals that position got quantized into.
π«Ά heads up bestie: this is a demo/utility, and it does not actually operate on any nrrds. It's just vibing here doing math. No files touched, no cap.
It used to live out in the world as the stand-alone idx2pos binary, but now it's here with the rest of the crew. Glow-up fr fr β¨
It uses the NRRD_POS macro. π₯
π OPTIONS π
<center>β which centering applies to the quantized position. The possibilities are, and I quote the vibe check:- βcellβ β for histogram bins, quantized values, and pixels-as-squares π
- βnodeβ β for non-trivially interpolated sample points β
<minPos>β the smallest position associated with index0(adouble) π<maxPos>β the highest position associated with the highest index (adouble) π<num>β the number of intervals into which position has been quantized (adouble) π§<index>β the input index position, the one getting converted to world (adouble) π
π¦ SEE ALSO π¦
unu(1)β go say hi to the main character πΈ
and that's the whole page bestie, you ate that π
this little cutie is from the User Commands manual, dated April 2021, and it's filed under UNU-I2W(1) β mwah, 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