http://qs321.pair.com?node_id=317817


in reply to comparing two images and detecting differences

Image processing is really a task for C/C++ based tool. There has been a vast ammount of work done on the topic and it gets into tertiary level math. If you wanted to do it in Perl/CGI your quickest path would be to get hold of a C/C++ library and make an XS wrapper for it.

Here is a useful site with source code. The main library it uses lives here and is available for Win32 or Linux with versions that compile with VCC, BCC, and GCC. You will find a wealth of info on Google searching for strings like 'image compare similarity C++'

cheers

tachyon

  • Comment on Re: comparing two images and detecting differences

Replies are listed 'Best First'.
Re: Re: comparing two images and detecting differences
by moof1138 (Curate) on Dec 31, 2003 at 06:14 UTC
    Thanks for the link, I think Merlyn's column referred to below should work out as a good place to start, but I will keep that in my back pocket. The server it will wind up running on might be Linux, BSD, or Win2k, depending, and I might need to delegate it to someone else, so I really wanted to avoid C/C++ since I wanted to make sure the code was as portable as possible, and setup was as painless as possible. Again, thanks.