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

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

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

Object Track<strong>in</strong>g for Rapid Camera Movements <strong>in</strong> 3D Space 63<br />

Accord<strong>in</strong>g to figure 6 we assume the follow<strong>in</strong>g terms:<br />

- the angle of a camera deviation from the vertical direction when the camera<br />

is directed towards the object (before distortion) ;<br />

- the angle of a camera deviation from the vertical direction when the camera<br />

is not directed towards the object (after distortion);<br />

When the first step of control algorithm is performed and the camera is set <strong>in</strong> an<br />

(x, y) plane towards an object then it is possible to calculate a correction<br />

angle <strong>in</strong> an plane. The location of the camera and the object on an<br />

S plane after the correction on an (x, y) plane is presented <strong>in</strong> figure 7.<br />

Accord<strong>in</strong>g to figure 7 we assume the follow<strong>in</strong>g terms:<br />

- the angle <strong>in</strong> a projection on the plane which def<strong>in</strong>es direction towards the<br />

object;<br />

- the angle of a camera rotation <strong>in</strong> a projection on the plane which compensates<br />

distortion.<br />

The camera sett<strong>in</strong>gs changes, which will occur after distortion, aim at turn<strong>in</strong>g the<br />

camera head <strong>in</strong> such a way which allows the object to appear <strong>in</strong> the camera field<br />

of view. Similarly, as it was presented <strong>in</strong> [25], we assume that when the object is<br />

<strong>in</strong> the center of the field of view then 0 otherwise 0. is<br />

a signal produced by the image process<strong>in</strong>g system. Hence we assume that <strong>in</strong> the<br />

moment of object position comput<strong>in</strong>g ( 0) the object is directly <strong>in</strong> the<br />

axis of the camera. The first step of control algorithm comprises of comput<strong>in</strong>g of<br />

the object location before distortion. The position of the object , , is calculated<br />

on the basis of rangef<strong>in</strong>der data (distance d), GPS[30] and IMU<br />

, , , , :<br />

· s<strong>in</strong> 90° <br />

· cos 90° 0°, 180° (1.1)<br />

· s<strong>in</strong> 90° <br />

· cos 90° 0°, 180° (1.2)<br />

As was it mentioned above, it is assumed that dur<strong>in</strong>g object position calculation<br />

the object is <strong>in</strong> the center of the field of view. The aforementioned calculations are<br />

processed dur<strong>in</strong>g the helicopter flight when 0. The manifestation of<br />

distortion is the loss of the object <strong>in</strong> the picture and considerable changes of the<br />

object position or orientation. Then the helicopter control system turns the helicopter<br />

to a nearly horizontal position. Afterwards , , , , are measured.<br />

The goal of the control algorithm is to turn the camera towards the object.<br />

Required values of camera tilt angles and are calculated on the basis of<br />

the object and camera positions. These angles are calculated by the equations<br />

stated below:

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

Saved successfully!

Ooh no, something went wrong!