Skip to content

A python program that enhances an input image to a miniature scene.

Notifications You must be signed in to change notification settings

huspark/fake-miniature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fake Miniature

Fake-minature is a python program that manipulates various image properties in order to generate a miniature scene.

    

How to Run

  • Usage
    python3 main.py [-h] -f FILENAME [-s FILTER_SIZE] [-r FILTER_RADIUS] [-b BRIGHTEN_FACTOR] [-c SATURATE_FACTOR]

  • Required arguments

    • -f FILENAME, --filename FILENAME
      the input file name
  • Optional arguments

    • -h, --help
      show this help message and exit
    • -s FILTER_SIZE, --filter_size FILTER_SIZE
      the vertical size of each Gaussian filter in pixels
    • -r FILTER_RADIUS, --filter_radius FILTER_RADIUS
      the sigma value for the first Gaussian blur filter
    • -b BRIGHTEN_FACTOR, --brighten_factor BRIGHTEN_FACTOR
      the constant for a brightening effect
    • -c SATURATE_FACTOR, --saturate_factor SATURATE_FACTOR
      the constant for a saturation effect

Citation

Using Blur to Affect Perceived Distance and Size,
http://graphics.berkeley.edu/papers/Held-UBA-2010-03/Held-UBA-2010-03.pdf

Releases

No releases published

Packages

No packages published

Languages