ConcatenateImages¶
Concatenate a list of images of the same size into a single multi-channel image.
Description¶
Concatenate a list of images of the same size into a single multi-channel image. It reads the input image list (single or multi-channel) and generates a single multi-channel image. The channel order is the same as the list.
Parameters¶
Input images list -il image1 image2...
Mandatory
The list of images to concatenate, must have the same size.
Output Image -out image [dtype]
Mandatory
The concatenated output image.
Available RAM (MB) -ram int
Default value: 256
Available memory for processing (in MB).
Examples¶
From the command-line:
otbcli_ConcatenateImages -il GomaAvant.png GomaApres.png -out otbConcatenateImages.tif
From Python:
import otbApplication
app = otbApplication.Registry.CreateApplication("ConcatenateImages")
app.SetParameterStringList("il", ['GomaAvant.png', 'GomaApres.png'])
app.SetParameterString("out", "otbConcatenateImages.tif")
app.ExecuteAndWriteOutput()
Limitations¶
All input images must have the same size.
See also¶
Rescale application, DynamicConvert, SplitImage