Skip to content

dangreco/edgy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Latest version License

A simple program to apply the Sobel edge detection operator to any given image or directory of images.

Installation

The process to install is pretty standard:

$ cargo install edgy

Usage

edgy 1.0
Daniel G. <[email protected]>
Applys Sobel edge detection to given image.
USAGE:
    edgy [FLAGS] [OPTIONS] --input <FILE> --output <FILE>
FLAGS:
    -m, --multiple    Uses input/output as directories; applies sobel operator to every image in that directory.
    -h, --help        Prints help information
    -V, --version     Prints version information
OPTIONS:
    -b, --blur <FACTOR>    Increases blur factor by <FACTOR>
    -i, --input <FILE>     Sets the input image file to use
    -o, --output <FILE>    Sets the output image file to use

Examples

Pillow Man

Donald Glover

Detour Sign

Performance

Running this implementation on the same image but scaled down to various sizes, I charted the time it took to produce the final image (in seconds).

Performance

Contributions

If you want to improve anything, go ahead and open up a pull request.

About

Sobel edge detection in Rust.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages