23 #include <fvmodels/camera/ccd_calibration.h>
27 namespace firevision {
43 CCDCalibration::CCDCalibration(
float ax,
float ay,
float x0,
float y0):
67 float ver_fov = hor_fov * h / w;
70 k(0, 0) = w / (2.f * tanf(hor_fov / 2.f));
71 k(1, 1) = h / (2.f * tanf(ver_fov / 2.f));
A Calibration matrix for a ccd camera.
CCDCalibration(float ax, float ay, float x0, float y0)
Constructor.
A Calibration matrix for a finite camera.
virtual ~CCDCalibration()
Destructor.
Matrix K() const
Calibration getter.
Matrix(unsigned int num_rows=0, unsigned int num_cols=0, float *data=0, bool manage_own_memory=true)
Constructor.