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
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment