iPhone 4 摄像头规格 - 视野/垂直-水平角度

发布于 2024-09-16 06:52:02 字数 75 浏览 8 评论 0原文

有人知道新 iPhone4 摄像头的视野值吗?我正在做一些 AR 应用程序,我想知道后置摄像头的水平和垂直角度。

谢谢!

Does someone know the field of view values for the new iPhone4 camera? I'm doing some AR app's, and I want to know the horizontal and vertical angle of the rear camera.

Thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

最冷一天 2024-09-23 06:52:02

如果传感器高 3.39 毫米(参考横向模式),则其一半为 1.695 毫米。 iPhone 4 的焦距为 3.85 毫米。 atan(1.695/3.85) 从中心到顶部为 23.75 度,或从顶部到底部为 47.5 度。

对于较长的尺寸 4.52/2 = 2.26 mm,atan(2.26/3.85) = 30.41 中心到侧面,或从左到右 60.8 度(再次参考横向方向)。

所以水平 60.8 度,垂直 47.5 度。

很久以后添加:

较新的 iPhone 4S 后置摄像头的焦距列为 4.28 毫米,但传感器尺寸与较旧的 iPhone 4 相同。因此:

2*atan(2.26/4.28) = 55.7 度,2*atan(1.695/4.28) = 43.2 度

或者与 iPhone 4 相比,视野小大约 4 到 5 度。

稍后添加:

, 据报道,iPhone 5S 后置摄像头尺寸为 4.89 x 3.67 毫米,焦距为 4.12 毫米。因此:

2*atan((4.89/2)/4.12) = 61.4 度宽

2*atan((3.67/2)/4.12) = 48.0 度从上到下

...或者 FOV 比后置摄像头稍大一点iPhone 4。

If the sensor is 3.39 mm tall (referenced to landscape mode), then half that is 1.695 mm. Focal length for the iPhone 4 is listed as 3.85 mm. atan(1.695/3.85) is 23.75 degrees from center to top, or 47.5 degrees top to bottom.

For the longer dimension 4.52/2 = 2.26 mm, atan(2.26/3.85) = 30.41 center to side, or 60.8 degrees left to right (again referencing with respect to landscape orientation).

So 60.8 degrees horizontal by 47.5 degrees vertical.

ADDED much later:

The focal length for the newer iPhone 4S back camera is listed as 4.28 mm, but with the same sensor dimensions as the older iPhone 4. So:

2*atan(2.26/4.28) = 55.7 degrees, by 2*atan(1.695/4.28) = 43.2 degrees

or roughly a 4 to 5 degree smaller field-of-view compared with the iPhone 4.

ADDED much much later:

The sensor size for the iPhone 5S back camera is reported to be 4.89 x 3.67 mm, with a focal length of 4.12 mm. Thus:

2*atan((4.89/2)/4.12) = 61.4 degrees wide

2*atan((3.67/2)/4.12) = 48.0 degrees top to bottom

...or an FOV just a smidge larger than the back camera the iPhone 4.

秉烛思 2024-09-23 06:52:02

我认为iOS7引入了一个新属性 videoFieldOfView for AVCaptureDeviceFormat 因此我们可以使用此属性来获取 FOV,即视野,例如:

NSLog(@"相机的FOV为%f",myCamera.activeFormat.videoFieldOfView);

其中 myCamera 是 AVCaptureDevice 的实例。 在这里您将了解焦距、角度的概述视野和视野。

I think iOS7 has introduced a new property videoFieldOfView for AVCaptureDeviceFormat so we can use this property to get the FOV, field of view like:

NSLog(@"Camera's FOV is %f",myCamera.activeFormat.videoFieldOfView);

where myCamera is an instance of AVCaptureDevice. Here you will get an overview on focal length, angle of view and field of view.

掐死时间 2024-09-23 06:52:02

之前的计算好像有点错误
OV8830-G04A 传感器尺寸为 4592x3450 um

那么正确的角度为:

2*atan(4.592/(2*4.28))*180/pi = 56.423

2*atan(3.450/(2*4.28))*180/pi = 43.903

It在敏感应用中变得非常重要。

Seems there is a little mistake in previous calculations
OV8830-G04A sensor has dimensions 4592x3450 um

Then correct angles are:

2*atan(4.592/(2*4.28))*180/pi = 56.423

2*atan(3.450/(2*4.28))*180/pi = 43.903

It becomes very crucial in sensitive applications.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文