4.1.13 Image Tile Fusion

Fusion of an image made of several tile files.

Detailed description

Concatenate several tile files into a single image file.

Parameters

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





Parameter key

Parameter type

Parameter description




il

Input image list

Input Tile Images

cols

Int

Number of tile columns

rows

Int

Number of tile rows

out

Output image

Output Image

inxml

XML input parameters file

Load otb application from xml file

outxml

XML output parameters file

Save otb application to xml file











Table 4.26: Parameters table for Image Tile Fusion.

Example

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

otbcli_TileFusion -il Scene_R1C1.tif Scene_R1C2.tif Scene_R2C1.tif Scene_R2C2.tif -cols 2 -rows 2 -out EntireImage.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 TileFusion application 
TileFusion = otbApplication.Registry.CreateApplication("TileFusion") 
 
# The following lines set all the application parameters: 
TileFusion.SetParameterStringList("il", ['Scene_R1C1.tif', 'Scene_R1C2.tif', 'Scene_R2C1.tif', 'Scene_R2C2.tif']) 
 
TileFusion.SetParameterInt("cols", 2) 
 
TileFusion.SetParameterInt("rows", 2) 
 
TileFusion.SetParameterString("out", "EntireImage.tif") 
 
# The following line execute the application 
TileFusion.ExecuteAndWriteOutput()

Limitations

None

Authors

This application has been written by OTB-Team.