Skip to content

Class AIAC::CameraCalibrator

ClassList > AIAC > CameraCalibrator

Public Types

Type Name
enum Pattern

Public Attributes

Type Name
float aspectRatio = = 0.0f
cv::Size boardSize = = cv::Size(19, 13)
bool calibFixPrincipalPoint = = false
bool calibZeroTangentDist = = false
Pattern calibrationPattern = = Pattern::CHESSBOARD
cv::Mat cameraMatrix
cv::Mat distCoeffs
bool fixDistortion = = false
bool flipVertical = = false
float gridWidth = = squareSize * (boardSize.width - 1)
cv::Size imageSize
std::vector< float > reprojErrs
cv::Mat rvecs
float squareSize = = 20.0f
double totalAvgErr
cv::Mat tvecs
bool useFisheye = = false
bool useFixedPoint = = false
int winSize = = 11
bool writeExtrinsics = = true

Public Functions

Type Name
void AddImage (const cv::Mat & image)
CameraCalibrator ()
void ClearImages ()
int GetImageAmount () const
bool RunCalibration (cv::Mat * imgForDisplay=nullptr)
[board_corners
void Save (const std::string & filename)
~CameraCalibrator ()

Public Types Documentation

enum Pattern

enum AIAC::CameraCalibrator::Pattern {
    NOT_EXISTING,
    CHESSBOARD,
    CIRCLES_GRID,
    ASYMMETRIC_CIRCLES_GRID
};

Public Attributes Documentation

variable aspectRatio

float AIAC::CameraCalibrator::aspectRatio;

variable boardSize

cv::Size AIAC::CameraCalibrator::boardSize;

variable calibFixPrincipalPoint

bool AIAC::CameraCalibrator::calibFixPrincipalPoint;

variable calibZeroTangentDist

bool AIAC::CameraCalibrator::calibZeroTangentDist;

variable calibrationPattern

Pattern AIAC::CameraCalibrator::calibrationPattern;

variable cameraMatrix

cv::Mat AIAC::CameraCalibrator::cameraMatrix;

variable distCoeffs

cv::Mat AIAC::CameraCalibrator::distCoeffs;

variable fixDistortion

bool AIAC::CameraCalibrator::fixDistortion;

variable flipVertical

bool AIAC::CameraCalibrator::flipVertical;

variable gridWidth

float AIAC::CameraCalibrator::gridWidth;

variable imageSize

cv::Size AIAC::CameraCalibrator::imageSize;

variable reprojErrs

std::vector<float> AIAC::CameraCalibrator::reprojErrs;

variable rvecs

cv::Mat AIAC::CameraCalibrator::rvecs;

variable squareSize

float AIAC::CameraCalibrator::squareSize;

variable totalAvgErr

double AIAC::CameraCalibrator::totalAvgErr;

variable tvecs

cv::Mat AIAC::CameraCalibrator::tvecs;

variable useFisheye

bool AIAC::CameraCalibrator::useFisheye;

variable useFixedPoint

bool AIAC::CameraCalibrator::useFixedPoint;

variable winSize

int AIAC::CameraCalibrator::winSize;

variable writeExtrinsics

bool AIAC::CameraCalibrator::writeExtrinsics;

Public Functions Documentation

function AddImage

void AIAC::CameraCalibrator::AddImage (
    const cv::Mat & image
) 

function CameraCalibrator

inline AIAC::CameraCalibrator::CameraCalibrator () 

function ClearImages

inline void AIAC::CameraCalibrator::ClearImages () 

function GetImageAmount

inline int AIAC::CameraCalibrator::GetImageAmount () const

function RunCalibration

[board_corners

bool AIAC::CameraCalibrator::RunCalibration (
    cv::Mat * imgForDisplay=nullptr
) 


function Save

void AIAC::CameraCalibrator::Save (
    const std::string & filename
) 

function ~CameraCalibrator

inline AIAC::CameraCalibrator::~CameraCalibrator () 


The documentation for this class was generated from the following file src/AIAC/CameraCalibrator.h