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

How the focal length was calculated for stereo_matching.py? #15

Open
nexus1203 opened this issue May 20, 2024 · 0 comments
Open

How the focal length was calculated for stereo_matching.py? #15

nexus1203 opened this issue May 20, 2024 · 0 comments

Comments

@nexus1203
Copy link

In the renderer.py line 43 a diagonal FOV of 71.28 degrees is used:
camera_fov = 71.28 / 180 * math.pi

however in the stereo_matching.py line 521 the focal length is 446.31.
f = torch.tensor(446.31) # focal length of the sensor

may the authors elaborate on how the focal length was calculated from camera's diagonal FOV?

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