5.4.12 Superimpose sensor

Using available image metadata, project one image onto another one

Detailed description

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

Parameters

This section describes in details the parameters available for this application. Table 5.32, page 510 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is Superimpose.




Parameter key

Parameter type

Parameter description




inr

Input image

Reference input

inm

Input image

The image to reproject

elev

Group

Elevation management

elev.dem

Directory

DEM directory

elev.geoid

Input File name

Geoid File

elev.default

Float

Default elevation

lms

Float

Spacing of the deformation field

out

Output image

Output image

mode

Choices

Mode

mode default

Choice

Default mode

mode phr

Choice

Pleiades mode

interpolator

Choices

Interpolation

interpolator bco

Choice

Bicubic interpolation

interpolator nn

Choice

Nearest Neighbor interpolation

interpolator linear

Choice

Linear interpolation

interpolator.bco.radius

Int

Radius for bicubic interpolation

ram

Int

Available RAM (Mb)

inxml

XML input parameters file

Load otb application from xml file

outxml

XML output parameters file

Save otb application to xml file








Figure 5.32: Parameters table for Superimpose sensor.

Reference input The input reference image.

The image to reproject The image to reproject into the geometry of the reference input.

Elevation management This group of parameters allows to manage 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.

Spacing of the deformation field Generate a coarser deformation field with the given spacing

Output image Output reprojected image.

Mode Superimposition mode Available choices are:

Interpolation This group of parameters allows to define how the input image will be interpolated during resampling. Available choices are:

Available RAM (Mb) Available memory for processing (in MB)

Load otb application from xml file Load otb application from xml file

Save otb application to xml file Save otb application to xml file

Example

To run this example in command-line, use the following:

otbcli_Superimpose -inr QB_Toulouse_Ortho_PAN.tif -inm QB_Toulouse_Ortho_XS.tif -out SuperimposedXS_to_PAN.tif

To run this example from Python, use the following code snippet:

#!/usr/bin/python 
 
# Import the otb applications package 
import otbApplication 
 
# The following line creates an instance of the Superimpose application 
Superimpose = otbApplication.Registry.CreateApplication("Superimpose") 
 
# The following lines set all the application parameters: 
Superimpose.SetParameterString("inr", "QB_Toulouse_Ortho_PAN.tif") 
 
Superimpose.SetParameterString("inm", "QB_Toulouse_Ortho_XS.tif") 
 
Superimpose.SetParameterString("out", "SuperimposedXS_to_PAN.tif") 
 
# The following line execute the application 
Superimpose.ExecuteAndWriteOutput()

Limitations

None

Authors

This application has been written by OTB-Team.