mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-08 12:30:20 +08:00
fixed #152
This commit is contained in:
@@ -180,8 +180,11 @@ void CameraModel::setImageSize(const cv::Size & size)
|
||||
P_.at<double>(0,2) = ncx;
|
||||
P_.at<double>(1,2) = ncy;
|
||||
}
|
||||
K_.at<double>(0,2) = ncx;
|
||||
K_.at<double>(1,2) = ncy;
|
||||
if(!K_.empty())
|
||||
{
|
||||
K_.at<double>(0,2) = ncx;
|
||||
K_.at<double>(1,2) = ncy;
|
||||
}
|
||||
}
|
||||
|
||||
bool CameraModel::load(const std::string & directory, const std::string & cameraName)
|
||||
|
||||
Reference in New Issue
Block a user