26 #ifndef __KMatrix_hh__
27 #define __KMatrix_hh__
28 #include "bias_config.h"
30 #include <Base/Math/Matrix3x3.hh>
32 #define KMATRIX_TYPE double
70 void Set(
const KMATRIX_TYPE & fx
71 ,
const KMATRIX_TYPE & fy
72 ,
const KMATRIX_TYPE & hx
73 ,
const KMATRIX_TYPE & hy
74 ,
const KMATRIX_TYPE & skew=KMATRIX_TYPE(0) );
76 KMATRIX_TYPE GetFx()
const;
77 void SetFx(
const KMATRIX_TYPE & val);
79 KMATRIX_TYPE GetFy()
const;
80 void SetFy(
const KMATRIX_TYPE & val);
82 KMATRIX_TYPE GetSkew()
const;
83 void SetSkew(
const KMATRIX_TYPE & val);
85 KMATRIX_TYPE GetHx()
const;
86 void SetHx(
const KMATRIX_TYPE & val);
88 KMATRIX_TYPE GetHy()
const;
89 void SetHy(
const KMATRIX_TYPE & val);
96 #endif // __KMatrix_hh__
MatrixInitType
can be passed to matrix constructors to init the matrix with the most often used values ...
KMatrix(const MatrixInitType &i)
constructor setting identity or zero
KMatrix(const Matrix3x3< KMATRIX_TYPE > &A)
is a 'fixed size' quadratic matrix of dim.
K describes the mapping from world coordinates (wcs) to pixel coordinates (pcs).