Crates.io | white-balancer |
lib.rs | white-balancer |
version | 0.4.0 |
source | src |
created_at | 2020-11-29 23:38:06.757746 |
updated_at | 2020-12-01 03:52:05.082152 |
description | Implementation of auto white balance methods |
homepage | https://github.com/warrengalyen/white-balancer-rs |
repository | https://github.com/warrengalyen/white-balancer-rs |
max_upload_size | |
id | 318025 |
size | 45,882 |
Rust implementation of popular auto white balancing methods.
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-balancer [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