This is my assignment:

http://www.cse.yorku.ca/course/2011/...201/Q2/Q2.html

I don't understand what it means by computing the average of an image.
(computation of sub-image averages)

So, I need to compute the average rectangle of an image.

How do I compute it???