Calc Midpoint of Specified Side of Rectangle

You are viewing an old version of the documentation. You can switch to the documentation of the latest version by clicking the top-right corner of the page.

Contents of this Step are under maintenance. If you need more information about this Step with urgency, please contact us at docs@mech-mind.net.

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.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.