This Rust project is the implementation of a thresholding algorithm with various anti-aliasing techniques. The techniques are described and explained in my blog post: Thresholding with Anti-Aliasing.
This repo serves purely as a way of open-sourcing the techniques discussed in the article. I do not intend on maintaining or further improving this code.
cargo run --release -- --helpwill print usage information.cargo run --release -- imageswill re-create the images in theoutput/directory.cargo run --release -- qualitywill re-createquality.md.cargo run --release -- kernel <args>will create an image of a bilinear kernel.cargo runwill run some debug code.
The flower image and its derivatives are CC0. The original flower image is by an unknown artist and also licensed under CC0.
All other files in this repo are licensed under the MIT license.