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.
Sample 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
Parameters
- ROI:
- These parameters set the ROI on the imported 2D image.Instructions:
Click on Measurement Mode in 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.
Note
You can also adjust the position and size of the ROI by changing the parameter values on the right.
Click on Standard Editing Mode in the toolbar, the ROI you selected is recorded as parameter values.