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 to calculate Camera_FOV by focal and princpt in dataset?? #32

Open
MouseChannel opened this issue Feb 29, 2024 · 4 comments
Open

how to calculate Camera_FOV by focal and princpt in dataset?? #32

MouseChannel opened this issue Feb 29, 2024 · 4 comments

Comments

@MouseChannel
Copy link

thanks

@mks0601
Copy link
Collaborator

mks0601 commented Feb 29, 2024

https://www.edmundoptics.com/knowledge-center/application-notes/imaging/understanding-focal-length-and-field-of-view/

@MouseChannel
Copy link
Author

https://www.edmundoptics.com/knowledge-center/application-notes/imaging/understanding-focal-length-and-field-of-view/

so fov_x = 2 * np.arctan(667 / (2 * camera_param['focal'][1])) where the 667 means the image width.
Is that right?
and princpt is not neccessary in calculate FOV

@MouseChannel
Copy link
Author

https://www.edmundoptics.com/knowledge-center/application-notes/imaging/understanding-focal-length-and-field-of-view/

and the result of fov is about 0.25, there must be something I did wrong

@MouseChannel
Copy link
Author

https://www.edmundoptics.com/knowledge-center/application-notes/imaging/understanding-focal-length-and-field-of-view/

I think image size is not the same thing as Camera_Sensor_size and where I can get the Sensor_Size?

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