Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Acquiring FOV #87

Open
yesennes opened this issue Jul 12, 2016 · 2 comments
Open

Acquiring FOV #87

yesennes opened this issue Jul 12, 2016 · 2 comments

Comments

@yesennes
Copy link

This isn't a bug so much as a question, so if there is a better place to ask I would appreciate being redirected there.

I am making an augmented reality program that needs to draw on the world. The graphics library I am using requires an angular horizontal field of view. As far as I understand, the FOV (or some equivalent information) of the camera is required to render images against the real world that seem fixed. I notice that ptam does a very good job of rendering the black grid on the tracking surface. Is there anyway I could get the FOV or related information out of the code?

@stephanweiss
Copy link
Contributor

Hi,

PTAM uses the ATAN camera model which is described here:

https://hal.inria.fr/inria-00267247/document

From the camera parameters in the yaml file, you should then be able to compute the FoV. Note that PTAM uses normalized parameters.

Hope this helps.

Best,

Stephan


Von: yesennes [email protected]
Gesendet: Dienstag, 12. Juli 2016 16:55
An: ethz-asl/ethzasl_ptam
Betreff: [ethz-asl/ethzasl_ptam] Acquiring FOV (#87)

This isn't a bug so much as a question, so if there is a better place to ask I would appreciate being redirected there.

I am making an augmented reality program that needs to draw on the world. The graphics library I am using requires an angular horizontal field of view. As far as I understand, the FOV (or some equivalent information) of the camera is required to render images against the real world that seem fixed. I notice that ptam does a very good job of rendering the black grid on the tracking surface. Is there anyway I could get the FOV or related information out of the code?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com//issues/87, or mute the threadhttps://github.com/notifications/unsubscribe/AAtHt64k59BPJxsWTtV-CFx_aJm8MaPrks5qU6rRgaJpZM4JKe8u.

@yesennes
Copy link
Author

Thank you!

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

No branches or pull requests

2 participants