25#ifndef __BTK_ARCAMERAPARAM_H__
26#define __BTK_ARCAMERAPARAM_H__
55 ArCameraParam(
int width,
int height,
float nearclip,
float farclip, std::string yamlfile);
104 if (!CI.
image.empty())
107 if (!CI.
gray.empty())
120 if (frm.channels() != 1)
121 cv::cvtColor(frm,
gray, cv::COLOR_BGR2GRAY);
127 catch(std::exception &)
cv::Point2f GetClipping()
void SetCameraOffset(Vector3 offset)
void SetCameraQuat(BtQuaternion quat)
BtQuaternion GetCameraQuat()
void GetProjectionMatrix(double m_proj[16], cv::Size screensize)
void AddCameraImu(Vector3 gyro, Vector3 accel, double delta)
void SetClipping(float nearclip, float farclip)
std::vector< ArImuData > GetCameraImu() const
Vector3 GetCameraOffset()
void SetBitmapSize(int width, int height)
void SetCameraParameter(std::string yamlfile)
std::vector< ArImuData > mImuData
aruco::CameraParameters GetCameraParameter()
aruco::CameraParameters camParam
LASTDATA(const LASTDATA &CI)
LASTDATA(cv::Mat &frm, ArCameraParam *camparam, bool reverse, double _timestamp, double _delta)
ArImuData(Vector3 _gry, Vector3 _acc, double delta)