Amazing-Python-Scripts
Morphological transformations
This python script will allow us to apply different morphological transformations on an image.
Setup Instructions
Install python3
sudo apt-get install python3
Install pip (package installer for python)
sudo apt-get install python3-pip
Install OpenCV library with pip
pip3 install opencv-python
Install tkinter library
sudo apt-get install python3-tk
Details/Output
A dialog box appears with option to select an image and choice of morphological operation.The result is shown in the window.
The input image is first converted into binary format before applying any morphological transformation and hence the output is in black-white format.
Author
Github: invigorzz313