moments_central
skimage.measure.moments_central(image, cr, cc, order=3) [source]
Calculate all central image moments up to a certain order. The center coordinates (cr, cc) can be calculated from the raw moments as: {m[0, 1] / m[0, 0], m[1, 0] / m[0, 0]}. Note that central moments are translation invariant but not scale and rotation invariant. Parameters:
image : 2D double or uint8 array Rasterized shape as image. cr : double Center row coordinate. cc : double Center column coordinate.