Skip to content

Commit

Permalink
[software] checkerboardCalibration: fix after pose3 modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
mugulmd committed Sep 8, 2023
1 parent 5b96dca commit 5db4510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/software/pipeline/main_checkerboardCalibration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ bool estimateIntrinsicsPoses(sfmData::SfMData& sfmData,
Eigen::JacobiSVD<Eigen::Matrix3d> svd(M, Eigen::ComputeFullU | Eigen::ComputeFullV);
T.block<3, 3>(0, 0) = svd.matrixU() * svd.matrixV().transpose();

geometry::Pose3 pose(T);
geometry::Pose3 pose(T.block<3, 3>(0, 0), -T.block<3, 3>(0, 0).transpose() * T.col(3));
sfmData::CameraPose cp;
cp.setTransform(pose);

Expand Down

0 comments on commit 5db4510

Please sign in to comment.