From 4b562c6ab178b60d1f167dc2ec24d6dad8bb7aa6 Mon Sep 17 00:00:00 2001 From: oafolabi Date: Mon, 18 Mar 2024 10:02:32 -0700 Subject: [PATCH] =?UTF-8?q?returning=20norm=5Fcoords=20instead=20of=20px?= =?UTF-8?q?=5Fcoords=20in=20pixelToNormalizedCoordi=E2=80=A6=20(#1031)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: https://github.com/mapillary/OpenSfM/pull/1031 Reviewed By: paulinus Differential Revision: D55006764 Pulled By: fabianschenk fbshipit-source-id: 506078187c0f2387535521f0068c3322f2465b22 --- opensfm/src/geometry/src/camera.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensfm/src/geometry/src/camera.cc b/opensfm/src/geometry/src/camera.cc index 45619f6cf..d864fa743 100644 --- a/opensfm/src/geometry/src/camera.cc +++ b/opensfm/src/geometry/src/camera.cc @@ -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 {