Skip to content

Commit

Permalink
Merge pull request #384 from oddkiva/enh-add-chessboard-calibration-f…
Browse files Browse the repository at this point in the history
…or-pinhole-camera

ENH: add chessboard calibration for pinhole camera
  • Loading branch information
oddkiva authored May 28, 2024
2 parents 9a8eb92 + 5ad01fe commit 7ecac10
Show file tree
Hide file tree
Showing 8 changed files with 605 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,7 @@ inline auto inspect(sara::ImageView<sara::Rgb8>& image, //
{
for (auto x = 0; x < chessboard.width(); ++x)
{
auto P = Eigen::Vector3d{};
P << chessboard.scene_point(x, y).cast<double>(), 0;
Eigen::Vector3d P = chessboard.scene_point(x, y).cast<double>();
P = R * P + t;

const Eigen::Vector2f p1 = chessboard.image_point(x, y);
Expand Down
Loading

0 comments on commit 7ecac10

Please sign in to comment.