1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

create camera from projection matrix (used for getCamera in viz)

This commit is contained in:
ozantonkal
2013-08-08 12:14:27 +02:00
parent 71dc5f8291
commit bb057491ea
3 changed files with 44 additions and 6 deletions
@@ -100,6 +100,7 @@ namespace cv
Camera(float f_x, float f_y, float c_x, float c_y, const Size &window_size);
Camera(const Vec2f &fov, const Size &window_size);
Camera(const cv::Matx33f &K, const Size &window_size);
Camera(const cv::Matx44f &proj, const Size &window_size);
inline const Vec2d & getClip() const { return clip_; }
inline void setClip(const Vec2d &clip) { clip_ = clip; }