# Superimpose

## Brief Description

Using available image metadata, project one image onto another one

## Tags

Geometry,Superimposition

## Long Description

This application performs the projection of an image into the geometry of another one.

## Parameters

- [param] -inr <string> The input reference image.. Mandatory: True. Default Value: ""
- [param] -inm <string> The image to reproject into the geometry of the reference input.. Mandatory: True. Default Value: ""
- [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] -lms <float> Generate a coarser deformation field with the given spacing. Mandatory: False. Default Value: "4"
- [param] -out <string> Output reprojected image.. Mandatory: True. Default Value: ""
- [param] -ram <int32> Available memory for processing (in MB). Mandatory: False. Default Value: "128"
- [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] -mode Superimposition mode default,phr. Mandatory: True. Default Value: "default"

- [group] -default

- [param] -elev.default <float> This parameter allows setting the default height above ellipsoid when there is no DEM available, no coverage for some points or pixels with no_data in the DEM tiles, and no geoid file has been set. This is also used by some application as an average elevation value.. Mandatory: True. Default Value: "0"

- [group] -phr

[choice] -interpolator This group of parameters allows defining 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 controlling 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

None

## Authors

OTB-Team

## See Also

## Example of use

- inr: QB_Toulouse_Ortho_PAN.tif

- inm: QB_Toulouse_Ortho_XS.tif

- out: SuperimposedXS_to_PAN.tif