Skip to content

iansullivan88/image-flatten

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A tool for flattening multiple images into a single image. There are three modes: the first removes differences, the second combines differences and the third averages them.

These three images of an overly colourful futon can be combined using the three different modes

Alt text Alt text Alt text

Using 'remove' mode image-flatten -r -i example/input -o example/remove.jpg: Alt text

Using 'combine' mode image-flatten -c -i example/input -o example/combine.jpg: Alt text

Using 'average' mode image-flatten -a -i example/input -o example/average.jpg: Alt text

Build

Run stack build

Run

Run image-flatten with various options:

image-flatten - flatten multiple images into a single image, combining or hiding
differences

Usage: image-flatten (-i|--input DIRECTORY) (-o|--output OUTPUT) [-c|--combine]
                     [-r|--remove] [-a|--average] [-t|--threshold ARG]
                     [-q|--quality ARG]
  Flatten DIRECTORY into OUTPUT

Available options:
  -h,--help                Show this help text
  -i,--input DIRECTORY     A directory containing images to flatten
  -o,--output OUTPUT       File path to save result image to
  -c,--combine             Specifies that differences in images should be
                           combined
  -r,--remove              Specifies that differences in images should be
                           removed
  -a,--average             Specifies that images should be averaged
  -t,--threshold ARG       Adjust the sensitivity for detecting features. A low
                           number is required to detect subtle differences eg a
                           green jumper on grass. A high number will suffice for
                           white stars against a black sky. Default is 10.
  -q,--quality ARG         If output is a JPEG, this specifies the quality to
                           use when saving

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published