home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
science
/
photo2d.arj
/
PHOTO2D.DAT
< prev
next >
Wrap
Text File
|
1992-03-31
|
3KB
|
69 lines
file: PHOTO2D.DAT Sample file.
This data file should be run with the command line:
PHOTO2D PHOTO2D.DAT
COORDINATE SYSTEMS:
The global coordinate system specified by SAE has the X and Y
coordinates in the ground plane, with the Z-coordinate positive
DOWNWARD. One system is to have X in the direction of travel and Y off
to the right. Do not change this system, since PHOTO2D expects the
Z-coordinate of the eye-point to have a negative value.
The photograph coordinate system can have the origin of the coordinate
system in any corner of the photograph. The coordinate system must be
right handed, with the Z-coordinate pointed toward the scene which appears
in the photograph. This orientation makes it easier to specify the yaw,
pitch and roll angles of the photograph should specification be necessary.
PHOTO2D will search for the correct orientations if they are not
specified, it just takes longer.
************************************************************************
The data can be in any columns in a row, but must have all the terms in
the required order in a row. This is shown by the header.
The X and Y global coordinate values for unknown (?) points if entered
in this data file are ignored. The Z global coordinate is used.
There can be four or more calibration points. Calibration points can
have Z-coordinates as can all other points. The Z-coordinates of all
points must be known! Remember that points ABOVE the ground surface
have NEGATIVE Z-coordinates in the global coordinate system.
Rows may be skipped at will.
Do not use the same number for two or more points.
Zeros MUST appear as some form of 0.0 0 or 0. Scientific notation of
the form 1.0e+22 is acceptable. The values for unknown global
coordinates MUST be entered as zeros.
Units for global coordinates and photograph coordinates can differ, e.g.
you could use feet for global coordinates and millimeters for photograph
coordinates. The output unit for global coordinates of the unknown
points is the same as the input unit used for the global coordinates of
the calibration points.
The values shown in this file are artifical (also very accurate)
in that they were generated by projecting points from a global to
photograph coordinate system. The apparent excessive number of digits
was used in checking the the PHOTO2D code which calibrates the
photograph.
Numb Photograph Global
Type X Y X Y Z
1 * 19.1775602101 70.2452360970 25.0000000000 10.0000000000 5.0000000000
2 * -335.5758146777 -553.4479537629 -25.0000000000 -10.0000000000 -2.0000000000
3 * 92.3425364646 51.1197524487 50.0000000000 10.0000000000 -3.0000000000
4 * 56.7415029124 -49.7445869005 50.0000000000 -10.0000000000 4.0000000000
5 ? 67.8999335262 47.2240988111 0.0000000000 0.0000000000 1.0000000000
6 ? 68. 47. 0 0 1.0
7 ? 68. 47. 0 0 0.5
End of the data file.