Skip to main content
Find modulo of pixels with respect to a particular value

Signatures

RS_Modulo (Band: ARRAY[Double], Target: Double)

Parameters

Band
ARRAY[Double]
required
The band index.
Target
Double
required
The target value.

Return type

An array of double values.

Example

val moduloDF = spark.sql("select RS_Modulo(band, target) as modulo from dataframe")