4.6.10 Multivariate alteration detector

Multivariate Alteration Detector

Detailed description

This application detects change between two given images.

Parameters

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





Parameter key

Parameter type

Parameter description




in1

Input image

Input Image 1

in2

Input image

Input Image 2

out

Output image

Change Map

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











Table 4.94: Parameters table for Multivariate alteration detector.

Example

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

otbcli_MultivariateAlterationDetector -in1 Spot5-Gloucester-before.tif -in2 Spot5-Gloucester-after.tif -out detectedChangeImage.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 MultivariateAlterationDetector application 
MultivariateAlterationDetector = otbApplication.Registry.CreateApplication("MultivariateAlterationDetector") 
 
# The following lines set all the application parameters: 
MultivariateAlterationDetector.SetParameterString("in1", "Spot5-Gloucester-before.tif") 
 
MultivariateAlterationDetector.SetParameterString("in2", "Spot5-Gloucester-after.tif") 
 
MultivariateAlterationDetector.SetParameterString("out", "detectedChangeImage.tif") 
 
# The following line execute the application 
MultivariateAlterationDetector.ExecuteAndWriteOutput()

Limitations

None

Authors

This application has been written by OTB-Team.

See also

These additional ressources can be useful for further information: