88 double getSkew()
const {
return getParams()[4]; }
94 double getK1()
const {
return getParams()[5]; }
99 double getK2()
const {
return getParams()[6]; }
104 double getK3()
const {
return getParams()[9]; }
109 double getP1()
const {
return getParams()[7]; }
114 double getP2()
const {
return getParams()[8]; }
285 IntrinsicCalibrator(
unsigned int boardWidth=6,
unsigned int boardHeight=9,
unsigned int boardCount=8,
286 unsigned int imageWidth=640,
unsigned int imageHeight=480);
303 void saveIntrinsics(
const std::string &filename);
309 void loadIntrinsics(
const std::string &filename);
319 void resetData(
unsigned int boardWidth,
unsigned int boardHeight,
320 unsigned int boardCount,
unsigned int imageWidth ,
unsigned int imageHeight);
334 std::vector<DetectedGrid>
data;
Definition: IntrinsicCalibrator.h:332
std::vector< DetectedGrid > data
Definition: IntrinsicCalibrator.h:334
Powerful and highly flexible matrix class implementation.
Definition: FixedMatrix.h:172
undocument this line if you encounter any issues!
Definition: Any.h:37
Class interface for un-copyable classes.
Definition: Uncopyable.h:64
utils::Size imageSize
Definition: IntrinsicCalibrator.h:336
double getFocalLengthX() const
returns focal length for x direction
Definition: IntrinsicCalibrator.h:70
double mean(ForwardIterator begin, ForwardIterator end)
computes the mean value of a data range
Definition: MathFunctions.h:78
double getK2() const
returns second radial distortion param
Definition: IntrinsicCalibrator.h:99
ICLCore_API void cc(const ImgBase *src, ImgBase *dst, bool roiOnly=false)
Color conversion from source to destination image.
double getP2() const
returns second tangential distortion param
Definition: IntrinsicCalibrator.h:114
utils::Array2D< Pos2D > DetectedGrid
Definition: IntrinsicCalibrator.h:330
Result()
create a null result
Definition: IntrinsicCalibrator.h:61
double getK3() const
returns third radial distortion param
Definition: IntrinsicCalibrator.h:104
math::FixedMatrix< double, 1, 2 > Pos2D
Definition: IntrinsicCalibrator.h:328
ICLQt_API ImgROI data(ImgQ &r)
creates full ROI ROI-struct
Result getResult() const
return the result of computation
Definition: IntrinsicCalibrator.h:323
Result m_calres
struct for handling result of computation
Definition: IntrinsicCalibrator.h:121
#define ICLIO_API
Definition: CompatMacros.h:176
Size class of the ICL.
Definition: Size.h:61
double getPrincipalX() const
returns new computed principal point x component
Definition: IntrinsicCalibrator.h:78
double getFocalLengthY() const
returns focal length for y direction
Definition: IntrinsicCalibrator.h:74
Simple 2D-Array class that provides shallow copy per default.
Definition: Array2D.h:61
double getK1() const
returns first radial distortion param
Definition: IntrinsicCalibrator.h:94
Definition: IntrinsicCalibrator.h:54
double getSkew() const
returns the skew
Definition: IntrinsicCalibrator.h:88
Simple struct for handle result of computation of intrinsics.
Definition: IntrinsicCalibrator.h:58
Result(const std::vector< double > ¶ms, const utils::Size &size)
create a result with given parameters
Definition: IntrinsicCalibrator.h:64
Definition: ImageUndistortion.h:39
double getPrincipalY() const
returns new computed principal point y component
Definition: IntrinsicCalibrator.h:83
Data * m_data
Definition: IntrinsicCalibrator.h:118
double getP1() const
returns first tangential distortion param
Definition: IntrinsicCalibrator.h:109