13.08.2018 Views

[Studies in Computational Intelligence 481] Artur Babiarz, Robert Bieda, Karol Jędrasiak, Aleksander Nawrat (auth.), Aleksander Nawrat, Zygmunt Kuś (eds.) - Vision Based Systemsfor UAV Applications (2013, Sprin

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

238 H. Josiński et al.<br />

2.3 Hidden Markov Model<br />

A Hidden Markov Model (HMM) is a statistical tool used for model<strong>in</strong>g generative<br />

sequences characterized by a set of observable sequences [16].<br />

An HMM of a system is def<strong>in</strong>ed as a triple λ = (π, A, B), where A is the state<br />

transition probability matrix, B is the observation probability matrix and π is the<br />

<strong>in</strong>itial state distribution [2]. The system has N states (s 1 , s 2 , …, s N ), M observation<br />

symbols (v 1 , v 2 , …, v M ), q t denotes the state of the system at time t and O t<br />

represents the observation symbol of the system at time t.<br />

The <strong>in</strong>itial state distribution is described by π = {π i }, where π i = P(q 1 = s i ), 1 ≤ i<br />

≤ N. The state transition probability matrix is def<strong>in</strong>ed as A = {a ij }, where a ij =<br />

P(q t+1 = s j | q t = s i ), 1 ≤ i, j ≤ N. The observation matrix is specified as B = {b j (k)},<br />

where b j (k) = P(O t = v k | q t = s j ), 1 ≤ j ≤ N, 1 ≤ k ≤ M.<br />

Model<strong>in</strong>g human gait us<strong>in</strong>g HMM essentially <strong>in</strong>volves identify<strong>in</strong>g the N<br />

characteristic stances (poses) of an <strong>in</strong>dividual, which correspond to the N states of<br />

the system, and model<strong>in</strong>g the dynamics between the N such stances [2].<br />

The “parallel-oriented” sequences from the dataset A with reduced<br />

dimensionality were divided evenly <strong>in</strong>to tra<strong>in</strong><strong>in</strong>g set and test set accord<strong>in</strong>g to the<br />

schema presented <strong>in</strong> Fig. 2. Dur<strong>in</strong>g the tra<strong>in</strong><strong>in</strong>g phase separate model λ j was<br />

constructed for every actor j, 1 ≤ j ≤ 20 for the given number N of states.<br />

Subsequently, <strong>in</strong> the test<strong>in</strong>g phase the probability P(O | λ j ), that the considered<br />

sequence O from the test set was produced by the <strong>in</strong>dividual j, was computed for<br />

all estimated models λ j . F<strong>in</strong>ally, the unknown actor X <strong>in</strong> the sequence O was<br />

determ<strong>in</strong>ed by the largest value of the probability P(O | λ j ):<br />

X = arg max log( P( O | λ )) .<br />

j<br />

j<br />

(5)<br />

Fig. 2. Phases of the HMM-based classification

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

Saved successfully!

Ooh no, something went wrong!