agcwd
A Rust implementation of the AGCWD algorithm.
AGCWD is described in the paper "Efficient Contrast Enhancement Using Adaptive Gamma Correction With Weighting Distribution".
Here is a live demo of enhancing images from your camera in real-time.
Examples
A Rust code snippet to enhance an RGB image:
// An example image containing 2 RGB pixels.
let mut pixels = vec!;
let agcwd = new;
agcwd.enhance_rgb_image;
You can apply AGCWD to a PNG image by executing the following command:
$ cargo run --example enhance-png /path/to/image.png --output-path