1. Field of the Invention
The present invention relates to a method for identifying segment boundaries based on affinity or similarity matrices.
2. Description of the Related Art
Early techniques of automatic extraction of videos focused on cut-boundary detection. The major techniques used have been detection of pixel differences, statistical differences, histogram comparisons, edge differences, compression differences and motion vectors. Histograms are the most common method used to detect shot boundaries. The simplest method computes gray level histograms of the images. Previously, a frame-indexed novelty score was typically computed by correlating a small kernel function along the main diagonal of the similarity matrix, and local maxima in the novelty score were taken to be the segment boundaries.
A number of kernel correlation functions have previously been described for segmentation in videos. Scale-space (SS) analysis compares adjacent time samples and corresponds to using a kernel with non-zero elements only in the first diagonal above or below the main diagonal, i.e. the elements S(n, n+1). Diagonal cross similarity (DCS), is an alternative detection approach. A DCS kernel (KDCS), when centered on a segment boundary, weights only elements of S that compare time-samples separated by a fixed interval (L) from different segments. In the correlation calculation, the elements of S for which KDCS>0 lie on the Lth diagonal above (and below) the main diagonal of S. A full similarity kernel (KFS), and cross similarity kernel (KCS) have also been described.
Most media segmentation techniques threshold on adjacent frame similarity values rather than incorporating a classifier. Only recently have accelerated exact kNN classifiers been adopted for video shot segmentation analysis. However, the frame being evaluated was only compared with earlier in time frames to generate a similarity feature for use with the classifier and the L1 measure was used to calculate the similarity values. In addition, the kNN classifier was not utilized directly with the similarity value and temporal smoothing of the classification outputs was required.
Media segmentation is an increasingly important problem. For example, numerous video retrieval and management tasks rely on accurate segmentation of scene boundaries.
The present invention has been made in view of the above circumstances and provides a method for analyzing data to determine segment boundaries based on combining similarity analysis and supervised classification. The approach can be applied to segmentation of any ordered media, including text, audio streams, or video. It can also be used for cross-media analysis in which heterogeneous features are combined, such as low-level video features and textual features extracted from an accompanying transcript. In general in each of these forms of media the data streams are made up of ordered data subsets. A data subset is an element of a partitioning of the stream of data. Each element of the stream of data may be contained in one or more data subsets, e.g. a video stream can be divided into data subsets corresponding to each video frame. Often the ordering of the data subsets is temporal.
Two distinct types of novel data subset-indexed feature vectors are detailed. One includes values across multiple temporal scales obtained from kernel functions of varying width. The other includes a variety of raw similarity scores between data subsets in a neighborhood of the subset in question. In addition, a novel use of a ‘modified Chi squared’ similarity measure is described to compute the initial pairwise similarity values stored in the similarity matrix.
Preferred embodiments of the present invention will be described in detail based on the following figures, wherein:
The figures are more fully described in the Detailed Description of the Invention.
Matrix Embedding
In one embodiment of the invention, low-level features are computed to represent each data subset in the stream of data. Any feature parameterization for which inter-subset data similarity may be reliably quantified can be used. A measure of the similarity (or dissimilarity) (D) between subset histograms Xi and Xj can then be calculated for every pair of subset data ‘i’ and ‘j’ in the stream of data as shown in equation 1. A similarity matrix, S, as depicted in
S(i, j)=D(Xi, Xj) equation 1.
In
Similarity Measures
Pairwise comparisons of similarity are computed between the extracted low-level histogram features, where Xi, Xj are low-level features corresponding to the ith and jth respective data subsets of the stream of data. The comparisons can be based on difference, ratio, integral and derivative functions. Difference functions can be finite future and finite past. When the comparison is to a data subset which occurs earlier in time we refer to past difference. Future difference is when the comparison is to a data subset that occurs later in time. A number of difference measures of similarity are considered including: L1, L2, ‘Chi squared’ measure (χ2), ‘modified Chi squared’ measure (Mχ2). Definitions of those measures of dissimilarity include that given in equations 2-5. For all these measures, the similarity matrix S has minimum dissimilarity (zero) along the leading diagonal where each subset is compared to itself.
where P=the dimensionality of the low level features associated with each data subset.
Segmentation via Kernel Correlation
Generally, subsets within a coherent segment exhibit low dissimilarity, while subsets in adjacent coherent segments exhibit high dissimilarity. Ideally, the within-segment dissimilarity is zero, while the between segment dissimilarity is large. This produces a checkerboard pattern along the main diagonal of S. Thus locating such checkerboard patterns in S provides a reasonable segmentation method. In one embodiment of the invention, a correlation score matches regions of S to an ideal checkerboard kernel matrix, K. Specifically, the novelty score based on an L×L kernel K is defined by equation 6.
In one embodiment of the invention, the scale (L) of the kernel is altered from small values which tend to do better at finding boundaries between shorter segments, to large values which are better at finding boundaries between longer segments.
Calculating the entire similarity matrix S requires N2 computations, where N is the number of data subsets. In practice, there is no reason to calculate similarity matrix values beyond the extent of the kernel, i.e. elements S(i, j) where |i−j|>L. Additionally, because both S and K are typically symmetric, many computations are redundant. For this reason, with one embodiment of the invention the similarity matrix is computed only in a small portion of S near the main diagonal, and the data stored in the “lag domain” according to equation 7,
Slag(n,l)=S(n,n+l) equation 7
where n=1, . . . N and l=1, . . . L and L<<N. Thus the algorithmic complexity is reduced to N.
Kernel Functions for Media Segmentation
The cross similarity kernel (KCS) and three other previously described kernels (full similarity, KFS, scale-space, KSS and diagonal cross similarity, KDCS) are graphically depicted in
The KCS is the matched filter for an ideal boundary segment boundary in the L1 similarity matrix. The KCS(shown in
The KFS (shown in
Feature Vectors
Kernel-Based Feature Vectors
In one embodiment of the invention “kernel-based” feature vectors are used to evaluate the data. A set of different scales L are considered. For each L in λ, a novelty score is calculated from the similarity matrix via a kernel of scale L. This process is iterated over λ. Each of these novelty scores is concatenated into a feature vector (Fn) whose different entries correspond to the q different values of L in λ. For example, let λ={2, 3, 4, 5}, so q=|λ|=4. Then each data subset has an associated 4×1 feature vector that contains the q novelty scores. The feature vector associated with the nth subset is given by equation 10,
Fn=[v2(n),v3(n),v4(n),v5(n)] equation 10
where vL(n) denotes the novelty score computed using a kernel with width L for the nth data subset. This example illustrates an embodiment where r, the number of novelty scores in the feature vector, equals q the number of different scales L considered.
Raw Similarity Based Feature Vectors
In one embodiment of the invention feature vectors are directly derived from the “raw pairwise similarity” data. Instead of using a kernel to compute a single value for a data subset, entries are placed in the feature vector for each non-zero position in the kernel. For example, when using the KCS feature vector with L=5, the nth data subset is represented by the column vector shown in equation 11.
Fn=[S(G)(n,n−4), . . . S(G)(n,n−1),S(G)(n+1,n−4), . . . S(G)(n+1, n−1), . . . , S(G)(n+2,n−4), . . . S(G)(n+2, n−1),S(G)(n+3, n−4), . . . S(G)(n+3,n−1)]T equation 11.
The raw similarity based feature vector typically increases the dimensionality of the feature vector, Fn, that is sent to a classifier, where r=|Fn|. The CS and FS kernels combine the advantages of the “row” kernel, the DCS, and the SS kernels. Specifically, the “row” kernel compares a current subset to past and future subsets. The DCS kernel compares past and future subsets to one another without the present subset. The SS kernel compares subsets in the present, past, and future to their immediate neighbors. The FS kernel directly combines all of this information by comparing all data subsets within L frames of the present subset. In this manner, the present subset is classified as a segment boundary based on a comprehensive local characterization of pairwise inter-subset similarity. The present subset is compared to past and future subsets directly. As well, the past and future subsets within a temporal distance L of the present subset are compared. Combining these features with supervised classification enables a more robust characterization of media segment boundaries, and enhanced performance in media segmentation.
In one embodiment of the invention the feature vector includes values obtained from more than one similarity matrix at a time. Alternatively, these similarity matrices could be embedded into a single similarity matrix of large dimension u. Thus in one embodiment a mixed audio visual data stream may be represented by two similarity matrices, one for the audio and one for the visual, where both contribute to a feature vector. Alternatively, in another embodiment both the audio and the visual similarity values would be entered into a u dimensional similarity matrix. In another embodiment using “kernel-based” feature vectors, novelty scores from more than one type of kernel contribute to the feature vector.
Using Classifiers for Media Segmentation
In one embodiment of the invention feature vectors are computed for each data subset in a set of training data. Then for each data subset in the test data, its feature vector is computed, and a supervised classifier is used to classify the data subset as cut-boundary or non-boundary. For example, using a kNN classifier, the k training subsets with feature vectors closest to the test data subset under consideration are selected. The subset is selected as a boundary if sufficiently many of these k nearest neighbors are boundaries. The sensitivity of the kNN classification is controlled using an integer parameter κ:1≦κ≦k. If at least κ out of the k nearest neighbors of the vector Fn in the training data are found to be boundaries, then the data subset ‘n’ is labeled as boundary or non-boundary respectively. In those embodiments of the invention shown in
Cut-Boundary Detection Experiments
In the following experiments the disclosed similarity based segmentation method is applied to determine the cut-boundary in video data streams as one embodiment of the invention. Each video frame is considered to be a data subset and histograms representative of the frame are extracted in the YUV color space. For each frame, a global YUV histogram and a block YUV histogram are extracted using a uniform 4×4 grid. Separate similarity matrices for the global histogram data, S(G) and for the block histogram data, S(B) are computed. Supervised binary kNN classification is employed to label each frame as either cut-boundary or non-boundary. This produces a consistent boundary detection scheme for comparing the various kernels. Frame-indexed data computed from S(G) and S(B) are concatenated to generate Fn and used to train and test the kNN classifier to detect cut (abrupt) segment boundaries. For testing, the reported TRECVID 2002 test data and evaluation software for the shot boundary detection task was utilized. TRECVID is a large-scale metric-based evaluation providing standard data used to compare various systems in video analysis. From TRECVID 2002, the average recall, defined in equation 12, and precision, defined in equation 13, for cut-detection was found to be 0.86 and 0.84, respectively. The test set is made up of almost 6 hours of video and 1466 cut-transitions, per the manual ground truth. For the kNN training, cross-validation was used and separate classifiers were trained for each video using the remaining videos in the test set. The results are combined for the entire test set. Throughout, k=11.
recall=# correct called boundary segments/(correct+missed) equation 12.
precision=# correct called boundary segments/(correct+incorrectly) equation 13.
Kernel-Based Feature Vectors
Novelty features for shot boundary detection with q=4 corresponding to kernels of extent L=2, 3, 4, 5 were used. For each L, a frame-indexed kernel correlation was separately calculated using S(G) and S(B) as in equation 6. For these experiments, we compute S(G) and S(B) using the similarity measure of equation 2. These novelty scores were concatenated, resulting in four novelty scores for each video frame for both the global and the block histogram features. This data was combined into a single 8×1 feature vector to represent each video frame ‘n’ as in equation 14. This example illustrates an embodiment where r, the number of novelty scores concatenated into the feature vector, exceeds q; here r is twice q.
Fn=[v2(G)(n),v3(G)(n),v4(G)(n),v5(G)(n),v2(B)(n),v3(B)(n),v4(B)(n),v5(B)(n)]T equation 14
where vL(G) denotes the novelty score computed using S(G) with kernel width L, and vL(B) denotes the novelty score computed using S(B) with kernel width L. In this embodiment of the invention the input data, {Fn:n=1, . . . , N}, is used with “ground truth” class labeling to train the kNN classifier.
Raw Similarity Based Feature Vectors
In a separate experiment, the performance using the raw pairwise similarity data as input to the kNN classifier was examined. In this embodiment of the invention two similarity matrices S(G) and S(B) are used to form Fn. For each kernel, the input feature vectors were constructed from those elements of S(G) and S(B) that contribute to the corresponding novelty score, where L=5. For example, for the CS features, the nth frame is represented by the column vector shown in equation 15.
The results appear in
Fn=[S(G)(n,n−1),S(G)(n,n−2), . . . S(G)(n,n−L), . . . S(B)(n,n−1),S(B)(n,n−2), . . . S(B)(n,n−L)]T equation 16.
All the approaches perform at a high level as input to the kNN classifier. Comparing
Similarity Measures
In a separate experiment different similarity measures are compared.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, and classifying one or more sets of similarity values to determine the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, and classifying the feature vector to determine the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, and classifying the feature vector to determine the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, further comprising training one or more classifiers based on one or more feature vectors derived from one or more sets of training data and a ground truth, and classifying the feature vector from the data subset based on one or more trained classifiers as boundary and non-boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, where similarity values of comparisons between the data subset and future data subsets contribute positively to the feature vector while similarity values of comparisons between the data subset and past data subsets do not contribute positively to the feature vector, and classifying the feature vector to determine the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, wherein classifying the feature vector further comprises storing the similarity values in one or more similarity matrix, and applying one or more kernel functions to the similarity matrix where the kernel functions have different extent L thereby extracting different similarity values from the similarity matrix.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, wherein classifying the feature vector further comprises storing the similarity values in one or more similarity matrix, and applying one or more kernel functions to the similarity matrix where the kernel functions have different extent L thereby extracting different similarity values from the similarity matrix, wherein a novelty score is generated for q different values of L, so that q novelty scores are generated by applying q kernel functions of different extent L to the similarity matrix.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, wherein classifying the feature vector further comprises storing the similarity values in one or more similarity matrix, and applying one or more kernel functions to the similarity matrix where the kernel functions have different extent L thereby extracting different similarity values from the similarity matrix, wherein a novelty score is generated for q different values of L, so that q novelty scores are generated by applying q kernel functions of different extent L to the similarity matrix, where the feature vector is produced by concatenating the q novelty scores.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, wherein classifying the feature vector further comprises storing the similarity values in one or more similarity matrix, and applying one or more kernel functions to the similarity matrix where the kernel functions have different extent L thereby extracting different similarity values from the similarity matrix, where the feature vector is produced by extracting the raw pairwise data of the similarity matrices for each non-zero value in the kernel function.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, generating one or more low level features of past, future and present data subsets, and the similarity value is calculated from the pairwise comparison of the low level features by a measure selected from the group of ‘modified Chi squared’ measure, ‘Chi squared’ measure, L1 and L2; where L1 is the sum of the modulai of the difference between the low level features of the data subset and the low level features of the past, future and present data subset and L2 is the sum of the square root of the square of the difference between the low level features of the data subset and the low level features of the past, future and present data subset, and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, generating one or more low level features of past, future and present data subsets, and the similarity value is calculated from the pairwise comparison of the low level features by a measure selected from the group of ‘modified Chi squared’ measure, ‘Chi squared’ measure, L1 and L2; where L1 is the sum of the modulai of the difference between the low level features of the data subset and the low level features of the past, future and present data subset and L2 is the sum of the square root of the square of the difference between the low level features of the data subset and the low level features of the past, future and present data subset, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, wherein classifying the feature vector further comprises storing the similarity values in one or more similarity matrix, and applying one or more kernel functions to the similarity matrix where the kernel functions have different extent L thereby extracting different similarity values from the similarity matrix, wherein a novelty score is generated for q different values of L, so that q novelty scores are generated by applying q kernel functions of different extent L to the similarity matrix, where the feature vector is produced by concatenating the q novelty scores.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, generating one or more low level features of past, future and present data subsets, and the similarity value is calculated from the pairwise comparison of the low level features by a measure selected from the group of ‘modified Chi squared’ measure, ‘Chi squared’ measure, L1 and L2; where L1 is the sum of the modulai of the difference between the low level features of the data subset and the low level features of the past, future and present data subset and L2 is the sum of the square root of the square of the difference between the low level features of the data subset and the low level features of the past, future and present data subset, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary, wherein classifying the feature vector further comprises storing the similarity values in one or more similarity matrix, and applying one or more kernel functions to the similarity matrix where the kernel functions have different extent L thereby extracting different similarity values from the similarity matrix, where the feature vector is produced by extracting the raw pairwise data of the similarity matrices for each non-zero value in the kernel function.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, and classifying the feature vector to determine the location of the segment boundary, wherein the kernel function is selected from the group of a cross similarity kernel and a full similarity kernel.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more low level features of past, future and present data subsets, and the similarity value is calculated from the pairwise comparison of the low level features by a measure selected from the group of ‘modified Chi squared’ measure, ‘Chi squared’ measure, L1 and L2; where L1 is the sum of the modulai of the difference between the low level features of the data subset and the low level features of the past, future and present data subset and L2 is the sum of the square root of the square of the difference between the low level features of the data subset and the low level features of the past, future and present data subset, generating one or more similarity matrix based on the similarity value, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more low level features of past, future and present data subsets, and the similarity value is calculated from the pairwise comparison of the low level features by a measure selected from the group of ‘modified Chi squared’ measure, ‘Chi squared’ measure, L1 and L2; where L1 is the sum of the modulai of the difference between the low level features of the data subset and the low level features of the past, future and present data subset and L2 is the sum of the square root of the square of the difference between the low level features of the data subset and the low level features of the past, future and present data subset, generating one or more similarity matrix based on the similarity value, applying a kernel function selected from the group of a cross similarity kernel and a full similarity kernel to the similarity matrix, extracting the raw pairwise data of the similarity matrix into a feature vector for each non-zero value in a kernel function, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, wherein the one or more similarity matrix is asymmetric, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, wherein the one or more similarity matrix is asymmetric, applying a kernel function selected from the group of a cross similarity kernel and a full similarity kernel to the similarity matrix, extracting the raw pairwise data of the similarity matrix into a feature vector for each non-zero value in a kernel function, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, wherein the novelty scores from non-consecutive values of L are entered into the feature vector, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, wherein the feature vector is generated by applying more than one type of kernel function to the similarity matrix, and classifying the feature vector to determine the location of the segment boundary.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, applying one or more kernel functions of different extent L to the similarity matrix to generate one or more novelty scores for each L, varying L such that for the q different values of L the corresponding q novelty scores are entered into a feature vector, where q>1, and classifying the feature vector to determine the location of the segment boundary, for determination of shot segmentation in a video.
A method for determining the location of a segment boundary in a stream of data comprising calculating one or more similarity values of one or more data subsets in the stream of data compared with one or more subsets of neighboring data, generating one or more similarity matrix based on the similarity value, applying a kernel function selected from the group of a cross similarity kernel and a full similarity kernel to the similarity matrix, extracting the raw pairwise data of the similarity matrix into a feature vector for each non-zero value in a kernel function, and classifying the feature vector to determine the location of the segment boundary, for determination of shot segmentation in a video.
A method for determining the location of a segment boundary in a stream of data comprising determining one or more similarity values by comparing a data subset within the stream of data with one or more data subsets selected from a group of present and future data subsets, where the future data subset occurs later in time than the data subset in the stream of data and the present data subset occurs at the same time as the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, a kNN classifier is used to determine the segment as boundary and non-boundary, and classifying one or more sets of similarity values to determine the segment boundary, wherein determining the segment boundary further comprises determining one or more similarity values by comparing the data subset within the stream of data with one or more data subsets selected from a group of past data subsets, where the past data subset occurs earlier in time than the data subset in the stream of data, further comprising the data subsets being compared are separated by an offset, where the offset is varied between 0 and a maximum offset L, and the comparison is carried out at one or more of the varied offsets and determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, producing a feature vector from the similarity values which includes at least one similarity value of the data subset compared with the future data subset, further comprising determining one or more similarity values by comparing past and future data subsets within L data subsets from the data subset within the stream of data with one or more data subsets selected from a group of past and future data subsets, and producing a feature vector from the similarity values of the data subset and the similarity values of past and future data subsets, and classifying the feature vector to determine the segment boundary.
A method for comparing a data subset with a neighboring data subset to determine a segment boundary comprising means for calculating one or more similarity values based on comparing one or more data subsets to one or more subsets of neighboring data, means for generating one or more similarity matrix from the similarity values, means for extracting raw pairwise data from the similarity matrix, where for each non-zero value in the kernel function the raw pairwise data of the matrix is extracted, where the kernel functions are selected from the group of a cross similarity kernel and a full similarity kernel, means for generating a feature vector from the extracted raw pairwise data, and means for classifying the feature vector with a classifier.
A method for comparing a data subset with a neighboring data subset to determine a segment boundary comprising means for calculating one or more similarity values based on comparing one or more data subsets to one or more subsets of neighboring data, means for generating one or more similarity matrix from the similarity values, means for extracting raw pairwise data from the similarity matrix, where for each non-zero value in the kernel function the raw pairwise data of the matrix is extracted, where the kernel functions are selected from the group of a cross similarity kernel and a full similarity kernel, means for generating a feature vector from the extracted raw pairwise data, and means for classifying the feature vector with a classifier, further comprising means for training a classifier with one or more feature vectors derived from one or more sets of training data and a ground truth class labeling, and means for classifying the feature vector with the trained classifier to determine the segment boundary.
A program of instructions executable by a computer to perform a function of determining segment boundaries in a stream of test data, the function comprising the steps of calculating one or more similarity values based on comparing one or more data subsets to one or more subsets of neighboring data, generating one or more similarity matrix from the similarity values, generating a feature vector by applying one or more kernel functions to the similarity matrices where the kernel functions are selected from the group of a cross similarity kernel and a full similarity kernel, training a classifier with feature vectors generated from one or more training sets of data and a ground truth class labeling, and classifying the feature vector from the test data with the trained classifier and similar feature vectors to determine the segment boundaries.
A program of instructions executable by a computer to perform a function of determining segment boundaries in a stream of test data, the function comprising the steps of calculating one or more similarity values based on comparing one or more data subsets to one or more subsets of neighboring data, generating one or more similarity matrix from the similarity values, generating a feature vector by applying one or more kernel functions to the similarity matrices where the kernel functions are selected from the group of a cross similarity kernel and a full similarity kernel, further comprising applying one or more kernel correlation functions to one or more similarity matrix to generate one or more novelty scores, and generating the feature vector by entering the novelty scores obtained for different kernel correlation function widths, training a classifier with feature vectors generated from one or more training sets of data and a ground truth class labeling, and classifying the feature vector from the test data with the trained classifier and similar feature vectors to determine the segment boundaries.
A program of instructions executable by a computer to perform a function of determining segment boundaries in a stream of test data, the function comprising the steps of calculating one or more similarity values based on comparing one or more data subsets to one or more subsets of neighboring data, generating one or more similarity matrix from the similarity values, generating a feature vector by applying one or more kernel functions to the similarity matrices where the kernel functions are selected from the group of a cross similarity kernel and a full similarity kernel, further comprising applying one or more kernel correlation functions to one or more similarity matrix, and extracting for each non-zero value in the kernel correlation function the raw pairwise data of the similarity matrix into the feature vector, training a classifier with feature vectors generated from one or more training sets of data and a ground truth class labeling, and classifying the feature vector from the test data with the trained classifier and similar feature vectors to determine the segment boundaries.
A system or apparatus for identifying a boundary and non-boundary in a stream of data, wherein the identification comprises one or more processors capable of calculating similarity values for each data subset in the stream of data, capable of creating one or more similarity matrices, capable of applying kernel functions to the matrices, capable of generating feature vectors, and classifying the data subset and a machine readable medium including operations stored thereon that when processed by the one or more processors cause a system to perform the steps of creating the similarity values for each data subset in the stream of data, creating one or more similarity matrices; applying kernel functions to the matrices, generating the feature vectors and classifying the data subset as boundary and non-boundary.
Number | Name | Date | Kind |
---|---|---|---|
6072542 | Wilcox et al. | Jun 2000 | A |
6366296 | Boreczky et al. | Apr 2002 | B1 |
6404925 | Foote et al. | Jun 2002 | B1 |
6493042 | Bozdagi et al. | Dec 2002 | B1 |
6535639 | Uchihachi et al. | Mar 2003 | B1 |
6542869 | Foote | Apr 2003 | B1 |
6570555 | Prevost et al. | May 2003 | B1 |
6751354 | Foote et al. | Jun 2004 | B2 |
6774917 | Foote et al. | Aug 2004 | B1 |
6807361 | Girgensohn et al. | Oct 2004 | B1 |
7123769 | Xiong | Oct 2006 | B2 |
7151852 | Gong et al. | Dec 2006 | B2 |
7177470 | Jasinschi et al. | Feb 2007 | B2 |
20030160944 | Foote et al. | Aug 2003 | A1 |
20040208377 | Loui et al. | Oct 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20060107216 A1 | May 2006 | US |