[ale] image diff utility?

Dow Hurst dhurst at kennesaw.edu
Thu Jun 3 20:10:10 EDT 2004


Maybe the ImageMagick "identify" command could be a starting place.  The cmp 
will compare files but identify seems to be more appropriate.  Use the 
-verbose option for lots of info.  Maybe a Perl wrapper that used identify? 
Just guessing here,
Dow


Christopher Bergeron wrote:
> Does anyone know of any command line utilities that can compare two 
> images (jpg, pngs, whatever), and if they visually differ by a set 
> threshold they will output a true or false flag?
> 
> I've seen this done in big bloated security applications, but I'm 
> looking for a simple command line utility or method of doing something 
> like this:
> 
> if (image1.png) is more than n percent different from (image2.png), exit 
> with a true; if not, exit with a false
> 
> Heck, I don't even need to have an adjustable threshold; I just need to 
> know if 2 images are significantly different.  Does anyone have any 
> ideas on how I could accomplish this?
> 
> Thanks in advance!
> -CB
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
> 

-- 
__________________________________________________________
Dow Hurst                  Office: 770-499-3428            *
Systems Support Specialist    Fax: 770-423-6744            *
1000 Chastain Rd. Bldg. 12                                 *
Chemistry Department SC428  Email:   dhurst at kennesaw.edu   *
Kennesaw State University         Dow.Hurst at mindspring.com *
Kennesaw, GA 30144                                         *
************************************************************
This message (including any attachments) contains          *
confidential information intended for a specific individual*
and purpose, and is protected by law.  If you are not the  *
intended recipient, you should delete this message and are *
hereby notified that any disclosure, copying, distribution *
of this message, or the taking of any action based on it,  *
is strictly prohibited.                                    *
************************************************************



More information about the Ale mailing list