Central image moments
m = upq(im, p, q) is the PQ'th central moment of the image im. That is, the sum of I(x,y).(x-x0)ˆp.(y-y0)ˆq where (x0,y0) is the centroid.
upq_poly, mpq, npq
© 1990-2012 Peter Corke.