Processing of distortion

Print Previous page Top page Next page

Distortion characterizes distortions brought by objective of the camera. Distortion prepares beforehand as a text file in DST format. In the given version of the program the distortion of photos of the central projection by size 30 on 30 centimeters is taken into account. The file prepares so that the distortion was calculated in nodes distant from each other on distance of 1 centimeter. To choose a distortion it is necessary to press in the main window of the task Extra button, then in the appeared window of additional parameters to press Distortion radiobutton, then in standard dialogue to choose a file with .DST expansion.

Structure of distortion file:

Lx  Ly

dx(1,1)  dx(1,2)  dx(1,3)  . . . dx(1,27)  dx(1,28)  dx(1,29)

dx(2,1)  dx(2,2)  dx(2,3)  . . . dx(2,27)  dx(2,28)  dx(2,29)

                         .   .   .

dx(28,1)  dx(28,2)  dx(28,3)  . . . dx(28,27)  dx(28,28)  dx(28,29)

dx(29,1)  dx(29,2)  dx(29,3)  . . . dx(29,27)  dx(29,28)  dx(29,29)

dy(1,1)  dy(1,2)  dy(1,3)  . . . dy(1,27)  dy(1,28)  dy(1,29)

dy(2,1)  dy(2,2)  dy(2,3)  . . . dy(2,27)  dy(2,28)  dy(2,29)

                         .   .   .

dy(28,1)  dy(28,2)  dy(28,3)  . . . dy(28,27)  dy(28,28)  dy(28,29)

dy(29,1)  dy(29,2)  dy(29,3)  . . . dy(29,27)  dy(29,28)  dy(29,29)

where:

Lx, Ly - number of nodes of a distortion on axes of abscissas and ordinates. In the given version of the program the number of nodes on axes of abscissas and ordinates equally and is equal 29;

dx (i, j) and dy (i, j) - values of a distortion in millimeters in the node (i, j). Thus the node (1,1) has coordinates (-14см, +14см), and the node (29,29) has coordinates (+14см,-14см). The center of coordinates system of  distortion nodes is in the center of a photo, i.e. the node (15,15) has coordinates (0см, 0см).