Calc Minimum Circumscribed Rectangles of Masks

You are currently viewing the documentation for the latest version (2.2.0). To access a different version, click the "Switch version" button located in the upper-right corner of the page.

■ If you are not sure which version of the product you are currently using, please feel free to contact Mech-Mind Technical Support.

Function

This Step calculates the minimum circumscribed rectangles of the non-zero pixel regions of the input masks.

Usage Scenario

This Step is a general mask processing Step. This Step has no fixed usage scenarios.

Input and Output

Input

Input port Data type Description

Mask Images

Image/Color/Mask[]

Masks input to this port will have minimum circumscribed rectangles calculated.

Output

Output port Data type Description

Bounding Rectangle Image

Image/Color[]

Minimum circumscribed rectangles of the non-zero pixel regions of the input masks.

Parameter Description

Gradient Mask Settings

Parameter Description

Output Image Type

Parameter description: The output image type color mode.

Value list:

  • AllWhite: Output uniform white mask images.

  • LeftToRight: Output masks with gradient colors. The intensity increases from the right to the left.

  • RightToLeft: Output masks with gradient colors. The intensity increases from the left to the right.

Default value: RightToLeft

Border Offset

Parameter description: The offset of the mask border which is used to adjust the output mask intensity. The default setting is recommended.

Default value: 0 px

Min Gray Value

Parameter description: The greater the value, the brighter the image. The default setting is recommended.

Default value: 0

Is this page helpful?

You can give a feedback in any of the following ways:

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.