Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Difference between the grid points and the projected into 2D points #7

Open
carlosjedwab opened this issue Apr 29, 2024 · 1 comment

Comments

@carlosjedwab
Copy link

carlosjedwab commented Apr 29, 2024

I am trying to recreate the point correspondence between two images from the navi dataset (not just the error evaluation, but the actual image mapping), but there seems to be a translation between where the projected points should be and where the grid points actually are. This error seems to be different for each image. Where exactly does this translation come from and how do I correct it for both image pairs? I suspect there might be some camera attribute that was not considered in the computations within the existing code, but I wasn't able to find anything.

Here is a demonstration of the error between the grid points uv_0 and the 3D to 2D points xy_0:

image

Here is the image with the xy_0 points for reference:

image

And here is the image with the uv_0 points:

image

@mbanani
Copy link
Owner

mbanani commented Jul 10, 2024

Sorry for the delayed response. I didn't notice the issue when it showed up. Based on this images you attached, it seems that the difference is simple due to taking an image plane (uv) which goes from (0,0), (width, height), or if we center the image plane at 0. I would need to look into it more though. Where you able to fix the problem or is it still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants