Skip to content
Snippets Groups Projects
Commit 4aa3bc48 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Fix bug: remove distortion info from camera when using rectified images

parent 43b1cc37
No related branches found
No related tags found
2 merge requests!36After cmake and const refactor,!28Resolve "Building a new visual odometry system"
......@@ -179,6 +179,8 @@ inline bool SensorCamera::useRectifiedImages()
{
getIntrinsic()->setState(pinhole_model_rectified_);
K_ = setIntrinsicMatrix(pinhole_model_rectified_);
distortion_.resize(0); // remove distortion from model
correction_.resize(0);
using_raw_ = false;
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment