Make Template

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

../../../../_images/make_template_input_and_output.png

Parameters

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 on Standard Editing Mode on the toolbar, the ROI you selected is recorded as parameter values.
../../../../_images/parameter_description_1.png