setBlurSize

open fun setBlurSize(@NonNull blurSizeUnnormalised: IntSupplier)

Sets the size of the blur element to use during thresholding. Blurring can improve color thresholding results by smoothing color variation. This is an optional method.

Parameters

blurSizeUnnormalised

the blur size that will be renormalised later to be an odd number, default/<=0 is disabled


open fun setBlurSize(staticBlurSizeUnnormalised: Int)

Sets the size of the blur element to use during thresholding. Blurring can improve color thresholding results by smoothing color variation. This is an optional method.

Parameters

staticBlurSizeUnnormalised

the static blur size that will be renormalised later to be an odd number, default/<=0 is disabled