https://github.com/egor-tensin/filters
Simple image filters
https://github.com/egor-tensin/filters
Last synced: 5 months ago
JSON representation
Simple image filters
- Host: GitHub
- URL: https://github.com/egor-tensin/filters
- Owner: egor-tensin
- License: mit
- Archived: true
- Created: 2016-08-28T23:52:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T04:38:05.000Z (over 8 years ago)
- Last Synced: 2025-03-01T07:18:37.921Z (7 months ago)
- Language: Python
- Size: 468 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Simple image filters
====================A collection of simple image processing utilities using basic convolution
matrices.Prerequisites
-------------* Python 3.4 or higher
* [numpy]
* [opencv-python]The versions below have been verified to work properly.
| Software | Version
| ------------- | -------
| CPython | 3.5.1
| numpy | 1.11.0
| opencv-python | 3.1.0[numpy]: http://www.numpy.org/
[opencv-python]: http://opencv.org/Windows binaries for CPython can be acquired at
http://www.lfd.uci.edu/~gohlke/pythonlibs/.OpenCV's Python bindings require [Visual C++ Redistributable for Visual Studio
2015] on Windows.[Visual C++ Redistributable for Visual Studio 2015]: https://www.microsoft.com/en-us/download/details.aspx?id=48145
Usage
-----Run the scripts from the top-level directory using `python -m`.
Pass the `--help` flag to a script to examine its detailed usage information.For example (using Windows-style paths):
> python -m bin.box_blur img\Lenna.png --radius 3
The complete list of usable scripts is given below.
* box_blur.py — Apply box blur to an image.
* gaussian_blur.py — Apply Gaussian blur to an image.
* shift.py — Shift an image by a few pixels in a specified direction.Development
-----------### Linting
Requires [Pylint].
To lint everything, run from the top-level directory:> pylint filters
...> pylint bin
...[Pylint]: https://www.pylint.org/
License
-------Distributed under the MIT License.
See [LICENSE.txt] for details.[LICENSE.txt]: LICENSE.txt