Based on digital image processing package python scripting language developed have many common such as PIL, Pillow, opencv, scikit-image and so on. PIL and pillow only provides the basis for digital image processing, limited functionality; OpenCV is actually a C ++ library that provides a python interface to update slower; scikit-image is based on scipy of an image processing package, it would picture as numpy array processing.
A, SKimage
skimage package stands scikit-image SciKit (toolkit for SciPy), it scipy.ndimage been extended to provide more image processing functions. It is written in python, developed and maintained by the community scipy. skimage package consists of a number of sub-modules, sub-modules each provide different functions. The main sub-modules are as follows:
I | Read, save and display pictures or video |
data | Providing a test picture or sample data |
color | Color space conversion |
filters | Image enhancement, edge detection, sorting filters, automatic threshold |
draw | Numpy array operating in the basic graphics rendering, including lines, rectangles, circles and text |
transform | Transform or other geometric transformation, such as rotation, stretching, etc. |
morphology | Morphological operations, such as opening and closing operation, and the like skeleton extraction |
exposure | Image intensity adjustment, such as brightness adjustment, histogram equalization, etc. |
feature | Feature extraction, detection, and other features corner |
measure | Measuring image attributes, such as similarity or contour lines |
segmentation | Image segmentation |
restoration | Image restoration |
useful | General function |
Usage: https: //www.jianshu.com/p/f2e88197e81d
Two, PIL (Python Imaging Library) image processing library
PIL provides a common image processing functions, and a large number of useful basic image manipulation, such as image scaling, cropping, rotation, color conversion and the like. Common operating image format conversion, copy and paste to create a thumbnail image area.
Three, Matplotlib
Matplotlib with powerful graphics capabilities. To draw a graph, points, lines, contours image, histogram, interactive label.
Four, Numpy
Numpy is well-known scientific computing toolkit.
https://www.jianshu.com/p/f2e88197e81d
Five, opencv (BGR)
opencv is a C ++ library for (real time) processing computer vision problems.