This repository contains beginner-friendly examples of fundamental Image Processing techniques using Python, OpenCV, NumPy, and Matplotlib.
The lessons follow a step-by-step learning path from understanding pixels to image transformations, filtering, edge detection, and morphology.
Learn how images are represented as pixel values.
Topics:
- Read and display images
- Image shape
- Image data type
- Image channels
- BGR and RGB
- Pixel access
- Pixel modification
Learn how to modify pixel values.
Topics:
- Grayscale conversion
- Brightness and contrast
- Pixel arithmetic
- Image inversion
- Thresholding
Learn different ways to represent image colors.
Topics:
- RGB / BGR
- HSV
- Lab
- Per-channel adjustment
- Color range masking
Learn how to change the size, position, and orientation of images.
Topics:
- Resize and Interpolation
- Translation
- Rotation
- Flip
- Crop
- Random Crop
- Application to Medical Images
Learn how to smooth images, remove noise, and enhance image details.
Topics:
- Average Blur
- Gaussian Blur
- Median Filter
- Noise Removal
- Sharpening
- Unsharp Masking
Learn how to detect edges and object boundaries.
Topics:
- Sobel X and Y
- Laplacian
- Canny Edge Detection
- Finding Boundaries / Contours
Learn how to modify shapes in binary images and analyze image brightness.
Topics:
- Dilation β Expand white areas
- Erosion β Shrink white areas
- Opening β Remove small white noise
- Closing β Fill small black holes or gaps
- Histogram
- Histogram Equalization
- Image Blending
- Python
- OpenCV
- NumPy
- Matplotlib
-
OpenCV Documentation
https://docs.opencv.org/4.x/ -
OpenCV-Python Tutorials
https://docs.opencv.org/4.x/d6/d00/tutorial_py_root.html -
NumPy Documentation
https://numpy.org/doc/ -
Matplotlib Documentation
https://matplotlib.org/stable/ -
scikit-image Documentation
https://scikit-image.org/docs/stable/
