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 ...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
tel-00426889, version 1 - 28 Oct 2009<br />
Chapitre 5 : Contrôle <strong>de</strong> performances <strong>de</strong>s solutions<br />
logicielles proposées à l’ai<strong>de</strong> <strong>de</strong>s Objets-Tests<br />
Numériques (OTN)<br />
alors<br />
v<br />
v<br />
v<br />
x<br />
y<br />
z<br />
= O<br />
= cos( a )<br />
= sin( a )<br />
Matériels et métho<strong>de</strong>s<br />
L’équation <strong>de</strong> la sphère <strong>du</strong> centre C (Cx, Cy, Cz) et <strong>de</strong> rayon r s’écrit <strong>de</strong> la façon suivante:<br />
2<br />
2<br />
( x - Cx<br />
) + ( y -C<br />
y ) + ( z -C<br />
z ) = r<br />
2 2<br />
2 2<br />
2 2<br />
2<br />
x + C x - 2· x · C x + y + C y - 2 · y · C y + z + C z - 2·<br />
z · Cz<br />
= r<br />
L’équation <strong>de</strong> la droite passant par un point A (Ax, Ay, Az) et parallèle au vecteur<br />
v ( vx<br />
, v y , vz<br />
) est la suivante:<br />
= A + ( v ) · t<br />
x x x<br />
y y y<br />
= A + ( v ) · t<br />
z z z<br />
= A + ( v ) · t<br />
Pour calculer les points d’intersections <strong>de</strong> cette droite avec la sphère, nous résolvons les<br />
<strong>de</strong>ux équations précé<strong>de</strong>ntes pour t et nous aurons :<br />
( v<br />
2<br />
x<br />
+ ( 2 · v<br />
+ A<br />
+ v<br />
2<br />
x<br />
2<br />
y<br />
x<br />
+ C<br />
+ v<br />
· A<br />
2<br />
x<br />
x<br />
2<br />
z<br />
) t<br />
2<br />
- 2 · v<br />
· C<br />
- 2·<br />
A · C<br />
x<br />
x<br />
x<br />
x<br />
+ 2 · v<br />
+ A<br />
2<br />
y<br />
y<br />
· A<br />
+ C<br />
2<br />
y<br />
y<br />
- 2 · v<br />
- 2·<br />
A<br />
C’est une équation <strong>du</strong> <strong>de</strong>uxième <strong>de</strong>gré, dans laquelle :<br />
x<br />
x<br />
x<br />
x<br />
a = v<br />
y<br />
y<br />
y<br />
· C<br />
· C<br />
2 2 2<br />
x + v y + v z<br />
y<br />
y<br />
y<br />
y<br />
+ 2 · v<br />
+ A<br />
y<br />
2<br />
z<br />
z<br />
· A<br />
+ C<br />
z<br />
2<br />
z<br />
z<br />
- 2 · v<br />
· C ) t<br />
- 2 · A · C<br />
b = 2 · v · A - 2 · v · C + 2 · v · A - 2·<br />
v · C + 2·<br />
v · A - 2·<br />
v · C<br />
2 2<br />
2 2<br />
2 2<br />
2<br />
c = A x + C x - 2· Ax<br />
· C x + A y + C y - 2 · Ay<br />
· C y + A z + C z - 2 · Az<br />
· C z - r<br />
2<br />
D = b - 4·<br />
a · c<br />
b – D<br />
t =<br />
2 · a<br />
Les coordonnées <strong>de</strong>s points d’intersection entre la droite et la sphère sont :<br />
z<br />
z<br />
z<br />
z<br />
z<br />
z<br />
- r<br />
= A + v · t , = A + v · t , = A + v · t Eq. 5.1<br />
x x x<br />
y y y<br />
z z z<br />
Un <strong>de</strong> ces <strong>de</strong>ux points représente la position <strong>du</strong> centre <strong>de</strong> la source. Dans notre cas, le<br />
centre <strong>de</strong> la sphère C est confon<strong>du</strong> avec l’origine <strong>du</strong> repère 3D (0, 0, 0).<br />
z<br />
2<br />
175<br />
= 0