I am learning about image's moments. As an exercise I got this:
For x̄ value I get 5 from this formula:
$$= \frac{\sum_{x=1}^{X} \sum_{y=1}^{Y} xf(x,y)}{\sum_{x=1}^{X} \sum_{y=1}^{Y} f(x,y)}$$
As this is square image, it should be the same value of 5 for ȳ as well.
Finally, this formula should be used to get all the requested central moments, but it seems that computation would be quite complicated, and time consuming (which does not correspond with how many points this exercise is worth). Am I missing some simplification?
$$\mu_{pq} = \sum_{x}\sum_{y}(x-\bar{x})^p(y-\bar{y})^qf(x,y)$$