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

Scaling factor cancels out for depth values #41

Open
jocodeone opened this issue Nov 7, 2022 · 0 comments
Open

Scaling factor cancels out for depth values #41

jocodeone opened this issue Nov 7, 2022 · 0 comments

Comments

@jocodeone
Copy link

I just found your code as I was searching for NYU Depth Data loaders. First of all, thanks a lot for making this public.

I think your scaling is not applied correctly.
As you divide by s, you reverse this by applying the transformation for the image and the depth values. Therefore you have the same depth values, but a scaled image. To correct this, you have to divide the depth values by the squared scaling when you still apply the same transformation.

Not sure whether this has an impact at all, but the camera world geometry is not correct as a result and maybe that has also an impact on the training itself.

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

1 participant