[][src]Module imageproc::stats

Statistical properties of images.

Structs

ChannelHistogram

A set of per-channel histograms from an image with 8 bits per channel.

CumulativeChannelHistogram

A set of per-channel cumulative histograms from an image with 8 bits per channel.

Functions

cumulative_histogram

Returns per-channel cumulative histograms.

histogram

Returns a vector of per-channel histograms.

peak_signal_to_noise_ratio

Returns the peak signal to noise ratio for a clean image and its noisy aproximation. All channels are considered equally. If you do not want this (e.g. if using RGBA) then change image formats first. See also peak signal-to-noise ratio (wikipedia).

percentile

Returns the pth percentile of the pixel intensities in an image.

root_mean_squared_error

Returns the square root of the mean of the squares of differences between all subpixels in left and right. All channels are considered equally. If you do not want this (e.g. if using RGBA) then change image formats first.