Re: [Tutor] [tutor] Comparing two images using PIL

2008-01-16 Thread Kent Johnson
Varsha Purohit wrote:
> Hello Everyone,
> I have an application where i am comparing two images(jpg) which 
> are almost identical but have little difference. I wanted to mark the 
> difference with a different colour to highlight the region which is 
> different from 1st image. Can you tell me if there is any image funciton 
> in PIL which will help me to calculate the differences between two 
> different JPEG images.

The ImageChops and ImageMath modules look like they might be helpful.

Kent
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] [tutor] Comparing two images using PIL

2008-01-16 Thread Varsha Purohit
Hello Everyone,
I have an application where i am comparing two images(jpg) which are
almost identical but have little difference. I wanted to mark the difference
with a different colour to highlight the region which is different from 1st
image. Can you tell me if there is any image funciton in PIL which will help
me to calculate the differences between two different JPEG images.

-- 
Varsha Purohit,
Graduate Student
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor