03.04.2017 Views

CoSIT 2017

Fourth International Conference on Computer Science and Information Technology ( CoSIT 2017 ), Geneva, Switzerland - March 2017

Fourth International Conference on Computer Science and Information Technology ( CoSIT 2017 ), Geneva, Switzerland - March 2017

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

44 Computer Science & Information Technology (CS & IT)<br />

The class identity of the maximum a posteriori probability shape is passed back to the strokelayer<br />

of the architecture. The stroke labels can then be refined in the light of the consistent<br />

assignments for the stroke-label configuration associated with the shape-class ω .<br />

k<br />

lk = arg max P(<br />

λ | zk<br />

, γ<br />

l<br />

, Φλ<br />

) P(<br />

L(<br />

λ,<br />

k)<br />

| Λω<br />

)<br />

(11)<br />

λ∈Ω<br />

s<br />

Finally, the maximum likelihood parameters for the strokes are refined<br />

*<br />

γ<br />

k<br />

= arg max p(<br />

z ρ k<br />

|<br />

l<br />

, γ , Γω<br />

))<br />

(12)<br />

γ<br />

These labels are passed to the shape-layer and the process is iterated to convergence.<br />

4. MODELS<br />

In this section we describe the probability distributions used to model the point-distribution<br />

alignment process and the symbol assignment process.<br />

4.1 Point-Set Alignment<br />

To develop a useful alignment algorithm we require a model for the measurement process. Here<br />

we assume that the observed position vectors, i.e. w ρ are derived from the model points through a<br />

Gaussian error process. According to our Gaussian model of the alignment errors,<br />

ρ<br />

p(<br />

z<br />

k<br />

| Φ<br />

λ<br />

λ<br />

Φ<br />

k<br />

2 ρ<br />

, γ ) = 12πσ<br />

exp[ −12σ<br />

( z − Y<br />

k<br />

i<br />

ω<br />

T ρ<br />

− Φ γ ) ( z − Y<br />

ω<br />

λ<br />

k<br />

ω<br />

− Φ γ )]<br />

2<br />

where σ is the variance of the point-position errors which for simplicity are assumed to be<br />

isotropic. The maximum likelihood parameter vector is given by<br />

ω<br />

λ<br />

(13)<br />

k 1 T<br />

γ<br />

λ<br />

= ( ΦωΦ<br />

2<br />

)<br />

−1<br />

ω<br />

( Φ<br />

ω<br />

+ Φ<br />

T<br />

ω<br />

ρ<br />

)(<br />

z k<br />

− Y<br />

ω<br />

)<br />

(14)<br />

A similar procedure may be applied to estimate the parameters of the stroke centre point<br />

distribution model.<br />

4.2 Label Assignment<br />

The distribution of label errors is modelled using the method developed by Hancock and Kittler<br />

[9]. To measure the degree of error we measure the Hamming distance between the assigned<br />

string of labels L and the dictionary item Λ . The Hamming distance is given by<br />

H<br />

K<br />

( L,<br />

ω<br />

) = ∑<br />

i=1<br />

Λ δ<br />

(15)<br />

where δ is the DiracDelta function. With the Hamming distance to hand, the probability of the<br />

assigned string of labels L given the dictionary item Λ is<br />

l λ<br />

ω<br />

i<br />

,<br />

i<br />

P( L | Λω<br />

) = K<br />

p<br />

exp[ −k<br />

pH<br />

( L,<br />

Λω<br />

)]<br />

(16)

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

Saved successfully!

Ooh no, something went wrong!