06.08.2013 Views

A COMPARISON AND EVALUATION OF MOTION INDEXING ...

A COMPARISON AND EVALUATION OF MOTION INDEXING ...

A COMPARISON AND EVALUATION OF MOTION INDEXING ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

where Vr is a matrix with the first r columns of matrix V and Σr is the upper left<br />

r × r block of matrix Σ. The matrix ˜ Σ is a D × D diagonal matrix, obtained fromΣ<br />

with replacing all discarded singular values with σ. I is the identity matrix and n is<br />

total number of frames.<br />

Once the value of mean ¯x and covariance C are calculated, we estimate the<br />

likelihood of the frames k + 1 through k + T having the Gaussian distribution defined<br />

by the mean and covariance, where The value of T and K are set same and is equal<br />

to 150 frames. This estimation is done by computing the Mahalonobis distance H for<br />

frames k + 1 through k + T using the equation below :<br />

H = 1<br />

T ·<br />

k+T <br />

i=k+1<br />

23<br />

(xi − ¯xi) T C −1 (xi − ¯xi) . (2.8)<br />

The Mahalanobis measurement is independent of data because distances are calcu-<br />

lated in units of standard deviation from the mean and are therefore good to discrim-<br />

inate frames. A reasonable estimate of T is half of the anticipated number of frames<br />

in the smallest behavior in the database.<br />

The average Mahalanobis distance, H, is then computed iteratively by increasing k<br />

by a small number of frames, △, and repeating the estimation of distribution for the<br />

first k frames. This time the value of k is increased by △ and H also corresponds to<br />

a new distribution. The value of △ is set to 10 frames.<br />

The Mahalanobis distance, H, has some characterstic patterns. When the mo-<br />

tion frames corresponding to a similar action appear, the Mahalanobis distance de-<br />

creases gradually and reaches a valley point (local minima). However, when the<br />

frames of a different behavior appear, there is an increase in the value of H. The<br />

subsequent decrease in H begins when the frames of the new behavior start appearing<br />

and as a result, the distribution begins to accommodate the new behavior. Thus the<br />

segmentation takes place when H forms a peak. The algorithm declares a segment

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!