Band Math Application

Brief Description

Perform a mathematical operation on monoband images

Tags

Util

Long Description

This application performs a mathematical operation on monoband images. Mathematical formula interpretation is done via MuPasrer libraries http://muparser.sourceforge.net/

Parameters

- [param] Input image list (-il): Image list to perform computation on.

- [param] Output Image (-out): Output image.

- [param] Available RAM (-ram): Available RAM

- [param] Expression (-exp): The mathematical expression to apply. Use im1b1 for the first band, im1b2 for the second one...

Limitations

None

Authors

OTB-Team

See also

Example of use

- Parameters to set value:

- Input image list: poupees_sub_c1.png poupees_sub_c2.png poupees_sub_png

- Output Image: apTvUtBandMathOutput.tif

- Expression: "cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3, im3b4)"

- Command line to execute:

otbcli_BandMath -il poupees_sub_c1.png poupees_sub_c2.png poupees_sub_png -out apTvUtBandMathOutput.tif -exp "cos(im1b1)+im2b1*im3b1-im3b2+ndvi(im3b3, im3b4)"