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.
Particle analysis. After executing the binarization, open the particle analysis tool.
First of all, if some noises were not deleted during binarization, you need to specify a particle size range. The
designation of the particle size range will make the result more accurate.
11