SLProject  4.3.020
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
SENSCalibrationEstimatorParams Class Reference

Parameterset for the SENSCalibrationEstimator. More...

#include <SENSCalibrationEstimatorParams.h>

Public Types

enum class  EstimatorMode { ExtractAndCalculate , OnlyCaptureAndSave }
 

Public Member Functions

int calibrationFlags ()
 
void toggleFixPrincipalPoint ()
 
void toggleFixAspectRatio ()
 
void toggleZeroTangentDist ()
 
void toggleRationalModel ()
 
void toggleTiltedModel ()
 
void toggleThinPrismModel ()
 

Public Attributes

bool fixPrincipalPoint = false
 
bool fixAspectRatio = false
 
bool zeroTangentDistortion = false
 
bool calibRationalModel = false
 
bool calibTiltedModel = false
 
bool calibThinPrismModel = false
 
EstimatorMode mode = EstimatorMode::ExtractAndCalculate
 
bool useReleaseObjectMethod = false
 

Detailed Description

Parameterset for the SENSCalibrationEstimator.

Definition at line 17 of file SENSCalibrationEstimatorParams.h.

Member Enumeration Documentation

◆ EstimatorMode

Enumerator
ExtractAndCalculate 
OnlyCaptureAndSave 

Definition at line 20 of file SENSCalibrationEstimatorParams.h.

21  {
22  ExtractAndCalculate,
23  OnlyCaptureAndSave
24  };

Member Function Documentation

◆ calibrationFlags()

int SENSCalibrationEstimatorParams::calibrationFlags ( )
inline

Definition at line 26 of file SENSCalibrationEstimatorParams.h.

27  {
28  int flags = 0;
30  flags |= cv::CALIB_FIX_PRINCIPAL_POINT;
31  if (fixAspectRatio)
32  flags |= cv::CALIB_FIX_ASPECT_RATIO;
34  flags |= cv::CALIB_ZERO_TANGENT_DIST;
36  flags |= cv::CALIB_RATIONAL_MODEL;
37  if (calibTiltedModel)
38  flags |= cv::CALIB_TILTED_MODEL;
40  flags |= cv::CALIB_THIN_PRISM_MODEL;
41 
42  return flags;
43  }

◆ toggleFixAspectRatio()

void SENSCalibrationEstimatorParams::toggleFixAspectRatio ( )
inline

Definition at line 45 of file SENSCalibrationEstimatorParams.h.

◆ toggleFixPrincipalPoint()

void SENSCalibrationEstimatorParams::toggleFixPrincipalPoint ( )
inline

◆ toggleRationalModel()

void SENSCalibrationEstimatorParams::toggleRationalModel ( )
inline

◆ toggleThinPrismModel()

void SENSCalibrationEstimatorParams::toggleThinPrismModel ( )
inline

◆ toggleTiltedModel()

void SENSCalibrationEstimatorParams::toggleTiltedModel ( )
inline

Definition at line 48 of file SENSCalibrationEstimatorParams.h.

◆ toggleZeroTangentDist()

void SENSCalibrationEstimatorParams::toggleZeroTangentDist ( )
inline

Member Data Documentation

◆ calibRationalModel

bool SENSCalibrationEstimatorParams::calibRationalModel = false

Definition at line 54 of file SENSCalibrationEstimatorParams.h.

◆ calibThinPrismModel

bool SENSCalibrationEstimatorParams::calibThinPrismModel = false

Definition at line 56 of file SENSCalibrationEstimatorParams.h.

◆ calibTiltedModel

bool SENSCalibrationEstimatorParams::calibTiltedModel = false

Definition at line 55 of file SENSCalibrationEstimatorParams.h.

◆ fixAspectRatio

bool SENSCalibrationEstimatorParams::fixAspectRatio = false

Definition at line 52 of file SENSCalibrationEstimatorParams.h.

◆ fixPrincipalPoint

bool SENSCalibrationEstimatorParams::fixPrincipalPoint = false

Definition at line 51 of file SENSCalibrationEstimatorParams.h.

◆ mode

EstimatorMode SENSCalibrationEstimatorParams::mode = EstimatorMode::ExtractAndCalculate

Definition at line 58 of file SENSCalibrationEstimatorParams.h.

◆ useReleaseObjectMethod

bool SENSCalibrationEstimatorParams::useReleaseObjectMethod = false

Definition at line 59 of file SENSCalibrationEstimatorParams.h.

◆ zeroTangentDistortion

bool SENSCalibrationEstimatorParams::zeroTangentDistortion = false

Definition at line 53 of file SENSCalibrationEstimatorParams.h.


The documentation for this class was generated from the following file: