home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / science / photo2d.arj / PHOTO2D.DAT < prev    next >
Text File  |  1992-03-31  |  3KB  |  69 lines

  1. file: PHOTO2D.DAT    Sample file.
  2.  
  3. This data file should be run with the command line:
  4.  
  5.         PHOTO2D PHOTO2D.DAT
  6.  
  7. COORDINATE SYSTEMS:
  8.  
  9.     The global coordinate system specified by SAE has the X and Y
  10. coordinates in the ground plane, with the Z-coordinate positive
  11. DOWNWARD.  One system is to have X in the direction of travel and Y off
  12. to the right.  Do not change this system, since PHOTO2D expects the
  13. Z-coordinate of the eye-point to have a negative value.
  14.  
  15.     The photograph coordinate system can have the origin of the coordinate
  16. system in any corner of the photograph.  The coordinate system must be
  17. right handed, with the Z-coordinate pointed toward the scene which appears
  18. in the photograph.  This orientation makes it easier to specify the yaw,
  19. pitch and roll angles of the photograph should specification be necessary.
  20.  
  21.     PHOTO2D will search for the correct orientations if they are not
  22. specified, it just takes longer.
  23.  
  24. ************************************************************************
  25.  
  26.     The data can be in any columns in a row, but must have all the terms in
  27. the required order in a row.  This is shown by the header.
  28.  
  29.     The X and Y global coordinate values for unknown (?) points if entered
  30. in this data file are ignored.  The Z global coordinate is used.
  31.  
  32.     There can be four or more calibration points.  Calibration points can
  33. have Z-coordinates as can all other points.  The Z-coordinates of all
  34. points must be known!  Remember that points ABOVE the ground surface
  35. have NEGATIVE Z-coordinates in the global coordinate system.
  36.  
  37.     Rows may be skipped at will.
  38.  
  39.     Do not use the same number for two or more points.
  40.  
  41.     Zeros MUST appear as some form of 0.0 0 or 0.  Scientific notation of
  42. the form 1.0e+22 is acceptable.  The values for unknown global
  43. coordinates MUST be entered as zeros.
  44.  
  45.     Units for global coordinates and photograph coordinates can differ, e.g.
  46. you could use feet for global coordinates and millimeters for photograph
  47. coordinates.  The output unit for global coordinates of the unknown
  48. points is the same as the input unit used for the global coordinates of
  49. the calibration points.
  50.  
  51.     The values shown in this file are artifical (also very accurate)
  52. in that they were generated by projecting points from a global to
  53. photograph coordinate system.  The apparent excessive number of digits
  54. was used in checking the the PHOTO2D code which calibrates the
  55. photograph.
  56.  
  57. Numb              Photograph                   Global
  58.     Type         X                  Y               X                Y                Z
  59.  
  60.     1  *    19.1775602101    70.2452360970    25.0000000000    10.0000000000     5.0000000000
  61.     2  *  -335.5758146777  -553.4479537629   -25.0000000000   -10.0000000000    -2.0000000000
  62.     3  *    92.3425364646    51.1197524487    50.0000000000    10.0000000000    -3.0000000000
  63.     4  *    56.7415029124   -49.7445869005    50.0000000000   -10.0000000000     4.0000000000
  64.     5  ?    67.8999335262    47.2240988111     0.0000000000     0.0000000000     1.0000000000
  65.     6  ?    68.              47.               0                0                1.0
  66.     7  ?    68.              47.               0                0                0.5
  67.  
  68. End of the data file.
  69.