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.
37 lines
798 B
C++
37 lines
798 B
C++
/*! \file LineCameraCalibration.h
|
|
\brief A brief file description.
|
|
|
|
A more elaborated file description.
|
|
|
|
Created: 2015/12/28, author: bang.jin.
|
|
*/
|
|
|
|
#ifndef __LineCameraCalibration_h_
|
|
#define __LineCameraCalibration_h_
|
|
|
|
#include <vector>
|
|
#include <opencv2/opencv.hpp>
|
|
#include <opencv2/opencv_modules.hpp>
|
|
|
|
using std::vector;
|
|
using namespace cv;
|
|
|
|
class LineCameraGeometryXModel
|
|
{
|
|
public:
|
|
LineCameraGeometryXModel();
|
|
LineCameraGeometryXModel(const vector<float>& srcVals, const vector<float>& dstVals);
|
|
LineCameraGeometryXModel(float l12, float l13, float ls12, float ls13);
|
|
~LineCameraGeometryXModel();
|
|
|
|
void update(float l12, float l13, float ls12, float ls13);
|
|
float mapPos(float x);
|
|
|
|
protected:
|
|
float a, b, c;
|
|
private:
|
|
};
|
|
|
|
#endif // __LineCameraCalibration_h_
|
|
|