Foundation (CVMetric.dll) 15.0
3) Configuration of Calibration

Functions to configure calibration configuration object. More...

Functions

cvbres_t CVMAQS12CalConfigGetCalculateCorrectionOfLaserPlaneInclination (CVMAQS12CALCONFIG CalibrationConfiguration, cvbbool_t &CalculateCorrectionOfLaserPlaneInclination)
 Gets the flag to calculate the correction of the laser plane inlincation from a calibration configurator. More...
 
cvbres_t CVMAQS12CalConfigGetCalculateEncoderStep (CVMAQS12CALCONFIG CalibrationConfiguration, cvbbool_t &CalculateEncoderStep)
 Gets the flag for calculating the encoder step (scale in Y). More...
 
cvbres_t CVMAQS12CalConfigGetCalculateHomography (CVMAQS12CALCONFIG CalibrationConfiguration, cvbbool_t &CalculateHomography)
 Gets the flag to calculate homography from a calibration configurator. More...
 
cvbres_t CVMAQS12CalConfigGetExtrinsicTransformationModel (CVMAQS12CALCONFIG CalibrationConfiguration, CVMExtrinsicTransformationModel &Model)
 Gets the extrinsic transformation model set in a calibration configuration object. More...
 
cvbres_t CVMAQS12CalConfigGetPointsAndTopBasePlaneDistance (CVMAQS12CALCONFIG CalibrationConfiguration, CVC3DPointD Points[12], double &TopBasePlaneDistance)
 Returns AQS12 points and distance between top and base plane set in the calibration configuration CalibrationConfiguration. More...
 
cvbres_t CVMAQS12CalConfigSetCalculateCorrectionOfLaserPlaneInclination (CVMAQS12CALCONFIG CalibrationConfiguration, cvbbool_t CalculateCorrectionOfLaserPlaneInclination)
 Sets or resets the flag to calculate the correction of the laser plane inclination of a calibration configurator. More...
 
cvbres_t CVMAQS12CalConfigSetCalculateEncoderStep (CVMAQS12CALCONFIG CalibrationConfiguration, cvbbool_t CalculateEncoderStep)
 Sets the flag for calculating the encoder step (scale in Y). More...
 
cvbres_t CVMAQS12CalConfigSetCalculateHomography (CVMAQS12CALCONFIG CalibrationConfiguration, cvbbool_t CalculateHomography)
 Sets or resets the flag to calculate homography of a calibration configurator. More...
 
cvbres_t CVMAQS12CalConfigSetExtrinsicTransformationModel (CVMAQS12CALCONFIG CalibrationConfiguration, CVMExtrinsicTransformationModel Model)
 Sets the extrinsic transformation model in a calibration configuration object. More...
 
cvbres_t CVMAQS12CreateExtrinsicCalConfig (const CVC3DPointD Points[12], double TopBasePlaneDistance, CVMAQS12CALCONFIG &CalibrationConfiguration)
 Creates a default extrinsic calibration configurator. Calculation of homography is set to false and extrinsic transformation model is set to CVMETM_AffineTransformation. More...
 
cvbres_t CVMAQS12CreateInstrinsicCalConfig (const CVC3DPointD Points[12], double TopBasePlaneDistance, CVMAQS12CALCONFIG &InstrinsicCalibrationConfiguration)
 Creates a default intrinsic calibration configurator. Calculation of homography and extrinsic transformation model is set to CVMETM_AffineTransformation. More...
 

Detailed Description

Functions to configure calibration configuration object.

Function Documentation

◆ CVMAQS12CalConfigGetCalculateCorrectionOfLaserPlaneInclination()

cvbres_t CVMAQS12CalConfigGetCalculateCorrectionOfLaserPlaneInclination ( CVMAQS12CALCONFIG  CalibrationConfiguration,
cvbbool_t &  CalculateCorrectionOfLaserPlaneInclination 
)

Gets the flag to calculate the correction of the laser plane inlincation from a calibration configurator.

Parameters
[in]CalibrationConfigurationCalibration configurator.
[out]CalculateCorrectionOfLaserPlaneInclinationReceived flag to calculate the correction of the laser plane inclination.
Returns
See also
CVMAQS12CreateInstrinsicCalConfig

◆ CVMAQS12CalConfigGetCalculateEncoderStep()

cvbres_t CVMAQS12CalConfigGetCalculateEncoderStep ( CVMAQS12CALCONFIG  CalibrationConfiguration,
cvbbool_t &  CalculateEncoderStep 
)

Gets the flag for calculating the encoder step (scale in Y).

Parameters
[in]CalibrationConfigurationCalibration configurator to be modified.
[in]CalculateEncoderStepIf true, the encoder step will be estimated.
Returns
See also
CVMAQS12CalConfigSetCalculateEncoderStep, CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CreateExtrinsicCalConfig, CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CalConfigGetCalculateHomography()

cvbres_t CVMAQS12CalConfigGetCalculateHomography ( CVMAQS12CALCONFIG  CalibrationConfiguration,
cvbbool_t &  CalculateHomography 
)

Gets the flag to calculate homography from a calibration configurator.

Parameters
[in]CalibrationConfigurationCalibration configurator.
[out]CalculateHomographyReceived flag to calculate homography.
Returns
See also
CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CalConfigSetCalculateHomography

◆ CVMAQS12CalConfigGetExtrinsicTransformationModel()

cvbres_t CVMAQS12CalConfigGetExtrinsicTransformationModel ( CVMAQS12CALCONFIG  CalibrationConfiguration,
CVMExtrinsicTransformationModel Model 
)

