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