Arithmetic
Operations
The Arithmetic Operations allows the user to perform
operations on one or more images. In addition to the
operations that can be made between the bands of the images, it is also
possible to apply gain and offset to the images. Some standard operations
are defined in the interface:
- Gain
* (Image A + Image B) + Offset
- Gain
* (Image A - Image B) + Offset
- Gain
* (Image A * Image B) + Offset
- Gain
* (Image A / Image B) + Offset
- (Gain
* (Image A - Image B) / (Image A + Image B)) + Offset
- (2 * Image A +1 - (((2 * Image A + 1) * (2 * Image A + 1)) - 8 * (Image A - Image B))) / 2
It is
accessible through:
Processing → Raster
Processing → Arithmetic Operations...
- To use predefined
arithmetic operations click on the icon
.
- Set the layer and correspondent bands and enter the gain and offset values
- Click on the OK button. The complete operation formula will be presented in the field below.
- Check in the Normalize box and the values of the resulting image will be normalized
- Repository -
Select one type of repository by
clicking on the
button to save the output layer as a file or on the
button to save it in the database.
- Click on the OK button to start the operation.
The user can create customized arithmetic operations using layer selection and the calculator operations.
- Click on the icon
an in the List of Layers select the raster layers to apply the
operation. (Layer Search)
- Choose the band to
operate and click on icon
.
Write the desired operation using the calculator keyboard.
- For future use the
customized operation can be save by clicking in the icon
.
Hint: For asin, acos and atan operations the values must be between -1 and
1.