On Sat, May 15, 2004 at 01:59:27AM +0800, Soon Lee wrote: > > I am thinking of using pixel count to do it. > some thing like if the template only have 20% black but image to be scan have 80% black then I can safely skip this check > > is this method ok and do any one have better method? You may be interested in doing a 3x3 filter on the image. I have no idea how fast you need to process these, but using a convolution filter might help you narrow it down. -- Alex Harford http://www.alexharford.com alex-spam@alexharford.com Tel: (604) 738-5674 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body