Make Template

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.

Function

Select a 2D ROI on the input image in the sketchpad in measurement mode. The ROI is output as the template image, and the mask of the ROI as the template mask.

Usage Scenario

Usually used in measurement scenarios for making the templates used in the Template Matching Step, which calculates the 2D pose of an object in a 2D image.

Input and Output

make template input and output

Parameter Description

ROI

Default value: [(−1.00, −1.00),0.00 × 0.00]

Instructions: Click Measurement Mode on the toolbar to enter measurement mode. Select the Make Template Step. The ROI select frame is in the upper left corner of the sketchpad. Drag it to adjust the position, and drag its vertices to adjust the size of the ROI. Click Standard Editing Mode on the toolbar,and the ROI you selected is recorded as parameter values.

make template parameter description 1

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.