Advanced Computer Vision
BTAIC702 | Semester VII
CO1: Demonstrate a solid understanding of fundamental computer vision & image processing concepts.
Prepared By: Mr. A. D. Thorat
UNIT 1 -Introduction to Computer Vision & Image Processing
What is Computer Vision?
CV Applications
Image Representation
Digital Image: 2D discrete signal
Resolution: Width × Height × Channels
Image Processing Operations
Image Filtering & Convolution
Convolution: Mathematical operation combining two signals
Image Enhancement Overview
Improving image quality for analysis:
Contrast Stretching
Expand pixel intensity range
Formula: O = ((I - min) / (max - min)) × 255
Histogram Equalization
Redistribute intensity values uniformly:
Limitation: May cause over-enhancement
Adaptive Histogram Equalization (AHE)
Process image in small regions:
Better for medical and specialized images
Wavelet-based Enhancement
Multi-scale image decomposition:
Useful for edge enhancement and denoising
Smoothing Filters (Noise Reduction)
Remove noise and reduce high frequencies:
Trade-off: Smoothing vs. detail preservation
Linear Smoothing Filters
Box Filter: Simple average of neighborhood
Gaussian Filter: Weighted average (bell curve)
Non-linear Smoothing Filters
Sharpening & Edge Enhancement
Laplacian Filter: Second derivative operator
Opposite of smoothing: Enhance high frequencies
Filtering: Practical Applications
Advanced Computer Vision
BTAIC702 | Semester VII
CO2: Apply various computer vision algorithms and techniques in image processing.
Prepared By: Mr. A. D. Thorat
UNIT 2 -Image Transformation & Restoration
Image Transformation Basics
Convert image to different domain:
Geometric Transformations
Scaling: Resize image dimensions
Rotation: Rotate around center point
Discrete Fourier Transform (DFT)
Converts spatial image to frequency domain:
Output: Magnitude and Phase components
Discrete Cosine Transform (DCT)
Uses only cosine basis functions:
Better energy concentration in fewer coefficients
Discrete Sine Transform (DST)
Uses only sine basis functions:
Good for handling boundary conditions
Walsh-Hadamard Transform
Uses rectangular pulse basis functions:
Simpler than Fourier but less optimal
Slant Transform
Combination of Walsh and Fourier properties:
Useful in image compression applications
Haar Transform
First wavelet transform basis:
Used in compression and feature extraction
Noise Models Overview
Understanding noise characteristics:
Critical for selecting restoration methods
Gaussian & Rayleigh Noise
Gaussian: Bell curve distribution (most common)
Rayleigh: Asymmetric, positive values
Erlang & Exponential Noise
Erlang: Generalized exponential distribution
Exponential: Memoryless distribution
Uniform & Salt & Pepper Noise
Uniform: Equal probability across range
Salt & Pepper: Impulse noise
Mean Filters for Restoration
Arithmetic, Geometric, Harmonic averaging:
Trade-off: Noise reduction vs. detail loss
Contraharmonic Mean Filter
Handles mixed noise effectively:
Good for salt & pepper noise restoration
Median Filter
Non-linear ordering-based filter:
Widely used in medical and real-world applications
Midpoint Filter
Average of min and max in neighborhood:
Balance between noise reduction and detail
Restoration Workflow
Evaluating Restoration Quality
PSNR: Peak Signal-to-Noise Ratio
SSIM: Structural Similarity Index
Restoration Applications
Advanced Computer Vision
BTAIC702 | Semester VII
CO3: Apply various computer vision algorithms and techniques to solve real-world engineering problems, such as object recognition, motion analysis, and texture.
Prepared By: Mr. A. D. Thorat
UNIT 3 - Segmentation, Texture & Motion Analysis
Image Segmentation
Divide image into meaningful regions:
Edge Detection Overview
Find object boundaries using gradients:
Foundation for segmentation and recognition
Prewitt Edge Detector
3×3 gradient-based operator:
Good for high contrast edges
Sobel Edge Detector
Weighted gradient operator:
Widely used in edge detection pipelines
Canny Edge Detector
Multi-stage optimal edge detection:
Most powerful, used extensively in practice
Thresholding Techniques
Convert grayscale to binary image:
Critical for segmentation and object detection
Region-based Segmentation
Group pixels into connected regions:
More robust than edge-based methods
Texture Analysis Basics
Visual appearance and surface properties:
Key features: Coarseness, contrast, directionality
Gray Level Co-occurrence Matrix (GLCM)
Statistical texture descriptor:
Effective for regular and structured textures
Local Binary Patterns (LBP)
Local texture descriptor:
Widely used in face recognition and detection
Gabor Filters for Texture
Frequency and orientation analysis:
Excellent for directional texture features
Laws' Texture Energy Measures
Convolution-based texture features:
Efficient alternative to GLCM
Texture-based Segmentation
Group regions with similar texture:
Material classification, scene understanding
Motion Analysis Overview
Analyze movement between frames:
Critical for video understanding and tracking
Optical Flow Estimation
Estimate apparent pixel motion:
Foundation of video analysis and action recognition
Lucas-Kanade Method
Sparse optical flow estimation:
Widely used in feature tracking
Horn-Schunck Method
Dense optical flow estimation:
Complete motion field but computationally heavier
Background Subtraction & Deep Optical Flow
Background Subtraction: Detect foreground objects
FlowNet: Deep learning optical flow
Motion-based Segmentation
Segment regions by motion patterns:
Useful for surveillance and action analysis
Advanced Computer Vision
BTAIC702 | Semester VII
CO4:Analyze and interpret results obtained from computer vision algorithms, and critically evaluate their performance and limitations.
Prepared By: Mr. A. D. Thorat
UNIT 4 - Feature Matching Algorithms
Feature Extraction Overview
Extract distinctive, invariant features:
SIFT: Scale-Invariant Feature Transform
Most influential feature descriptor:
Industry standard for many years
SIFT: Keypoint Detection
Find characteristic points:
Detects corners and blobs at multiple scales
SIFT: Descriptor Computation
Create rotation-invariant descriptors:
128-dimensional vector per keypoint
SURF: Speeded-Up Robust Features
Faster SIFT alternative:
Good speed-accuracy trade-off
BRISK: Binary Robust Invariant Scalable Keypoints
Binary descriptor for efficiency:
Ideal for mobile and real-time applications
Feature Descriptor Comparison
SIFT
Accurate, slow, patented
SURF
Fast, good accuracy
BRISK
Very fast, binary
Feature Representation
Build features for classification:
Critical preprocessing step
Bag-of-Words Model
Image representation for classification:
Effective for image classification tasks
Vector Quantization
Discretize feature space:
Reduces feature dimensionality
Feature Classification Methods
Classify images using features:
Choose based on data and computational constraints
Support Vector Machines (SVM)
Find optimal decision boundary:
Excellent for binary and multi-class problems
K-Nearest Neighbors (KNN)
Instance-based classification:
Good baseline, sensitive to K selection
Random Forest Classifier
Ensemble of decision trees:
Robust and handles high-dimensional data well
Feature Matching Techniques
Match features between images:
Foundation for image stitching and registration
RANSAC: Robust Matching
Remove outliers in feature matches:
Essential for image matching robustness
Feature Matching Applications
Feature Extraction Pipeline
Best Practices & Considerations
Optimize feature extraction:
Advanced Computer Vision
BTAIC702 | Semester VII
CO5:Implement and evaluate computer vision algorithms using programming languages and libraries commonly used in the field, such as Python and OpenCV.
Prepared By: Mr. A. D. Thorat
UNIT 5 - Computer Vision with Deep Learning
Deep Learning in Computer Vision
Revolutionary approach to visual recognition:
Convolutional Neural Networks (CNN)
Specialized for image processing:
Backbone of modern computer vision
CNN Architecture Design
Sequence of operations:
Hierarchical feature learning
Classic CNN Architectures
Attention Mechanisms
Focus on important image regions:
Modern enhancement to CNN architectures
Vision Transformers (ViT)
Transformer architecture for vision:
State-of-the-art on many benchmarks
Image Classification with Deep Learning
Assign category labels to images:
Practical applications: Medical, autonomous systems
Generative Models Overview
Generate new images from data:
Create synthetic images and style transfer
Generative Adversarial Networks (GAN)
Generator vs. Discriminator game:
Applications: Style transfer, image synthesis
Object Detection Overview
Localize and classify objects:
Critical for surveillance, autonomous vehicles
Region-based CNN (R-CNN)
First deep learning object detector:
Foundation for modern detectors
Fast R-CNN
Improved efficiency and accuracy:
Practical improvement over R-CNN
Faster R-CNN & Mask R-CNN
Faster R-CNN: Region Proposal Networks
Mask R-CNN: Instance segmentation
SSD: Single Shot Detection
Fast one-stage detector:
Good balance between speed and accuracy
YOLO: You Only Look Once
Fastest real-time detector:
Industry standard for real-time applications
Semantic Segmentation
Pixel-level classification:
Precise object boundary delineation
U-Net: Semantic Segmentation
Popular encoder-decoder network:
Standard for medical image segmentation
Centroid-based Object Tracking
Follow objects across frames:
Simple but effective approach for multi-object tracking
Deep Learning: Applications & Challenges
Applications: Autonomous vehicles, medical diagnosis, robotics
Challenges: Data requirements, computational cost, interpretability
Active research area with rapid advancement