of

fun of(): SharpnessTooLowValidator

Create instance with min sharpness threshold value 0.3.

Return

Instance.


fun of(threshold: Double): SharpnessTooLowValidator

Create instance with specified min sharpness threshold.

Return

Instance.

Parameters

threshold

Value in interval [0.0, 1.0].

Throws

If value is out of the interval.