TileFusion - Image Tile Fusion

Fusion of an image made of several tile files.

Detailed description

Automatically mosaic a set of non overlapping tile files into a single image. Images must have a matching number of bands and they must be listed in lexicographic order.


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

[1]Table: Parameters table for Image Tile Fusion.
Parameter Key Parameter Name Parameter Type
il Input Tile Images Input image list
cols Number of tile columns Int
rows Number of tile rows Int
out Output Image Output image
inxml Load otb application from xml file XML input parameters file
outxml Save otb application to xml file XML output parameters file
  • Input Tile Images: Input images to concatenate (in lexicographic order, for instance : (0,0) (1,0) (0,1) (1,1)).
  • Number of tile columns: Number of columns in the tile array.
  • Number of tile rows: Number of rows in the tile array.
  • Output Image: Output entire image.
  • Load otb application from xml file: Load otb application from xml file.
  • Save otb application to xml file: Save otb application to xml file.


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:


# 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




This application has been written by OTB-Team.