Commit 3d3367c7 authored by Thiago Santini's avatar Thiago Santini

Fixes dummy camera center

parent f3e0c05e
......@@ -175,8 +175,8 @@ void FieldImageProcessor::sanitizeCameraParameters(Size size)
qInfo() << "No valid intrinsic parameters available. Using dummy values";
// Dummy estimation
cameraMatrix = (Mat_<double>(3,3) <<
size.width, 0, size.width,
0, size.width, size.height,
size.width, 0, 0.5*size.width,
0, size.width, 0.5*size.height,
0, 0 ,1 );
distCoeffs = (Mat_<double>(1,4) << 0, 0, 0, 0);
imageSize = size;
......
Markdown is supported
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