Skip to content

RunDevelopment/threshold-aa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thresholding with Anti-Aliasing

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.

Usage

  • cargo run --release -- --help will print usage information.
  • cargo run --release -- images will re-create the images in the output/ directory.
  • cargo run --release -- quality will re-create quality.md.
  • cargo run --release -- kernel <args> will create an image of a bilinear kernel.
  • cargo run will run some debug code.

License

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.

About

An implementation of thresholding with anti-aliasing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages