mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Added rtabmap-camera tool. Added Export button in Calibration dialog to
save calibration to yaml file (same format as ROS).
This commit is contained in:
@@ -61,6 +61,10 @@ public:
|
||||
void setImageRate(float imageRate) {_imageRate = imageRate;}
|
||||
void setImageSize(unsigned int width, unsigned int height);
|
||||
|
||||
void setCalibration(const std::string & fileName);
|
||||
void setCalibration(const cv::Mat & cameraMatrix, const cv::Mat & distorsionCoefficients);
|
||||
void resetCalibration();
|
||||
|
||||
protected:
|
||||
/**
|
||||
* Constructor
|
||||
@@ -78,6 +82,8 @@ private:
|
||||
unsigned int _imageWidth;
|
||||
unsigned int _imageHeight;
|
||||
UTimer * _frameRateTimer;
|
||||
cv::Mat _k; // camera_matrix
|
||||
cv::Mat _d; // distorsion_coefficients
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user