CalculationsSource
Reference for sources (source1, source2, mask) to be used in CalculationsOptions.
Name
Type
Default
Min Version
Description
channel
-
24.5
The channel used as a source: either a Channel instance or one of the Constants.CalculationsChannel values.
invert
boolean
false
24.5
Whether to invert the source or not
layer
CalculationsLayerType
-
24.5
Either a layer or the pseudo-layer that represents the merged result of all layers, the constant Constants.CalculationsLayer.MERGED.