# StereoRectificationGridGenerator

## Brief Description

Generates two deformation fields to stereo-rectify (i.e. resample in epipolar geometry) a pair of stereo images up to the sensor model precision

## Tags

Stereo

## Long Description

This application generates a pair of deformation grid to stereo-rectify a pair of stereo images according to sensor modelling and a mean elevation hypothesis. The deformation grids can be passed to the StereoRectificationGridGenerator application for actual resampling in epipolar geometry.

## Parameters

- [param] -io <string> This group of parameters allows setting the input and output images.. Mandatory: True. Default Value: "0"
- [param] -epi <string> Parameters of the epipolar geometry and output grids. Mandatory: True. Default Value: "0"
- [param] -inverse <string> This group of parameter allows generating the inverse fields as well. 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: ""

## Limitations

Generation of the deformation grid is not streamable, pay attention to this fact when setting the grid step.

## Authors

OTB-Team

## See Also

otbGridBasedImageResampling

## Example of use

- io.inleft: wv2_xs_left.tif

- io.inright: wv2_xs_left.tif

- io.outleft: wv2_xs_left_epi_field.tif

- io.outright: wv2_xs_right_epi_field.tif

- epi.elevation.default: 400