After doing certain pre processing on image serialized image will be obtained. Once we do thresh holding binary image will be displayed. How do I count the number of white pixels in a binary image using xilinx system generator blocks?
If I consider the image below: The result should be
No. of white pixels = 3
No. of black pixels = 17