Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What you want are the original Moments. They are not location/rotation invariant, and so they contain the information you need. More specifically, they are designed to contain this information.

The centroid would be moments m01 and m10, divided by m00. m10/m00 is X and m01/m00 is Y

The higher order moments contain information about rotation ect. Hopefully this helps.