[Tutor] [tutor] Finding image statistics

Varsha Purohit varsha.purohit at gmail.com
Sun Mar 2 17:12:02 CET 2008

Hello All,
      i have an application where i am comparing two images and highlighting
the difference part in a separate image. I am using ImageChops subtract
method. Here is the code:

        diff = ImageChops.subtract(file1,file2,0.3)

I found ImageStat module of pil but i am not sure how to use the methods of
this module in this application.

I want to find other image statistics such as finding number of pixels which
exist after taking difference between two images, getting sum of all pixels
and area of pixels that are in that image etc.

please guide me regarding this...


Varsha Purohit,
Graduate Student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080302/93b28231/attachment.htm 

More information about the Tutor mailing list