Skip to content

prashantrahul141/film-grain-filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Film Grain Filter

Film grain or granularity is the random optical texture of processed photographic film due to the presence of small particles of a metallic silver, or dye clouds, developed from silver halide that have received enough photons. learn more.

Usage

  1. Clone the repository / or download the source code.
git clone https://github.com/prashantrahul141/film-grain-filter
  1. Build using cargo, or download binaries from the releases page.
cargo build
  1. Using

put your "your_image.jpg" in the build folder, same place the main executable is.

main.exe --filename "your_image.jpg" --intensity 1.0 --lumen 0.5

Intensity is the custom value to change the colors overall, with testing i found keeping its value close to 1.0 works best.

Lumen is how much luminosity of the image gets affected by the random noise. with testing i found keeping its value close to 0.5 works best.

About

Film grain filter written rust.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages