I have a small image copied from a larger image that I need to determine if the is 'checked or filled in'. I am processing a 8x11 form that contains multiple choice questions. The choice is indicated by 'filling the appropriate box' which is approx. 1/4 inch square. The box may be 50%-100% filled or just 100% clear.
I tried summing the value of each bit in the image but got lost in the process. Once I got the sum of bits the plan was to compare it to some threshold value to determine CHECKED or UN-CHECKED
Using Delphi7, image is Scanned in B/W (1 bitdepth) @ 300 dpi.
How can I determine if the area (CopyRect area) is filled or clear.
I tried summing the value of each bit in the image but got lost in the process. Once I got the sum of bits the plan was to compare it to some threshold value to determine CHECKED or UN-CHECKED
Using Delphi7, image is Scanned in B/W (1 bitdepth) @ 300 dpi.
How can I determine if the area (CopyRect area) is filled or clear.