white-balance

Crates.iowhite-balance
lib.rswhite-balance
version0.1.0
sourcesrc
created_at2017-10-30 20:09:52.499736
updated_at2017-10-30 20:09:52.499736
descriptionRust implementation of white balance methods
homepagehttps://github.com/lovebug356/white-balance-rs
repositoryhttps://github.com/lovebug356/white-balance-rs
max_upload_size
id37515
size26,129
Thijs Vermeir (lovebug356)

documentation

README

white-balance-rs

Build Status

Rust implementation of popular white balancing methods.

Usage

This is an example on how to apply auto white balance with all implemented methods:

$ cargo run -- -i example.jpg -a
Auto white balancing:
	Input: example.jpg (1920x1080)
	Output: gray-world -> example-gray-world.jpg
	Output: retinex -> example-retinex.jpg
	Output: gray-retinex -> example-gray-retinex.jpg

or only for the gray-world method:

$ cargo run -- -i example.jpg -m gray-world
Auto white balancing:
	Input: example.jpg (1920x1080)
	Output: gray-world -> example-gray-world.jpg

More information on the current arguments that are accepted:

$ cargo run -- -h
Automatic white balance for images

USAGE:
    white-balance [FLAGS] [OPTIONS] --input <input>

FLAGS:
    -a, --all        use all methods
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -m, --auto <auto>        white balancing auto
    -i, --input <input>      input image filename
    -o, --output <output>    output image filename
Commit count: 26

cargo fmt