mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-12 04:29:49 +08:00
Added CalibrationDialog in Preferences->source for convenience. The database is also changed to handle new FX, FY, CX and CY intrinsic parameters instead of only depthConstant parameter. Added version of the database in a new table Admin. Updated to version 0.7.0.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1613 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -27,11 +27,23 @@ public:
|
||||
CalibrationDialog(QWidget * parent = 0);
|
||||
virtual ~CalibrationDialog();
|
||||
|
||||
bool isCalibrated() const {return calibrated_;}
|
||||
const cv::Mat & cameraMatrix() const {return cameraMatrix_;} // Matrix K
|
||||
const cv::Mat & distCoeffs() const {return distCoeffs_;} // Matrix D
|
||||
float fx() const {return cameraMatrix_.at<double>(0,0);} // K(0)
|
||||
float fy() const {return cameraMatrix_.at<double>(1,1);} // K(4)
|
||||
float cx() const {return cameraMatrix_.at<double>(0,2);} // K(2)
|
||||
float cy() const {return cameraMatrix_.at<double>(1,2);} // K(5)
|
||||
|
||||
public slots:
|
||||
void setBoardWidth(int width);
|
||||
void setBoardHeight(int height);
|
||||
void setSquareSize(double size);
|
||||
|
||||
private slots:
|
||||
void processImage(const cv::Mat & image);
|
||||
void restart();
|
||||
void calibrate();
|
||||
void exit();
|
||||
|
||||
protected:
|
||||
virtual void closeEvent(QCloseEvent* event);
|
||||
|
||||
Reference in New Issue
Block a user