Calc Midpoint of Specified Side of Rectangle¶
Function¶
This Step calculates the midpoint of the specified side of the bounding rectangle of each non-zero pixel region in the mask image.
Usage Scenario¶
This Step is usually used in scenarios such as hatch door/glass gluing to calculate the starting point of the gluing path.
Input and Output¶
Input: Non-zero pixel regions in the mask image input by this port will have bounding rectangles calculated.
Output: Midpoints of the specified sides of the bounding rectangles.