Functions | |
array | histogram (const array &data, unsigned nbins) |
Histogram of all values in data . | |
array | histogram (const array &data, unsigned nbins, float min, float max) |
Histogram of all values in data . | |
array | histequal (const array &data, const array &histogram) |
Data normalization via histogram equalization. |
array af::histogram | ( | const array & | data, |
unsigned | nbins | ||
) |
Histogram of all values in data
.
[in] | data | treated as vector |
[in] | nbins | Number of output bins to populate |
array af::histogram | ( | const array & | data, |
unsigned | nbins, | ||
float | min, | ||
float | max | ||
) |
Histogram of all values in data
.
[in] | data | treated as vector |
[in] | nbins | Number of bins to populate between min and max |
[in] | min | minimum bin value |
[in] | max | maximum bin value |
array af::histequal | ( | const array & | data, |
const array & | histogram | ||
) |
Data normalization via histogram equalization.
[in] | data | non-normalized input (assume values [0-255]) |
[in] | histogram | target histogram to approximate in output (assume 256 bins) |
histogram