Cameracalibration using OpenCV functions.
More...
#include <OpenCVCamCalib.h>
Cameracalibration using OpenCV functions.
◆ OpenCVCamCalib()
icl::cv::OpenCVCamCalib::OpenCVCamCalib |
( |
unsigned int |
boardWidth = 6 , |
|
|
unsigned int |
boardHeight = 9 , |
|
|
unsigned int |
boardCount = 8 |
|
) |
| |
Constructor.
boardWidth and boardHeight should not be equal
- Parameters
-
boardWidth | width of the chessboard |
boardHeight | of the chessboard |
boardCount | minimum number of chessboards to be found on images before calibration |
◆ ~OpenCVCamCalib()
icl::cv::OpenCVCamCalib::~OpenCVCamCalib |
( |
| ) |
|
◆ addPoints()
int icl::cv::OpenCVCamCalib::addPoints |
( |
const core::ImgBase * |
img | ) |
|
Adds points from images to computation.
◆ calibrateCam()
void icl::cv::OpenCVCamCalib::calibrateCam |
( |
| ) |
|
Tries to calibrates the camera, if minimal number of found and valid chessboards is greater zero.
◆ getDistortion()
Returns DynMatrix of distortion params.
◆ getIntrinsics()
Returns DynMatrix of intrinsic params.
◆ loadParams()
void icl::cv::OpenCVCamCalib::loadParams |
( |
const char * |
xmlfilename | ) |
|
loads intrinsic params from file (in OpenCV format)
◆ resetData()
void icl::cv::OpenCVCamCalib::resetData |
( |
int |
width, |
|
|
int |
height, |
|
|
int |
count |
|
) |
| |
resets internal data and sets given params
◆ saveParams()
void icl::cv::OpenCVCamCalib::saveParams |
( |
const char * |
xmlfilename | ) |
|
saves intrinsic params to file (from OpenCV format)
◆ undisort()
Computes the undistorted image.
◆ m_data
Data* icl::cv::OpenCVCamCalib::m_data |
|
private |
Class for internal params and buffers.
The documentation for this class was generated from the following file: