This repository contains basic implementations of image processing algorithms in python.
- PIL
$ pip install pillow
- opencv-python
$ pip install opencv-python
$ python gradient.py
Original | Gradient |
---|---|
$ python negative.py binary.jpeg binary
Original | Binary Negative |
---|---|
$ python negative.py lena.jpg gray
Original | Grayscale Negative |
---|---|
$ python negative.py lena.jpg rgb
Original | RGB Negative |
---|---|
$ python Segmentation.py
Original | Segmented |
---|---|
$ python Centroid.py
Original | Centroid | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
$ python ccl4.py
Original | CCL4 Labelled |
---|---|
$ python hist_eq.py
Original | Histogram Equalized |
---|---|
Original | Local Histogram |
---|---|
$ python Simple.py
Original | Morphology | ||||||||
---|---|---|---|---|---|---|---|---|---|
|
$ python sharpen.py
Original | Sharpened |
---|---|
$ python Skeletonization.py
$ python AvergingFilter.py
Original | Averaging Filter |
---|---|
$ python gaussian.py
Original | Gaussian |
---|---|
$ python unsharp_masking.py
Original | Unsharp Masking |
---|---|
$ python median.py
Original | Median |
---|---|
$ python XY_Cuts.py
Original | XY Cuts |
---|---|
$ python TemplateMatching.py
Template | Matched in Image |
---|---|