Debian Codegraph @

imagery/i.ortho.photo/i.ortho.rectify/i.ortho.rectify.md

raw symbols SCIP
1 ## DESCRIPTION
2
3 *i.ortho.rectify* rectifies an image by using the image to photo
4 coordinate transformation matrix created by
5 [g.gui.photo2image](g.gui.photo2image.md) and the rectification
6 parameters created by [g.gui.image2target](g.gui.image2target.md).
7 Rectification is the process by which the geometry of an image is made
8 planimetric. This is accomplished by mapping an image from one
9 coordinate system to another. In *i.ortho.rectify* the parameters
10 computed by [g.gui.photo2image](g.gui.photo2image.md) and
11 [g.gui.image2target](g.gui.image2target.md) are used in equations to
12 convert x,y image coordinates to standard map coordinates for each pixel
13 in the image. The result is an image with a standard map coordinate
14 system, compensated for relief distortions and photographic tilt. Upon
15 completion of the program the rectified image is deposited in a
16 previously targeted GRASS project (location).
17
18 Images can be resampled with various different interpolation methods:
19 nearest neighbor assignment, bilinear and bicubic interpolation. The
20 bilinear and bicubic interpolation methods are also available with a
21 fallback option. These methods "fall back" to simpler interpolation
22 methods along NULL borders. That is, from bicubic to bilinear to
23 nearest.
24
25 The process may take an hour or more depending on the size of the image,
26 the speed of the computer, the number files, and the size and resolution
27 of the selected window.
28
29 The rectified image will be located in the target project when the
30 program is completed. The original unrectified files are not modified or
31 removed.
32
33 The optional *angle* output holds the camera angle in degrees to the
34 local surface, considering local slope and aspect. A value of 90 degrees
35 indicates that the camera angle was orthogonal to the local surface, a
36 value of 0 degrees indicates that the camera angle was parallel to the
37 local surface and negative values indicate that the surface was
38 invisible to the camera. As a rule of thumb, values below 30 degrees
39 indicate problem areas where the orthorectified output will appear
40 blurred. Because terrain shadowing effects are not considered, areas
41 with high camera angles may also appear blurred if they are located
42 (viewed from the camera position) behind mountain ridges or peaks.
43
44 *i.ortho.rectify* can be run directly, specifying options in the command
45 line or the GUI, or it can be invoked as OPTION 8 through
46 [i.ortho.photo](i.ortho.photo.md). If invoked though
47 [i.ortho.photo](i.ortho.photo.md), an interactive terminal is used to
48 determine the options.
49
50 ### Interactive mode
51
52 You are first asked if all images within the imagery group should be
53 rectified. If this option is not chosen, you are asked to specify for
54 each image within the imagery group whether it should be rectified or
55 not.
56
57 More than one file may be rectified at a time. Each file should have a
58 unique output file name. The next prompt asks you for an extension to be
59 appended to the rectified images.
60
61 The next prompt will ask you whether a camera angle map should be
62 produced and if yes, what should be its name.
63
64 After that you are asked if overwriting existing maps in the target
65 project and mapset should be allowed.
66
67 The next prompt asks you to select one of two windows:
68
69 ```sh
70 Please select one of the following options
71 1. Use the current window in the target project
72 2. Determine the smallest window which covers the image
73 >
74 ```
75
76 If you choose option 2, you can also specify a desired target
77 resolution.
78
79 *i.ortho.rectify* will only rectify that portion of the image that
80 occurs within the chosen window. Only that portion will be relocated in
81 the target database. It is therefore important to check the current
82 window in the target project if choice number one is selected.
83
84 Next you are asked to select an interpolation method.
85
86 ```sh
87 Please select one of the following interpolation methods
88 1. nearest neighbor
89 2. bilinear
90 3. bicubic
91 4. bilinear with fallback
92 5. bicubic with fallback
93 >
94 ```
95
96 The last prompt will ask you about the amount of memory to be used by
97 *i.ortho.rectify*.
98
99 ## SEE ALSO
100
101 *[i.ortho.photo](i.ortho.photo.md), [i.ortho.camera](i.ortho.camera.md),
102 [g.gui.photo2image](g.gui.photo2image.md),
103 [g.gui.image2target](g.gui.image2target.md),
104 [i.ortho.init](i.ortho.init.md), [i.rectify](i.rectify.md)*
105
106 ## AUTHORS
107
108 Mike Baba, DBA Systems, Inc.
109 Updated rectification and elevation map to FP 1/2002 Markus Neteler
110 Bugfixes and enhancements 12/2010 Markus Metz