The BandMath application provides a simple and efficient way to perform band operations. The command line application and the corresponding Monteverdi module (shown in the section 2.4.4) are based on the same standards. It computes a band wise operation according to a user defined mathematical expression. The following code computes the absolute difference between first bands of two images:
The naming convention ”im[x]b[y]” designates the yth band of the xth input image.
The BandMath application embeds built-in operators and functions (listed here), allowing a vast choice of possible operations.