binarize_fixed method

binarize_fixed

Binarization of an image with predefined threshold

def binarize_fixed(self, threshold):
    ...
ParameterTypeDescription
thresholdbyteThreshold value. If corresponding gray value of a pixel is greater than threshold, a value of 255 will be assigned to it, 0 otherwise.

See Also