Gets the extrinsic transformation model set in a calibration configuration object.

Parameters
[in]CalibrationConfigurationCalibration configurator.
[in]ModelReceived xtrinsic transformation model.
Returns
See also
CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CreateExtrinsicCalConfig, CVMAQS12CalConfigSetExtrinsicTransformationModel

◆ CVMAQS12CalConfigGetPointsAndTopBasePlaneDistance()

cvbres_t CVMAQS12CalConfigGetPointsAndTopBasePlaneDistance ( CVMAQS12CALCONFIG  CalibrationConfiguration,
CVC3DPointD  Points[12],
double &  TopBasePlaneDistance 
)

Returns AQS12 points and distance between top and base plane set in the calibration configuration CalibrationConfiguration.

Parameters
[in]CalibrationConfigurationCalibration configuration object.
[out]PointsVariable to receive the 12 reference points.
[out]TopBasePlaneDistanceVariable to receive the distance between the top plane and the base plane.
Returns
See also
CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CalConfigSetCalculateCorrectionOfLaserPlaneInclination()

cvbres_t CVMAQS12CalConfigSetCalculateCorrectionOfLaserPlaneInclination ( CVMAQS12CALCONFIG  CalibrationConfiguration,
cvbbool_t  CalculateCorrectionOfLaserPlaneInclination 
)

Sets or resets the flag to calculate the correction of the laser plane inclination of a calibration configurator.

Parameters
[in]CalibrationConfigurationCalibration configurator to be modified.
[in]CalculateCorrectionOfLaserPlaneInclinationFlag to calculate the correction of the laser plane inclination.
Returns
See also
CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CalConfigSetCalculateHomography, CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CalConfigSetCalculateEncoderStep()

cvbres_t CVMAQS12CalConfigSetCalculateEncoderStep ( CVMAQS12CALCONFIG  CalibrationConfiguration,
cvbbool_t  CalculateEncoderStep 
)

Sets the flag for calculating the encoder step (scale in Y).

Parameters
[in]CalibrationConfigurationCalibration configurator to be modified.
[in]CalculateEncoderStepIf true, the encoder step will be estimated.
Returns
See also
CVMAQS12CalConfigGetCalculateEncoderStep, CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CreateExtrinsicCalConfig, CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CalConfigSetCalculateHomography()

cvbres_t CVMAQS12CalConfigSetCalculateHomography ( CVMAQS12CALCONFIG  CalibrationConfiguration,
cvbbool_t  CalculateHomography 
)

Sets or resets the flag to calculate homography of a calibration configurator.

Parameters
[in]CalibrationConfigurationCalibration configurator to be modified.
[in]CalculateHomographyFlag to calculate homography.
Returns
See also
CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CalConfigSetExtrinsicTransformationModel, CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CalConfigSetExtrinsicTransformationModel()

cvbres_t CVMAQS12CalConfigSetExtrinsicTransformationModel ( CVMAQS12CALCONFIG  CalibrationConfiguration,
CVMExtrinsicTransformationModel  Model 
)

Sets the extrinsic transformation model in a calibration configuration object.

Parameters
[in]CalibrationConfigurationCalibration configurator to be modified.
[in]ModelExtrinsic transformation model.
Returns
See also
CVMAQS12CreateInstrinsicCalConfig, CVMAQS12CreateExtrinsicCalConfig, CVMAQS12CalConfigSetCalculateHomography, CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CreateExtrinsicCalConfig()

cvbres_t CVMAQS12CreateExtrinsicCalConfig ( const CVC3DPointD  Points[12],
double  TopBasePlaneDistance,
CVMAQS12CALCONFIG &  CalibrationConfiguration 
)

Creates a default extrinsic calibration configurator. Calculation of homography is set to false and extrinsic transformation model is set to CVMETM_AffineTransformation.

Note
If this function returns successfully you need to release the returned CalibrationConfiguration via ReleaseObject if not needed anymore.
Parameters
[in]PointsThe 12 reference points in world coordinates.
[in]TopBasePlaneDistanceOptional distance between the top plane and the base plane in world coordinate units (same as Points); can be 0 if base plane is at z = 0.
[out]CalibrationConfigurationVariable to receive the resulting calibration configuration object.
Returns
See also
CVMAQS12CalConfigSetCalculateHomography, CVMAQS12CalConfigSetExtrinsicTransformationModel, CVMAQS12CalConfigSetCalculateEncoderStep, CVMAQS12CreateIntrinsicCalibratorFromPiece

◆ CVMAQS12CreateInstrinsicCalConfig()

cvbres_t CVMAQS12CreateInstrinsicCalConfig ( const CVC3DPointD  Points[12],
double  TopBasePlaneDistance,
CVMAQS12CALCONFIG &  InstrinsicCalibrationConfiguration 
)

Creates a default intrinsic calibration configurator. Calculation of homography and extrinsic transformation model is set to CVMETM_AffineTransformation.

Note
If this function returns successfully you need to release the returned InstrinsicCalibrationConfiguration via ReleaseObject if not needed anymore.
Parameters
[in]PointsThe 12 reference points in world coordinates.
[in]TopBasePlaneDistanceOptional distance between the top plane and the base plane in world coordinate units (same as Points); can be 0 if base plane is at z = 0.
[out]InstrinsicCalibrationConfigurationVariable to receive the resulting calibration configuration object.
Returns
See also
CVMAQS12CalConfigSetCalculateHomography, CVMAQS12CalConfigSetExtrinsicTransformationModel, CVMAQS12CalConfigSetCalculateEncoderStep, CVMAQS12CreateIntrinsicCalibratorFromPiece