Binarize with limits🔗
Transforms any gray-level image to a binary image. A pixel’s value is set to one if its value is between lowLevel and highLevel (inclusive).
image: Input image
lowLevel: Thresholding lower limit (inclusive)
highLevel: Thresholding upper limit (inclusive)
invert: Inverts the result if this flag is set to
image: Binary image