[Tutor] [tutor] Finding image statistics

Kent Johnson kent37 at tds.net
Mon Mar 3 20:55:58 CET 2008


Varsha Purohit wrote:
> Yeahh so by doing this i am counting only the difference part since we 
> have grayscaled the image and assuming it will count only the pixels 
> that evolve as difference.... 

Yes

> if i use sum2 instead of sum i think  it 
> will give squared sum which is area... and if i just use count it would 
> count the number of pixels developed like that... sounds interesting .. 
> thanks for throwing light for me in right direction....

No. First, pixels are already a measure of area. Second, if each pixel 
value is 0 or 1, squaring the values won't make any difference.

Kent


More information about the Tutor mailing list