unu-histo - Man Page

create 1-D histogram of values in a nrrd

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

Create 1-D histogram of values in a nrrd. Can explicitly set bounds of histogram domain or can learn these from the data.

Options

-b <num> , --bins <num>

# of bins in histogram (unsigned int)

-w <nweight> , --weight <nweight>

how to weigh contributions to histogram. By default (not using this option), the increment is one bin count per sample, but by giving a nrrd, the value in the nrrd at the corresponding location will be the bin count increment

-min <value> , --minimum <value>

Value at low end of histogram, given explicitly as a regular number, or, if the number is given with a “%” suffix, this minimum is specified in terms of the percentage of samples in input that are lower. By default (not using this option), the lowest value found in input nrrd. (string); default: “nan

-max <value> , --maximum <value>

Value at high end of histogram, given explicitly as a regular number, or, if the number is given with a “%” suffix, this maximum is specified in terms of the percentage of samples in input that are higher. Defaults to highest value found in input nrrd. (string); default: “nan

-blind8 <bool>

Whether to know the range of 8-bit data blindly (uchar is always [0,255], signed char is [-128,127]). (bool); default: “true

-t <type> , --type <type>

type to use for bins in output histogram; default: “uint

-i <nin> , --input <nin>

input nrrd

-o <nout> , --output <nout>

output nrrd (string); default: “-

See Also

unu(1)

Referenced By

unu(1).

August 2021