11.01.2013 Views

Automatisation du contrôle de qualité d'une installation d'imagerie ...

Automatisation du contrôle de qualité d'une installation d'imagerie ...

Automatisation du contrôle de qualité d'une installation d'imagerie ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

tel-00426889, version 1 - 28 Oct 2009<br />

Chapitre 4 : Contrôles mécaniques Matériels et métho<strong>de</strong>s<br />

où<br />

X<br />

Est =<br />

taille<br />

Est<br />

∑ x j<br />

j=<br />

1<br />

taille<br />

h<br />

∑ w j<br />

j=<br />

1<br />

· w<br />

La position moyenne pondérée <strong>de</strong>s pixels <strong>du</strong> groupe Ouest :<br />

X<br />

Ouest =<br />

taille<br />

Ouest<br />

∑ x j<br />

j=<br />

1<br />

taille<br />

h<br />

∑ w j<br />

j=<br />

1<br />

h<br />

w j est le poids horizontal <strong>du</strong> pixel <strong>de</strong> la position j :<br />

= ∑<br />

=<br />

Ouest X<br />

h<br />

j I<br />

i X Estt<br />

h<br />

j<br />

· w<br />

w ( i,<br />

j)<br />

De la même façon, la position <strong>de</strong> la moyenne pondérée <strong>de</strong>s pixels Nord et Sud sont<br />

calculées en utilisant la formulation suivante :<br />

où<br />

Y<br />

Nord =<br />

taille<br />

Nord<br />

∑ yi<br />

i=<br />

1<br />

taille<br />

v<br />

∑ wi<br />

i=<br />

1<br />

· w<br />

h<br />

w i est le poids vertical <strong>du</strong> pixel <strong>de</strong> la position j :<br />

v<br />

i<br />

YSud<br />

, Y<br />

∑<br />

v<br />

w = I(<br />

i,<br />

j)<br />

i<br />

i=<br />

Y<br />

Nor<br />

h<br />

j<br />

Sud =<br />

taille<br />

Sud<br />

∑ yi<br />

i=<br />

1<br />

taille<br />

v<br />

∑ wi<br />

i=<br />

1<br />

Le poids utilisé pour un pixel, dépend alors <strong>de</strong> l’intensité <strong>de</strong>s pixels <strong>de</strong> tout le profil<br />

horizontal ou verticale selon les groupes, ce qui nous permet <strong>de</strong> privilégier les positions qui ne<br />

contiennent pas dans leurs profils, <strong>de</strong>s pixels appartenant à la tige.<br />

· w<br />

v<br />

i<br />

135

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

Saved successfully!

Ooh no, something went wrong!