Image Moment

Block Category: Matching

Input Image Requirements: Gray scale

The Image Moment block calculates all of the moments up to the third order of a polygon and calculates the weighted centroid of the image contour.

Example

In this example, the centers of the detected contours are detected.

ImageMomentExample