55 #include <visp/vpMatrix.h>
204 perspectiveProjWithDistortion
205 } vpCameraParametersProjType ;
212 const double u0,
const double v0) ;
214 const double u0,
const double v0,
215 const double kud,
const double kdu) ;
222 void initFromCalibrationMatrix(
const vpMatrix& _K);
224 void initPersProjWithoutDistortion(
const double px,
const double py,
225 const double u0,
const double v0) ;
226 void initPersProjWithDistortion(
const double px,
const double py,
227 const double u0,
const double v0,
const double kud,
const double kdu) ;
229 inline double get_px()
const {
return px; }
232 inline double get_py()
const {
return py; }
233 inline double get_u0()
const {
return u0; }
234 inline double get_v0()
const {
return v0; }
245 void printParameters() ;
246 friend VISP_EXPORT std::ostream & operator << (std::ostream & os,
250 static const double DEFAULT_U0_PARAMETER;
251 static const double DEFAULT_V0_PARAMETER;
252 static const double DEFAULT_PX_PARAMETER;
253 static const double DEFAULT_PY_PARAMETER;
254 static const double DEFAULT_KUD_PARAMETER;
255 static const double DEFAULT_KDU_PARAMETER;
256 static const vpCameraParametersProjType DEFAULT_PROJ_TYPE;
264 double inv_px, inv_py;
266 vpCameraParametersProjType projModel ;
Definition of the vpMatrix class.
Perspective projection without distortion model.
double get_px_inverse() const
double get_py_inverse() const
vpCameraParametersProjType
Generic class defining intrinsic camera parameters.
Conversion from normalized coordinates in meter to pixel coordinates .
vpCameraParametersProjType get_projModel() const
Conversion from pixel coordinates to normalized coordinates in meter.