I have the following question:
I have a script that I can select the coordinates of an area of an image:
Considering that I have a
binária ( black and white ) image, how do I count the amount of black pixels in a certain area of that image.
For example, I want to know the amount of black pixels in the following image area:
Any ideas how I can do this?