ethz-asl / ethzasl_ptam

Modified version of Parallel Tracking and Mapping (PTAM)
http://wiki.ros.org/ethzasl_ptam
235 stars 184 forks source link

Acquiring FOV #87

Open yesennes opened 8 years ago

yesennes commented 8 years ago

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 commented 8 years ago

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 notifications@github.com 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/ethz-asl/ethzasl_ptam/issues/87, or mute the threadhttps://github.com/notifications/unsubscribe/AAtHt64k59BPJxsWTtV-CFx_aJm8MaPrks5qU6rRgaJpZM4JKe8u.

yesennes commented 8 years ago

Thank you!