Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

joined/PyImageFilter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image filtering Python toolkit

This is a personal project, concerning the implementation of an image filtering toolkit in Python.

It's written in Python 3.4.

Installation

$ git clone https://github.com/joined/pyimagefilter
$ cd pyimagefilter
$ virtualenv .env -p $(which python3)
$ source .env/bin/activate
$ pip install -r requirements.txt

Usage

$ ./cli.py -h
usage: cli.py [-h] [--average RANK] [--gauss STDEV,RANK] [--sharpen TYPE]
              [--prewitt TYPE] [--sobel TYPE] [--volterra COEFFICIENT_FILE]
              [--custom MASK] [--no-parallel] [--output OUTPUT_IMAGE]
              input_image

Toolkit for linear and nonlinear image filtering

positional arguments:
  input_image           Input image file name.

optional arguments:
  -h, --help            show this help message and exit
  --average RANK        average mask transform. rank must be unven
  --gauss STDEV,RANK    gauss average transform. rank must be uneven
  --sharpen TYPE        sharpen mask transform. available types 1,2,3
  --prewitt TYPE        prewitt mask transform. available types 1,2
  --sobel TYPE          sobel mask transform. available types 1,2
  --volterra COEFFICIENT_FILE
                        quadratic volterra filtering. file must be json
  --custom MASK         custom mask linear filter, json-style format
  --no-parallel         disable parallel execution
  --output OUTPUT_IMAGE
                        output image filename

License and Copyright

See LICENSE.

About

Image filtering Python toolkit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages