Set of functions to calculate the centroid, central moments and normalised moments of a binary image. Easy to understand, implemented in matlab