Generate Rectangular Edge Templates of Specified Sizes

Function

This Step generates a list of rectangular edge templates given the dimensions of the objects (in pixels). It is usually used before the Step 2D Matching.

Usage Scenario

It is used with the Step From Actual Dimensions to Dimensions in Pixels to generate edge templates for the Step 2D Matching.

Input and Output

../../../../../_images/85_generate_rectangular_edge_templates_of_specified_sizes.png

Parameter Description

Template Property

Number of Segments After Quantizing Template Diagonal
Parameter description: This parameter specifies the number of segments on the template diagonal for quantizing the template edge. Number of pixels per line segment of the template edge = Diagonal length of the rectangular template / Number of Segments After Quantizing Template Diagonal
Default value: 10
Recommended value: [10, 15]
Valid range: [0,+∞)