Hi Alex thanks for responding let assume that all the image have being filtered and stored in the best form. I was thinking when I have one image and hundreds of image to match how to reduce the number of template I should go through is like when you type search "Pic" on the search engine it only show those with pic. so on the context that we only know the number of black and white pixel is there any ways that we can filter out some of the template so will save time in computing . do not need to compute for the whole database and do calculation for every one of them regards ----- Original Message ----- From: "Alex Harford" To: Sent: Saturday, May 15, 2004 2:08 AM Subject: Re: [OT:] Any good ways to manage a image database using Pic > 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 -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body