Ortho-rectification application
Brief Description
This application allows to ortho-rectify optical images from supported sensors.
Tags
Image Manipulation, Geometry
Long Description
An inverse sensor model is built from the input image metadata to convert geographical to raw geometry coordinates. This inverse sensor model is then combined with the chosen map projection to build a global coordinate mapping grid. Last, this grid is used to resample using the chosen interpolation algorithm. A Digital Elevation Model can be specified to account for terrain deformations. In case of SPOT5 images, the sensor model can be approximated by an RPC model in order to speed-up computation.
Parameters
[group] Input and output data (-io): This group of parameters allows to set the input and output images.
[param] Input Image (-in): The input image to ortho-rectify
[param] Output Image (-out): The ortho-rectified output image
[choice] Output Map Projection (-map): Parameters of the ouptut map projection.
[group] Universal Trans-Mercator (UTM): A system of transverse mercator projections dividing the surface of Earth between 80S and 84N latitude.
[param] Zone number (-zone): The zone number ranges from 1 to 60 and allows to define the transverse mercator projection (along with the hemisphere)
[param] Northern Hemisphere (-hem): The transverse mercator projections are defined by their zone number as well as the hemisphere. Activate this parameter if your image is in the northern hemisphere.
[group] Lambert II Etendu: This is a Lambert Conformal Conic projection mainly used in France.
[group] EPSG Code: This code is a generic way of identifying map projections, and allows to specify a large amount of them. See www.spatialreference.org to find which EPSG code is associated to your projection;
[param] EPSG Code (-code): See www.spatialreference.org to find which EPSG code is associated to your projection
[group] Output Image Grid (-outputs): This group of parameters allows to define the grid on which the input image will be resampled.
[choice] Parameters estimation modes (-mode):
[group] User Defined: This mode allows you to fully modify default values.
[group] Automatic Size from Spacing: This mode allows you to automatically compute the optimal image size from given spacing (pixel size) values
[group] Automatic Spacing from Size: This mode allows you to automatically compute the optimal image spacing (pixel size) from the given size
[param] Upper Left X (-ulx): Cartographic X coordinate of upper-left corner (meters for cartographic projections, degrees for geographic ones)
[param] Upper Left Y (-uly): Cartographic Y coordinate of the upper-left corner (meters for cartographic projections, degrees for geographic ones)
[param] Size X (-sizex): Size of projected image along X (in pixels)
[param] Size Y (-sizey): Size of projected image along Y (in pixels)
[param] Pixel Size X (-spacingx): Size of each pixel along X axis (meters for cartographic projections, degrees for geographic ones)
[param] Pixel Size Y (-spacingy): Size of each pixel along Y axis (meters for cartographic projections, degrees for geographic ones)
[param] Force isotropic spacing by default (-isotropic): Default spacing (pixel size) values are estimated from the sensor modeling of the image. It can therefore result in a non-isotropic spacing. This option allows you to force default values to be isotropic (in this case, the minimum of spacing in both direction is applied. Values overriden by user are not affected by this option.
[group] Elevation management (-elev): This group of parameters allows to manage elevation values in the ortho-rectification process.
[param] DEM directory (-dem): This parameter allows to select a directory containing Digital Elevation Model tiles. Supported formats are SRTM, DTED or any geotiff processed by the DEM import application
[choice] Interpolation (-interpolator): This group of parameters allows to define how the input image will be interpolated during resampling.
[group] Nearest Neighbor interpolation: Nearest neighbor interpolation leads to poor image quality, but it is very fast.
[group] Linear interpolation: Linear interpolation leads to average image quality but is quite fast
[group] Bicubic interpolation:
[param] Radius for bicubic interpolation (-radius): This parameter allows to control the size of the bicubic interpolation filter. If the target pixel size is higher than the input pixel size, increasing this parameter will reduce aliasing artefacts.
[group] Speed optimization parameters (-opt): This group of parameters allows to optimize processing time.
[param] RPC modeling (points per axis) (-rpc): Enabling RPC modeling allows to speed-up SPOT5 ortho-rectification. Value is the number of control points per axis for RPC estimation
[param] Available memory for processing (in MB) (-ram): This allows to set the maximum amount of RAM available for processing. As the writing task is time consuming, it is better to write large pieces of data, which can be achieved by increasing this parameter (pay attention to your system capabilities)
[param] Resampling grid spacing (-gridspacing): Resampling is done according to a coordinate mapping grid, whose pixel size is set by this parameter. The closer to the output spacing this parameter is, the more precise will be the ortho-rectified image, but increasing this parameter allows to reduce processing time.
Limitations
Supported sensors are SPOT5 (TIF format), Ikonos, Quickbird, Worldview2, GeoEye.
Authors
OTB-Team
See also
Ortho-rectification chapter from the OTB Software Guide
Example of use
otbcli_OrthoRectification