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).
Inputs๐
image
: Input imagelowLevel
: Thresholding lower limit (inclusive)highLevel
: Thresholding upper limit (inclusive)invert
: Inverts the result if this flag is set totrue
.
Outputs๐
image
: Binary image