CorrectionSettings< CAMERA_CORRECTION_TYPE::CLOUD_Z_CALIBRATION >

Camera correction.

Applies a scaling and z-offset addition to all points of the point cloud. All dimensions are given in meters.

Member Functions

virtual CAMERA_CORRECTION_TYPE type() const override

JSON Type: string +Requirement: Must be OBJ_DET_2D_TYPE::SET_FULL. Type of the 2D detection step.

Member Variables

scale

std::array< float, 3 >, default: \{1.0f, 1.0f, 1.0f\} JSON Type: array +Requirement: Must contain three elements. Each element must be larger than zero. Scaling factors for x, y and z.

layers

std::vector< ImageDistancePair > JSON Type: array of ImageDistancePair objects. +Requirement: Must not be empty.

Enumerations

Table 1. CAMERA_CORRECTION_TYPE
Value Description

CLOUD_SCALE

Scale each point of the point cloud by a fixed amount. See CorrectionSettings<CAMERA_CORRECTION_TYPE::CLOUD_SCALE>.

CLOUD_Z_CALIBRATION

Add a correction factor to the z component of each point. See CorrectionSettings<CAMERA_CORRECTION_TYPE::CLOUD_Z_CALIBRATION>.