UNU-HEQ(1)
π UNU-HEQ(1) β the unu heq glow-up page π
okay so bestie, welcome to unu-heq, a lil member of the unu user-commands family, and she is here to perform histogram equalization. that's it, that's the job. iconic behaviour, honestly. β¨
πΈ NAME πΈ
unu-heq β perform histogram equalization π
π SYNOPSIS π
unu heq -b,--bin <bins> [-s,--smart [<bins>]] [-a,--amount <amount>]
[-m,--map <filename>] [-i,--input <nin>] [-o,--output <nout>]
π¦ DESCRIPTION π¦
So you wanna perform histogram equalization. slay. π«Ά
But listen β if it seems like this is doing literally nothing, do not panic, do not spiral. try increasing the number of histogram bins by an order of magnitude or two (or more, she's not gonna stop you π). Or, alternatively, go use unu-gamma(1) to warp the values in the direction you know they need to go. Either of these might work because β and this is the tea β extremely tall and narrow peaks in the equalization histogram will produce poor results. π so narrow. so peak. so unhelpful.
- Uses
nrrdHistoEq
β¨ OPTIONS β¨
-b <bins>,--bin <bins>β the number of bins to use in the histogram that gets created in order to calculate the mapping that achieves the equalization. (int) π-s [<bins>],--smart [<bins>]β number of bins in the value histogram to ignore when calculating the mapping. Bins get ignored when they rack up more hits than other bins, and also when the values that fall in them are constant. This is, like, a genuinely effective way to stop huge regions of background value from distorting the equalization mapping. (optionalint); default:β0βπ-a <amount>,--amount <amount>β the extent to which the histogram equalizing mapping should be applied.0.0means no change,1.0means full equalization (float); default:
β οΈ okay bestie, the page itself gets a lil scrambled right here. this is verbatim what it says, no cap: -t <type> , --type <type> output type; default: β1.0β
so yeah β -t <type>, --type <type> is an output type, and the default is β1.0β. that's the whole thing as printed, we don't make the rules π
-m <filename>,--map <filename>β the value mapping used to achieve histogram equalization is represented by a univariate regular map. Give a filename here and that map gets saved out, so you can apply it to other nrrds withunu-rmap(1)(string) π₯-i <nin>,--input <nin>β input nrrd π-o <nout>,--output <nout>β output nrrd (string); default:β-ββ
π SEE ALSO π
unu(1), unu-gamma(1), unu-rmap(1)
and that's the whole page, bestie!! π§ source/version + date tea: this one's from the User Commands manual, dated August 2021. go forth and equalize those histograms, main character. ππΈβ¨
π¦ 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