pymagery — python imagery
Documentation
Overview
The basic structure of pymagery is the plugin. With the exception of creating new images, loading images, and saving images, all other functionality is handled by plugins. Each plugin is copied into the image class at load-time and, thus, each plugin operates on an instance of image and implements some specific function/algorithm. Creation of a new function is "as easy as" creating a new file and writing the def run(self) function to operate on the image.
Licensing
pymagery is licensed under version 2 of the GPL.
Per-version Documentation
- Version 1.8.0 (February 23, 2008)
- Version 1.7.0 (February 23, 2008)
- Version 1.6.0 (February 23, 2008)
- Version 1.5.0 (February 19, 2008)
- Version 1.4.0 (February 17, 2008)
- Version 1.3.0 (February 17, 2008)
- Version 1.2.0 (February 16, 2008)
- Version 1.1.0 (February 15, 2008)
- Version 1.0.0 (February 5, 2008)
Change Log
- 1.8.0 — Added morph_close, morph_dilate, morph_erode, and morph_open plugins.
- 1.7.0 — Added __add__, __sub__, __mul__, __div__, and __eq__ plugins. Renamed previous image.__eq__ to image.sameas to allow the __eq__ plugin to do a pixel-for-pixel comparison.
- 1.6.0 — Added bitplane_merge and bitplane_split plugins
- 1.5.0 — Added huerotate, lightness, and saturation plugins
- 1.4.0 — Added invert plugin
- 1.3.0 — Added resize plugin
- 1.2.1 — Fix inversion issue with PBM loading, no perceptible changes in usage so no new docs
- 1.2.0 — Added bitblit plugin
- 1.1.0 — Added border and canvasresize plugins
- 1.0.0 — Initial release
Future Plugins
The following is a list of manipulations that may be future plugins:- Transformations:
- Arbitrary rotation
- Shear
- Perspective
- Morphological image processing: hit-and-miss, thinning, thickening, skeletonization
- Brightness and contrast
- Curves
- Filters:
- Blur
- Sharpen
- Unsharpen
- Edge detection
- Drawing:
- Line
- Box
- Circle
- Ellipse
- Triangle
- Gradients
- Image arithmetic: both image-to-image and image-to-value
- Distance (absolute value of subtraction)
- Bitwise: AND/NAND, OR/NOR, XOR/NXOR, shift left, shift right
- Comparison: <, <=, >=, >
- Maximum, minimum, mean
- Frequency-domain:
- Fourier
- DCT
Copyright © 2008 Colin ML Burnett, released under GPLv2