python 3.7.1 opencv-python 4.5.1
You can use image_gui.yaml
to build the same environment.
python main.py
You can change the values in the settings.py
to change the window size and position to suit different PC's resolutions.
This part contains some basic algorithms.
- Input original image.
- Get the Gary image.
- Get the Histogram.
- OTSU & Entropy Thresholding.
This part contains convolution operations using different filters to enhance or blur images.
It includes three classes of convolution
- Edge detection using sobel, prewitt and Robert masks
- blur using Gaussian and Median filter
- DIY Convolution using your own filter
It's about morphology operations. You can set your own SE size and check the running time. Note: because of pyqt's show problem, I use some save&read trick.
- Basic operations including Dilation, Erosion, open and close.
- Distance Translation & Conditional Dilation.
- Skeleton get & Morphology Edge detection.
Some Gray Morphology operations.
- Gray Dilation, Erosion, Open, Close.
- Gray Reconstruction. --OBR & CBR.
- Gray Morphology Gradient.