[ale] image diff utility?

Dow Hurst dhurst at kennesaw.edu
Thu Jun 3 22:16:34 EDT 2004


I just did a "man -k image", was reading thru the listing, and noticed 
identify.  Ran it and was impressed too!  Thought it might be useful.
Dow


James P. Kinney III wrote:
> On Thu, 2004-06-03 at 20:15, Dow Hurst wrote:
> 
>>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
>>
> 
> Wow!! Identify is a really useful tool. I use "convert" often but I
> never looked at what identify could do. The list of colors and their
> prevalence has a lot of possibilities for image analysis. It sure beats
> the old adaptive-subtraction methods I had to muddle with in grad
> school.
> 
> 
>>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
>>>
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>_______________________________________________
>>>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