UNU-HISTO(1)
π unu-histo(1) β bestie edition π
okay so you found the unu-histo page in section 1 of the manual, and honestly? it's giving histogram queen π this is a user command, and it's about to make your nrrd data make sense.
β¨ NAME β¨
unu-histo β create a 1-D histogram of values in a nrrd. no cap, that's the whole job π
πΈ SYNOPSIS πΈ
unu histo -b,--bins <num> [-w,--weight <nweight>] [-min,--minimum
<value>] [-max,--maximum <value>] [-blind8 <bool>] [-t,--type <type>]
[-i,--input <nin>] [-o,--output <nout>]
π¦ DESCRIPTION π¦
So basically: this makes a 1-D histogram of the values chillin' in a nrrd π You can either spell out the bounds of the histogram domain yourself, or you can just let it learn them from the data like the independent little icon it is β¨
- Uses
nrrdHistoπ
π OPTIONS π
-b <num>,--bins <num>β how many bins are in the histogram (unsigned int). this one's required btw, it's the whole vibe π₯-w <nweight>,--weight <nweight>β how to weigh contributions to the histogram. by default (aka if you don't use this option), the increment is one bin count per sample π but if you hand it a nrrd, then the value in that nrrd at the corresponding location becomes the bin count increment. fancy, right? β¨-min <value>,--minimum <value>β the value at the low end of the histogram. you can give it as a regular number, or β plot twist β if you tack a%suffix on that number, this minimum is specified in terms of the percentage of samples in the input that are lower π by default (not using this option), it's the lowest value found in the input nrrd. (string); default:"nan"-max <value>,--maximum <value>β the value at the high end of the histogram. same deal as min: regular number, or with a%suffix it means the percentage of samples in the input that are higher π defaults to the highest value found in the input nrrd. (string); default:"nan"-blind8 <bool>β whether to know the range of 8-bit data blindly, like it's just born knowing (uchar is always[0,255], signed char is[-128,127]). (bool); default:"true"π-t <type>,--type <type>β the type to use for the bins in the output histogram; default:"uint"β-i <nin>,--input <nin>β the input nrrd πΈ-o <nout>,--output <nout>β the output nrrd (string); default:"-"π«
π SEE ALSO π
ngl bestie, that's literally the entire page. go make some histograms, you main character π«Ά
signing off from August 2021 β this was UNU-HISTO(1), section 1, and yes it ate π β¨
π¦ 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