You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
524 B
C
27 lines
524 B
C
|
5 years ago
|
/*! \file TransSolver.h
|
||
|
|
\brief A brief file description.
|
||
|
|
|
||
|
|
A more elaborated file description.
|
||
|
|
|
||
|
|
Created: 2015/11/15, author: bang.jin.
|
||
|
|
*/
|
||
|
|
|
||
|
|
#ifndef __TransSolver_h_
|
||
|
|
#define __TransSolver_h_
|
||
|
|
|
||
|
|
#include <vector>
|
||
|
|
#include <opencv2/opencv.hpp>
|
||
|
|
|
||
|
|
using namespace cv;
|
||
|
|
using std::vector;
|
||
|
|
|
||
|
|
Matx33d affineTrans(const vector<Point2d>& src, const vector<Point2d>& dst);
|
||
|
|
|
||
|
|
Matx33d rigidTrans(const vector<Point2d>& src, const vector<Point2d>& dst,
|
||
|
|
Mat* pCenRotScaleMat = NULL);
|
||
|
|
|
||
|
|
void testTransSolver();
|
||
|
|
|
||
|
|
#endif // __TransSolver_h_
|
||
|
|
|