Assignment work done for the CS1604 (Image and Video Analytics) course of our 6th Semester.
The primary goal of this repository is to store and document all the assignments completed for the Image and Video Analytics course. The assignments are implemented in Jupyter notebooks, utilizing libraries such as OpenCV, SciPy, NumPy, and Matplotlib for various image and video processing tasks. This repository serves as a practical collection of the techniques and methods learned throughout the course.
Note
If cloning and running notebooks, be sure to extract the datasets present within the datasets folder.
-
03/01/2025: Basic Image Manipulation
- Displaying image properties
- Calculation of megapixel count
- Conversion to grayscale
- Basic brightness manipulation
-
07/01/2025: Image Processing - Point, Histogram, Mask Techniques
- Thresholding
- Point processing techniques:
- Negative
- Log
- Inverse Log
- Power Law (GAMMA)
- Contrast Stretching
- Gray Level Slicing
- Bit Plane Slicing
- Histogram processing techniques:
- Equalization
- Specification
- Mask processing techniques:
- Linear Smoothing (Normal, Weighted)
- Median Filtering
- Sharpen Filtering
-
17/01/2025: Fourier Transform, Filters
- Application of Fast Fourier Transform (FFT)
- Application of Low, High and Band pass filters:
- Ideal
- Butterworth
- Gaussian
- Laplacian
- Difference of Gaussian
-
04/02/2025: Discrete Cosine Transform
- Application of Discrete Cosine Transform (DCT)
- Compression of image via DCT
- Swapping phases of two images via FFT
-
11/02/2025: Image Restoration, Segmentation, Morphological Operations
- Application of image degradation / restoration techniques:
- Inverse Filtering
- Wiener Deconvolution
- Constrained Least Square
- Segmentation techniques:
- Point Detection
- Line Detection
- Edge Detection (Sobel, Prewitt, Canny, Laplacian of Gaussian (LoG))
- Histogram Based Thresholding (Manual, Automatic, Optimal (Otsu))
- Morphological operations:
- Dilation
- Erosion
- Open
- Close
- Perimeter
- Application of image degradation / restoration techniques:
-
18/02/2025: Corner Detection, Feature Descriptors
- Corner detection techniques:
- Harris Corner Detection
- Shi-Tomasi Corner Detection
- Visual features matching:
- Scale-Invariant Feature Transform (SIFT)
- Oriented FAST and Rotated BRIEF (ORB)
- Corner detection techniques:
-
- Comparison of template matching methods in OpenCV
-
10/03/2025: Image Stitching, Face Detection
- Homography via RANSAC algorithm
- Creation of stitched image via smooth merging of transformed images
- Face detection via Cascade Classifiers (Haar Features, Viola-Jones algorithm)
-
- Via change detection:
- Frame Difference
- Background Subtraction (Average, Median)
- Via Gaussian Mixture Model (GMM)
- Position tracking via Kalman Filter
- Via change detection:
-
- Sparse Optical Flow - Lucas-Kanade Algorithm
- Dense Optical Flow - Gunnar-Farneback Algorithm
-
- Section A (All implemented):
- Fish segmentation in underwater images
- Homography matrix computation for player location mapping
- RANSAC algorithm for outlier detection
- Face detection with model improvement
- Color-based hand segmentation using HSV/YCbCr color spaces
- License plate character enhancement and classification
- Section B (2 implemented):
- Cat-dog image classification using XGBoost
- Crops classification using XGBoost
- Section A (All implemented):
Links to relevant reference materials are present as comments in the above notebooks.