mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-08 12:30:20 +08:00
RegVis: if calibration is not found, local features matching using guess is not done, global matching is done instead. CameraModel/StereoCameraModel: added imageSize argument to constructors
This commit is contained in:
@@ -67,7 +67,9 @@ CameraModel::CameraModel(
|
||||
double cx,
|
||||
double cy,
|
||||
const Transform & localTransform,
|
||||
double Tx) :
|
||||
double Tx,
|
||||
const cv::Size & imageSize) :
|
||||
imageSize_(imageSize),
|
||||
K_(cv::Mat::eye(3, 3, CV_64FC1)),
|
||||
localTransform_(localTransform)
|
||||
{
|
||||
@@ -99,8 +101,10 @@ CameraModel::CameraModel(
|
||||
double cx,
|
||||
double cy,
|
||||
const Transform & localTransform,
|
||||
double Tx) :
|
||||
double Tx,
|
||||
const cv::Size & imageSize) :
|
||||
name_(name),
|
||||
imageSize_(imageSize),
|
||||
K_(cv::Mat::eye(3, 3, CV_64FC1)),
|
||||
localTransform_(localTransform)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user