Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ agcwd Public

A Rust implementation of the Adaptive Gamma Correction with Weighting Distribution (AGCWD) algorithm

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

sile/agcwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

agcwd

agcwd Documentation Actions Status Coverage Status License

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![0, 1, 2, 3, 4, 5];

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

You can apply AGCWD to a PNG image by executing the following command:

$ cargo run --example enhance-png /path/to/image.png

About

A Rust implementation of the Adaptive Gamma Correction with Weighting Distribution (AGCWD) algorithm

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages