Panoptic Segmentation: Combines both semantic and instance segmentation approaches[2]
Common Techniques:
Thresholding: Simplest method that converts grayscale images to binary based on a threshold value[2][7]
Edge-Based Segmentation: Identifies object boundaries by detecting discontinuities in pixel intensity[7]
Region-Based Segmentation: Divides images based on predefined criteria for pixel similarity[7]
Clustering-Based Segmentation: Groups pixels into clusters based on characteristics like color or intensity[7]
Watershed Algorithm: Treats grayscale image as a topographic surface to find region boundaries[7]
Object Recognition and Shape Representation
Concepts:
Object recognition aims to identify and locate objects in images regardless of size, situation, and surroundings[4]
Shape-based approaches focus on recognizing objects by their shape characteristics[3][8]
Shape representation methods encode the geometric properties of objects for recognition[3]
Techniques:
Holistic Shape Descriptors: Capture global geometric relationships between object boundaries[8]
Boundary Structure Segmentation: Integrates region and boundary grouping principles with shape-based matching[8]
Neural Network Approaches: Use artificial neural networks to learn shape patterns for recognition[3]
Haar-like Features: Rectangular features that encode details of object shape and structure[1][4]
UNIT V
Pattern Analysis
Clustering
K-Means:
An algorithm that partitions data into k clusters, representing each cluster by its centroid (mean of cluster points)[16]
Process: Randomly initialize k centroids, assign points to nearest centroid, recalculate centroids, repeat until convergence[16]
Used for data segmentation, feature learning, and data preprocessing[16]
K-Medoids:
A robust alternative to K-means that represents clusters by actual data points (medoids) instead of means[11][16]
While K-means minimizes within-cluster sum-of-squares, K-medoids minimizes sum of distances between each point and its cluster medoid[16]
Less sensitive to noise and outliers than K-means[11]
Applications: Facial recognition (medoid represents a typical photo of the person to recognize)[16]
Classification
Supervised Learning:
Learning approach where the algorithm learns from labeled training data[12][17]
Algorithm iteratively makes predictions and adjusts based on correct answers[17]
Requires human intervention to label training data appropriately[17]
Example: Predicting commute time based on weather conditions and time of day[17]
Unsupervised Learning:
Learning approach where the algorithm discovers inherent structure in unlabeled data without supervision[17]
No labeled data or loss functions are used[12]
Models work independently to discover patterns and relationships[17]
Semi-Supervised Learning:
Uses both labeled and unlabeled data samples in the training process[12]
Modifies or supplements a supervised algorithm ("base learner") to incorporate information from unlabeled examples[12]
Labeled data points ground the predictions and add structure to the learning problem[12]
Useful when obtaining labeled data is expensive or time-consuming[12]
Classifiers
KNN (K-Nearest Neighbors):
A non-parametric classification method that assigns objects to classes based on the majority vote of their k nearest neighbors[13][18]
Process: For a new data point, find the k closest training points and assign the most common class among them[13][18]
Special case: When k=1, the object is simply assigned to the class of the single nearest neighbor[18]
Parameters: k (number of neighbors), distance measure (e.g., Euclidean, Manhattan), weighted/unweighted approach[18]
ANN (Approximate Nearest Neighbor):
An algorithm that returns points whose distance from the query is at most c times the distance to the nearest points[18]
Uses a heuristic approach based on searching a limited size N of candidate points[18]
In prediction, ANN starts search on a small subset of candidate points, unlike KNN which uses all training points[18]
Uses distributed KMeans clustering to find centroids that can vote for class labels[18]
Advantage: Much faster than KNN for large datasets while maintaining reasonable accuracy[18]
Viola-Jones Algorithm
Overview:
A real-time face detection framework developed by Paul Viola and Michael Jones in 2001[1][4]
Considered one of the state-of-the-art face detectors with detection speed of 0.07 seconds per frame (300×300) in original implementation[1]
Processes images at approximately 15 Hz (15 frames per second)[6]
15 times faster than previous detectors of comparable accuracy[6]
Features:
Uses Haar-like rectangular features that can be computed efficiently[1]
Features include two-rectangle, three-rectangle, and four-rectangle patterns[1]
In a 24×24 window, there are approximately 160,000+ possible features[4][9]
Features detect edges, lines, and center-surround patterns characteristic of human faces[1][4]
Integral Images:
A method for rapid feature calculation that requires only four array references regardless of filter size[1]
Defined as the sum of all pixels above and to the left of a given point[1]
Computed in a single pass using recurrence relations[1]
Enables real-time computation of rectangular features[1][4]
Boosting:
Adaboost selects the most discriminative features and combines weak classifiers into a strong classifier[1][4]
Each weak classifier is based on a single Haar-like feature with an optimal threshold[1]
During training, weights of misclassified examples are increased to focus learning on difficult cases[6]
Final detector in Viola-Jones used 4,900 features in a 32-layer cascade[1]
Cascade Structure:
Organizes classifiers into a cascade (sequence) where each stage is more complex than the previous[1]
Each classifier in the cascade uses more features than the previous one[1]
Early stages rapidly reject obvious non-faces with few features (first stage uses only two features)[1]
Positive results from one stage trigger the next classifier in the cascade[1]
Allows efficient rejection of non-face windows early in the detection process[1]
Training time: "weeks" on a 466 MHz Sun workstation (original implementation)[6]
Activity Recognition in Videos
Methods:
Hand-Crafted Motion Features: Combine static image features with time information to capture temporal video information[14]
Spatio-Temporal Interest Points: Local features that capture motion events in videos; can be adapted to size, frequency, and velocity of moving patterns[14]
Optical Flow: Calculates motion between image frames by analyzing edges, corners, and interest points[14]
Space-Time Extensions: Extends spatial features to include temporal dimensions for capturing motion[14]
Significance:
Enables automatic recognition of human actions in videos[14]
Applications include surveillance, human-computer interaction, content-based video retrieval, and behavioral analysis[14]
Provides robust representations of complex motion patterns that are stable with respect to transformations[14]
Allows for classification of realistic videos without manual annotation using approaches like SVM (Support Vector Machines)[14]
UNIT VI
Dimensionality Reduction
PCA (Principal Component Analysis):
A statistical technique that reduces data dimensionality while retaining maximum variance
Process: Identify principal components (orthogonal directions of maximum variance) and project data onto these components
Applications: Face recognition, image compression, data visualization
LDA (Linear Discriminant Analysis):
A supervised dimensionality reduction technique that maximizes class separability
Unlike PCA which focuses on variance, LDA focuses on finding axes that maximize between-class variance while minimizing within-class variance
Applications: Face recognition, marketing, biomedical studies
ICA (Independent Component Analysis):
A computational method for separating a multivariate signal into additive, statistically independent components
Assumes that components are non-Gaussian and mutually independent
Applications: Blind source separation, feature extraction, signal processing
Non-parametric Methods
Definition:
Statistical methods that do not make assumptions about the underlying distribution of the data
Do not have fixed parameters to represent the distribution, but instead use the data itself to determine the output
Flexible approaches that adapt to the structure of the data
Applications:
Pattern recognition when the underlying distribution is unknown
Density estimation without assuming a specific functional form
Classification and regression tasks with complex, non-linear decision boundaries
Examples include KNN, decision trees, and kernel density estimation
Deep Neural Architectures and Applications
Convolutional Neural Networks (CNNs):
Architectures specialized for processing grid-like data such as images
Use convolutional layers, pooling layers, and fully connected layers