# OrthoRectification

## Brief Description

This application allows ortho-rectification of optical images from supported sensors.

## Tags

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

- [param] -io <string> This group of parameters allows setting the input and output images.. Mandatory: True. Default Value: "0"
- [param] -outputs <string> This group of parameters allows one to define the grid on which the input image will be resampled.. Mandatory: True. Default Value: "0"
- [param] -elev <string> This group of parameters allows managing elevation values. Supported formats are SRTM, DTED or any geotiff. DownloadSRTMTiles application could be a useful tool to list/download tiles related to a product.. Mandatory: True. Default Value: "0"
- [param] -opt <string> This group of parameters allows optimization of processing time.. Mandatory: True. Default Value: "0"
- [param] -inxml <string> Load otb application from xml file. Mandatory: False. Default Value: ""
- [param] -outxml <string> Save otb application to xml file. Mandatory: False. Default Value: ""
[choice] -map Parameters of the output map projection to be used. utm,lambert2,lambert93,wgs,epsg. Mandatory: True. Default Value: "utm"

- [group] -utm

- [param] -map.utm.zone <int32> The zone number ranges from 1 to 60 and allows defining the transverse mercator projection (along with the hemisphere). Mandatory: True. Default Value: "31"
- [param] -map.utm.northhem <boolean> 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.. Mandatory: False. Default Value: "True"

- [group] -lambert2

- [group] -lambert93

- [group] -wgs

- [group] -epsg

- [param] -map.epsg.code <int32> See www.spatialreference.org to find which EPSG code is associated to your projection. Mandatory: True. Default Value: "4326"

[choice] -interpolator This group of parameters allows one to define how the input image will be interpolated during resampling. bco,nn,linear. Mandatory: True. Default Value: "bco"

- [group] -bco

- [param] -interpolator.bco.radius <int32> This parameter allows one 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 artifacts.. Mandatory: True. Default Value: "2"

- [group] -nn

- [group] -linear

## Limitations

Supported sensors are Pleiades, SPOT5 (TIF format), Ikonos, Quickbird, Worldview2, GeoEye.

## Authors

OTB-Team

## See Also

Ortho-rectification chapter from the OTB Software Guide

## Example of use

- io.in: QB_TOULOUSE_MUL_Extract_500_500.tif

- io.out: QB_Toulouse_ortho.tif