330 likes | 557 Views
STRG-Index: Spatio-Temporal Region Graph Indexing for Large Video Databases. Jeongkyu Lee University of Bridgeport. Outline. Introduction Graph-based Approaches Distance Measure Clustering Object Graph STRG-Index Structure Experiments Conclusions and Future works. Introduction.
E N D
STRG-Index: Spatio-Temporal Region Graph Indexing for Large Video Databases Jeongkyu Lee University of Bridgeport
Outline • Introduction • Graph-based Approaches • Distance Measure • Clustering Object Graph • STRG-Index Structure • Experiments • Conclusions and Future works
Introduction • Introduction • Content-based video retrieval systems • Issues in video retrieval systems • Graph-based Approaches • Distance Measure • Clustering Object Graph • STRG-Index Structure • Experiments • Conclusions and Future works
Content-based video retrieval system • Visual feature based retrieval systems : color, shapes, and textures of key frames • Keyword based retrieval systems : manual annotation of segments • Object based retrieval systems : spatial and temporal features of extracted objects
Issues in video retrieval systems • How to parse a video efficiently : low level feature or high level feature • How to compute (dis)similarity : considering time (e.g. Lp-norms, DTW, LCS, and ED) • How to index and retrieve the units : spatial and temporal relationships (3DR-tree, RT-tree, and M-tree)
Our Solution is Graph-based Approaches
Graph-based approach • Introduction • Graph-based Approaches • Motivations for graph-based approach • Region Adjacency Graph • Spatio-Temporal Region Graph • Object Graph • Background Graph • Distance Measure • Clustering Object Graph • STRG-Index Structure • Experiments • Conclusions and Future works
Motivations for graph-based approach • Graph is a powerful tool for pattern representation and classification • Key issues • Modeling unstructured data using a graph : spatial and temporal relationships • Reducing high computational complexity : graph decomposition, indexing • Graph matching to compute (dis)simialrity : graph edit distance
Region Adjacency Graph • Region segmentation using EDISON (Edge Detection and Image Segmentation System) • Region Adjacency Graph (RAG)
RAG cont. • Example Frame #14 Region segmentation RAG
STRG cont. Frame #14 Frame #15 Frame #16 Region segmentation STRG Magnifying part of STRG
STRG cont. • STRG • Temporally connected RAGs • Represent temporal as well as spatial relationships among segmented regions
Spatio-Temporal Region Graph • Neighborhood Graph • Finding corresponding neighborhood graph over RAGs : using most common subgraph and maximal clique detection SimGraph (G, G’) = |Gc| / min (G, G’)
Object Graph • Object Region Graph (ORG) • Extract temporal subgraphs, which represent a trjectory of tracked regions • Temporal relationships • Object Graph (OG) • Merge ORGs into OG • A linear graph connected by only temporal edges Sample Object ORGs Merged OG
Background Graph • Backgound Graph (BG) • Foreground/background distinction • OG elimination • Nodes overlapping • Reducing index size BG Part of STRG
Distance measure • Introduction • Graph-based Approaches • Distance Measure • Extended Graph Edit Distance • Metric vs. non-metric spaces • Clustering Object Graph • STRG-Index Structure • Experiments • Conclusions and Future works
Extended Graph Edit Distance • Good distance metric for OGs requires • Lower computation, handling time-varying, and considering attribute value • Extended Graph Edit Distance (EGED) Let and be s-th and t-th OGs
Metric vs. non-metric spaces • EGED is not in metric space, since it does not satisfy the triangle inequality. • Example: {0}, {1, 1}, and {2, 2, 3}. • EGED cannot be used for indexing key values. • If gi is a fixed constant, then EGED is a metric. • It is proved by using induction. • We refer EGED in metric as EGEDM. • EGEDM can be used for indexing key values.
Clustering Object Graph • Introduction • Graph-based Approaches • Distance Measure • Clustering Object Graph • Purpose of clustering in video processing • EM clustering for OG • STRG-Index Structure • Experiments • Conclusions and Future works
Purpose of clustering • Graph-based video indexing needs clusters of OGs for more effective indexing. • Each cluster has a similar pattern of OGs. • Each cluster forms a cluster node of indexing tree as a branch node. • For this clustering, we use EM and EGED.
EM clustering for OG • Gaussian mixture density with EGED • Log-likelihood function • Algorithm • E-step: Compute the conditional expectation of the complete log-likelihood • M-step: Update the parameter estimates
STRG-Index structure • Introduction • Graph-based Approaches • Distance Measure • Clustering Object Graph • STRG-Index Structure • STRG-Index tree structure • STRG-Index construction • Search algorithm using STRG-Index • Experiments • Conclusions and Future works
STRG-Index tree structure • [Top-level] Root node: a BG for each record • [Mid-level] Cluster node: a centroid OG of cluster for each record • [Low-level] Leaf node: OGs belonging to a cluster indexed by EGEDM(OGmem, OGclus) (a
STRG-Index construction • Root node: extracted BGs are stored. • All OGs sharing one background are in a same cluster node. • This can reduce the index size significantly. • Cluster node: synthesized centroid OGs are stored. • Each record is a representative OG of each cluster. • This centroid OG can be updated when member are changed. • Leaf node: actual OGs in a cluster are stored. • Records are indexed by EGEDM. • Key value is EGEDM (OGmem, OGclus)
Search algorithm using STRG-Index • k-NN Search Algorithm Algorithm: k-NN Search Algorithm Input: a query example q, a STRG-Index TR, and k Output:k most similar OGs 1: extract OGq and BGgfromq; 2: find the similar BG for BGq in root node of TR using SimGraph; 3: find the similar OGclus for OGqin cluster node of TR using EGED; 4: Keyq = EGEDM(OGq, OGclus); 5: find k-nearest neighbor OGs to OGq using Key in leaf node of TR and Keyq 6: returnOGs;
Experimental results • Introduction • Graph-based Approaches • Distance Measure • Clustering Object Graph • STRG-Index Structure • Experiments • Results of clustering • Indexing power • Real video streams • Conclusions and Future works
Results of clustering • EM-EGED performance Clustering Error Rate Distortion
Indexing power • STRG-Index Performance Building Index Time K-NN query performance Accuracy
Real video streams • Real video data set
Conclusions • Introduction • Graph-based Approaches • Distance Measure • Clustering Object Graph • STRG-Index Structure • Experiments • Conclusions
Conclusions • We propose a new data structure, STRG for video based on graphs. It represents spatial and temporal relationships of video objects • We propose a new distance function, EGED in both non-metric and metric spaces for matching and indexing, respectively. • We propose a new indexing method, STRG-Index, which is faster and more accurate indexing.