Skip to content
Snippets Groups Projects
Commit b3ff19fc authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Invert cx and cy in cam params

parent 9cd7f948
No related branches found
No related tags found
No related merge requests found
Pipeline #10812 passed
...@@ -51,8 +51,8 @@ StereoVideoSource::StereoVideoSource(nlohmann::json &config, const string &file) ...@@ -51,8 +51,8 @@ StereoVideoSource::StereoVideoSource(nlohmann::json &config, const string &file)
// TODO(Nick) Add fx and fy // TODO(Nick) Add fx and fy
q.at<double>(0,0), // Fx q.at<double>(0,0), // Fx
q.at<double>(1,1), // Fy q.at<double>(1,1), // Fy
q.at<double>(0,2), // Cx -q.at<double>(0,2), // Cx
q.at<double>(1,2), // Cy -q.at<double>(1,2), // Cy
(unsigned int)left_.cols, // TODO (Nick) (unsigned int)left_.cols, // TODO (Nick)
(unsigned int)left_.rows, (unsigned int)left_.rows,
0.0f, // 0m min 0.0f, // 0m min
......
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