Generate Rectangular Edge Templates of Specified Sizes

Function

Generate a list of rectangular edge templates given the dimensions of the objects (in pixels). Usually used before the Step 2D Matching.

Sample Scenario

Fixedly 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

Parameters

templateDiagonalQuantization

Instruction:This parameter is used to set the diagonal quantization of generated template and equal to the length of rectangle template’s diagonal divided by diagonal quantization, thus getting the number of quantization pixels of edges.
Default Value:10
Suggested Value:[10,15]
Valid Range: [0,+∞)