Block Category: Matching
Input Image Requirements: Gray scale
Outputs:
• circles: Indicates the points to circles (center and radius) of the mass centers obtained after calculating moments.
• area: Indicates the contour area.
• length: Indicates the closed contour perimeter or a curve length.
Description: 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.
In this example, the centers of the detected contours are detected.