Crate agcwd

source · []
Expand description

An implementation of the AGCWD algorithm.

AGCWD is described in the paper “Efficient Contrast Enhancement Using Adaptive Gamma Correction With Weighting Distribution”.

Examples

// An example image containing 2 RGB pixels.
let mut pixels = vec![0, 1, 2, 3, 4, 5];

let agcwd = agcwd::Agcwd::new();
agcwd.enhance_rgb_image(&mut pixels);

Structs

Agcwd provides methods to enhance image contrast based on the AGCWD algorithm.