| Crates.io | kuwahara-filter |
| lib.rs | kuwahara-filter |
| version | 0.1.0 |
| created_at | 2025-08-13 14:14:00.27924+00 |
| updated_at | 2025-08-13 14:14:00.27924+00 |
| description | Fast Kuwahara filter implementation for artistic image effects |
| homepage | |
| repository | https://github.com/petamorikei/kuwahara-filter |
| max_upload_size | |
| id | 1793652 |
| size | 46,999 |
Applies the Kuwahara filter to images for artistic painterly effects.
cargo build --release
Binary: target/release/kf
# Single radius
./target/release/kf -i input.jpg -r "3"
# Multiple radii
./target/release/kf -i input.jpg -r "2,5"
# Creates: input_kuwahara-r2.png, input_kuwahara-r3.png, input_kuwahara-r4.png, input_kuwahara-r5.png
# Custom output
./target/release/kf -i input.jpg -r "1,3" -o result.png
# Creates: result_r1.png, result_r2.png, result_r3.png
-i, --input <PATH>: Input image (required)-o, --output <PATH>: Output path (optional)-r, --radius <RADIUS>: Radius value or range (default: "2")
"3""2,5" (inclusive)cargo test # Run tests
cargo bench # Run benchmarks