# BundleToPerfectSensor

## Brief Description

Perform P+XS pansharpening

## Tags

Geometry,Pansharpening

## Long Description

This application performs P+XS pansharpening. The default mode use Pan and XS sensor models to estimate the transformation to superimpose XS over Pan before the fusion ("default mode"). The application provides also a PHR mode for Pleiades images which does not use sensor models as Pan and XS products are already coregistered but only estimate an affine transformation to superimpose XS over the Pan.Note that this option is automatically activated in case Pleiades images are detected as input.

## Parameters

- [param] -inp <string> Input panchromatic image.. Mandatory: True. Default Value: ""
- [param] -inxs <string> Input XS image.. 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> Spacing of the deformation field. Default is 10 times the PAN image spacing.. Mandatory: False. Default Value: "0.0"
- [param] -out <string> Output 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

## Limitations

None

## Authors

OTB-Team

## See Also

## Example of use

- inp: QB_Toulouse_Ortho_PAN.tif

- inxs: QB_Toulouse_Ortho_XS.tif

- out: BundleToPerfectSensor.png uchar