9
Contrast and brightness adjustment. Adjust the contrast and brightness of the black and white image, increasing the
difference between objects and the background.
Binarization. Using the binarization function, you can convert a color image or an image in grayscale to two-color
(black and white) by setting the minimum and maximum thresholds with which the brightness of each pixel will be
compared.
All pixels within the threshold range will be highlighted in red. After executing the binarization, the RGB-value of the
red areas will be set to (0, 0, 0), the RGB-value of the other sections will be (255, 255, 255).
Note:
Red areas should not overlap.