From Actual Dimensions to Dimensions in Pixels

Function

Given the depth information of a rectangular point cloud and its physical dimensions, calculate the dimensions of the corresponding object in pixels.

Sample Scenario

Usually used with the Step Generate Rectangular Edge Templates of Specified Sizes to provide edge templates for subsequent 2D matching.

Input and Output

../../../../../_images/81_from_actual_dimensions_to_dimensions_in_pixels.png

Parameters

fullConnection

Instruction:When this paramter is ‘False’, one of the real sizes corresponds to only one point cloud. When this paramter is ‘True’, one of the real sizes corresponds to several point clouds and every point cloud will match with all the inputted real sizes.
Default Value:False
Suggested Value:To set according to the real scenarios.
List of Values: True, False

inputType

Instruction:This parameter determines which type of input is used in this step.
Default Value:Depth
Suggested Value:To set according to the real scenarios.
List of Values: Depth,CloudNormal

searchRadius

Instruction: This parameter determines the radius of searching(in pixel) and is valid only when inputType is ‘Depth’.
Default Value: 15
Suggested Value: To set according to the real scenarios.
Valid Range:[0,+∞)