Skip to content

Commit

Permalink
returning norm_coords instead of px_coords in pixelToNormalizedCoordi… (
Browse files Browse the repository at this point in the history
#1031)

Summary:
…natesMany

Attempting to fix issue create here: [https://github.com/mapillary/OpenSfM/issues/1030#issue-2046628484](https://github.com/mapillary/OpenSfM/issues/1030#issue-2046628484)

Pull Request resolved: #1031

Reviewed By: paulinus

Differential Revision: D55006764

Pulled By: fabianschenk

fbshipit-source-id: 506078187c0f2387535521f0068c3322f2465b22
  • Loading branch information
oaa3wf authored and facebook-github-bot committed Mar 18, 2024
1 parent 78b795c commit 4b562c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opensfm/src/geometry/src/camera.cc
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ MatX2d Camera::PixelToNormalizedCoordinatesMany(const MatX2d& px_coords,
norm_coords.row(i) =
PixelToNormalizedCoordinates(px_coords.row(i), width, height);
}
return px_coords;
return norm_coords;
}

Vec2d Camera::NormalizedToPixelCoordinates(const Vec2d& norm_coord) const {
Expand Down

0 comments on commit 4b562c6

Please sign in to comment.