Hello All,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 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:<br><br>file1=Image.open(&quot;./pics/original.jpg&quot;)<br>


&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file2=Image.open(val)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; diff = ImageChops.subtract(file1,file2,0.3)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; diff.save(&quot;./pics/diff&quot;+&quot;.jpg&quot;)<br><br>But
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.<br>

<br>please guide me regarding this...<br><br>thanks,