Basic Digital Image Processing Tasks
This repository contains basic implementations of image processing algorithms in python.
$ pip install opencv-python
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 |
|
|
Original |
Segmented |
|
|
Original |
Centroid |
|
Top Left | Top Right | | | Bottom Left | Bottom Right | | |
|
Connected Component Labelling
Original |
CCL4 Labelled |
|
|
Original |
Histogram Equalized |
|
|
Original |
Local Histogram |
|
|
Original |
Morphology |
|
Erosion | Dilation | | | Opening | Closing | | |
|
Original |
Sharpened |
|
|
$ python Skeletonization.py
$ python AvergingFilter.py
Original |
Averaging Filter |
|
|
Original |
Gaussian |
|
|
$ python unsharp_masking.py
Original |
Unsharp Masking |
|
|
Original |
Median |
|
|
Original |
XY Cuts |
|
|
$ python TemplateMatching.py
Template |
Matched in Image |
|
|