access focal length and principal point in camera

This commit is contained in:
ozantonkal 2013-08-12 09:07:50 +02:00
parent 4a1573de9b
commit b69a97bef3

View File

@ -111,6 +111,9 @@ namespace cv
inline const Vec2f & getFov() const { return fov_; }
inline void setFov(const Vec2f & fov) { fov_ = fov; }
inline const Vec2f & getPrincipalPoint() const { return principal_point_; }
inline const Vec2f & getFocalLength() const { return focal_; }
void computeProjectionMatrix(Matx44f &proj) const;
static Camera KinectCamera(const Size &window_size);