| 1 | ## DESCRIPTION |
| 2 | |
| 3 | *i.ortho.camera* creates or modifies entries in a camera reference file. |
| 4 | For ortho-photo rectification, a camera reference file is required for |
| 5 | computation of scanned image to photo-coordinate transformation |
| 6 | parameters. There are two coordinate systems: The image coordinate |
| 7 | system (in pixels) and the photo coordinate system (in milli-meters). |
| 8 | The inner orientation establishes a relation between the pixels and the |
| 9 | image coordinates with help of fiducial marks. |
| 10 | |
| 11 | The first prompt in the program will ask you for the name of the camera |
| 12 | reference file to be created or modified. You may create a new camera |
| 13 | reference file by entering a new name, or modify an existing camera |
| 14 | reference file by entering the name of an existing camera file. |
| 15 | |
| 16 | After entering the camera file name, following menu is displayed: |
| 17 | |
| 18 | Please provide the following information |
| 19 | |
| 20 | ```sh |
| 21 | |
| 22 | CAMERA NAME: camera name______ |
| 23 | CAMERA IDENTIFICATION: identification___ |
| 24 | CALIBRATED FOCAL LENGTH mm.:_________________ |
| 25 | POINT OF SYMMETRY (X) mm.:_________________ |
| 26 | POINT OF SYMMETRY (Y) mm.:_________________ |
| 27 | MAXIMUM NUMBER OF FIDUCIALS:_________________ |
| 28 | |
| 29 | AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE |
| 30 | (OR <Ctrl-C> TO CANCEL) |
| 31 | ``` |
| 32 | |
| 33 | The camera name and identification describe the camera reference file. |
| 34 | The calibrated focal length and the point of symmetry are used in |
| 35 | computing the photo-to-target transformation parameters. These values |
| 36 | should be entered from the camera calibration report (usually available |
| 37 | from the photograph supplier). |
| 38 | |
| 39 |  |
| 40 | *This example is the camera Zeiss LMK9 265-002A belonging to the |
| 41 | Hellenic Military Geographical Survey (HMGS) and calibrated in December |
| 42 | 1985* |
| 43 | |
| 44 | The photo coordinate system origin is the so-called calibrated principal |
| 45 | point (PP, Principal Point of Symmetry) which is in the center of the |
| 46 | image. The origin of the axes is at the intersection of the radii traced |
| 47 | from the fiducial marks. In the ideal case of no deviations in the |
| 48 | camera (see camera calibration certificate) the center is the origin and |
| 49 | the values are 0 for both X and Y of Point of Symmetry. But usually the |
| 50 | principal point does not fall on the intersection of the radii at the |
| 51 | center of the picture. This eccentricity is usually of the order of a |
| 52 | few micrometers. |
| 53 | |
| 54 | You are then asked to enter the X and Y photo coordinates of each |
| 55 | fiducial as follows. These fiducials (or reseau) marks are index marks |
| 56 | imaged on film which serve as reference photo coordinate system. The |
| 57 | maximum number of fiducials will determine the number of fiducial or |
| 58 | reseau coordinate pairs to be entered below. The origin is the center of |
| 59 | the image (or the point of symmetry) and X and Y are left-right and |
| 60 | up-down. The order is up to the user, but must be kept consistent |
| 61 | throughout the rectification process. |
| 62 | |
| 63 | On this screen you should enter the fiducial or reseau photo-coordinates |
| 64 | as given in the camera calibration report. The X, and Y coordinates are |
| 65 | in milli-meters from the principle point. |
| 66 | |
| 67 | Please provide the following information |
| 68 | |
| 69 | ```sh |
| 70 | Fid# FID ID X Y |
| 71 | |
| 72 | 1__ _____ 0.0___ 0.0___ |
| 73 | 2__ _____ 0.0___ 0.0___ |
| 74 | 3__ _____ 0.0___ 0.0___ |
| 75 | 4__ _____ 0.0___ 0.0___ |
| 76 | 5__ _____ 0.0___ 0.0___ |
| 77 | 6__ _____ 0.0___ 0.0___ |
| 78 | 7__ _____ 0.0___ 0.0___ |
| 79 | 8__ _____ 0.0___ 0.0___ |
| 80 | 9__ _____ 0.0___ 0.0___ |
| 81 | 10_ _____ 0.0___ 0.0___ |
| 82 | |
| 83 | next: end__ |
| 84 | |
| 85 | AFTER COMPLETING ALL ANSWERS, HIT <ESC> TO CONTINUE |
| 86 | (OR <Ctrl-C> TO CANCEL) |
| 87 | ``` |
| 88 | |
| 89 | The input display is repeated until the number of MAXIMUM FIDUCIALS is |
| 90 | reached. |
| 91 | |
| 92 | ## SEE ALSO |
| 93 | |
| 94 | *[i.ortho.photo](i.ortho.photo.md), |
| 95 | [g.gui.photo2image](g.gui.photo2image.md), |
| 96 | [g.gui.image2target](g.gui.image2target.md), |
| 97 | [i.ortho.init](i.ortho.init.md)* |
| 98 | |
| 99 | ## AUTHOR |
| 100 | |
| 101 | Mike Baba, DBA Systems, Inc. |