refactored opencv_stitching

This commit is contained in:
Alexey Spizhevoy
2011-08-16 12:36:11 +00:00
parent f1e8b43c7a
commit 78bb392088
6 changed files with 39 additions and 77 deletions

View File

@@ -45,14 +45,15 @@
#include "precomp.hpp"
class CameraInfo
struct CameraParams
{
public:
static CameraInfo load(const std::string &path);
void save(const std::string &path);
CameraParams();
CameraParams(const CameraParams& other);
const CameraParams& operator =(const CameraParams& other);
cv::Mat R;
cv::Mat K;
double focal; // Focal length
cv::Mat R; // Rotation
cv::Mat t; // Translation
};
#endif // #ifndef __OPENCV_CAMERA_HPP__