![]() |
What is the field of view (FOV) of the default lens?
I can't seem to find any specs for the default CMU cam lens vertical/horizontal field of view. Obviously, I only need one since I know the aspect ratio.
Any ideas? Cheers. |
Re: What is the field of view (FOV) of the default lens?
You could measure it... put some marks on a wall and tell us.
|
Re: What is the field of view (FOV) of the default lens?
See this thread from last year: http://www.chiefdelphi.com/forums/sh...ght=field+view
I found that thread by searching for field of view in the technical forum and all subforums. |
Re: What is the field of view (FOV) of the default lens?
I did a bit of googling previously, what follows is my calculations for it. (Note that I'm not an optical expert and there's a good chance I'm wrong.)
For rectilinear (normal) lenses, the Field of View (FoV) is calculated as: 2 * arctan (<sensor size>/(<focal length> * 2))I found that the OV7620 by default has the "Yasan 1/3" Focal Length 6.0mm, F1.8 Glass #604180 LCR1(Coating)" lens and the sensor is 4.86mm x 3.64mm. After doing the necessary trig, I came up with the answer that the FoV is 44.09589 x 33.74860 degrees. I haven't confirmed this, nor looked at the other thread, yet. |
Re: What is the field of view (FOV) of the default lens?
Quote:
|
Re: What is the field of view (FOV) of the default lens?
Visualization, actually.
I've written an OpenGL application that renders the field in 3D as the camera sees it, based on the tilt, pan, mx, and my values. The FOV is needed to convert mx and my into an angle. Right now I just added in a slider so teams can change it to whatever lens they're using. The math itself is actually surprisingly complicated (converting to and from 2D screen coordinates to 3D world coordinates), so I don't think I'm going to try to implement something *quite* as precise on the RC. Besides, we don't really need to know the exact range unless the target is centered horizontally in our application, and this constraint turns the equation from matrix math into trig. It is actually done, and works great - I'm just waiting on our teams' animators to texture the field nicely before I release it on here. I'm a programmer, so my 3D field left much to be desired... Here's a screen cap from about a week ago - the current build is much prettier. ![]() |
Re: What is the field of view (FOV) of the default lens?
Quote:
It would be wonderful if another team could take these measures and we can see if they line up. On Saturday, I will see if we have the spare manpower to re-do the tests, as I imagine they will be important for this year's camera system as well. |
Re: What is the field of view (FOV) of the default lens?
I did it today and got about 34 degrees vertical, which seems in line with the data sheets scattered about the web.
|
| All times are GMT -5. The time now is 08:59. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi