Calc Mask Spans on Given Lines

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 draws 2D lines from 3D poses. If the projected point of a pose falls inside the corresponding mask, this Step will calculate the distance between the two intersection points of the line with the farthest edges of the mask. Otherwise, this Step will consider the calculated distance invalid and set it to 0.

Usage Scenario

This Step is typically used to calculate mask spans.

Input and Output

Input

Input port Data type Description

Poses

Pose[]

Poses input to this port will be projected to the corresponding 2D masks.

Mask Images

Image/Color/Mask[]

Masks input at this port will have their spans along specified lines calculated.

Output

Output port Data type Description

Lengths

Number[]

Spans of masks on the specified lines.

Parameter Description

Axis Settings

Parameter Description

Axis Type

Parameter description: The axis direction of the input pose determines the direction of the line.

Value list: X, Y

Default value: X

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.