← back to roto on ba3a.dev

threshold

fun threshold(width: Int, height: Int, values: DoubleArray, low: Double, high: Double): Mask

Thresholds values, a row-major width × height map such as a colour difference.