turned opencv_stitching application to module and sample

This commit is contained in:
Alexey Spizhevoy
2011-09-05 10:41:54 +00:00
parent 30ecb28877
commit 9be4701f24
26 changed files with 1104 additions and 1008 deletions

View File

@@ -0,0 +1,20 @@
#include "precomp.hpp"
using namespace std;
namespace cv
{
CameraParams::CameraParams() : focal(1), R(Mat::eye(3, 3, CV_64F)), t(Mat::zeros(3, 1, CV_64F)) {}
CameraParams::CameraParams(const CameraParams &other) { *this = other; }
const CameraParams& CameraParams::operator =(const CameraParams &other)
{
focal = other.focal;
R = other.R.clone();
t = other.t.clone();
return *this;
}
} // namespace cv