Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

evaluate a check-box fill area

Status
Not open for further replies.

udstx

Programmer
Jan 14, 2010
1
US
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.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top