报告的垂直/水平相机视角与支持的图片尺寸不一致。大概这种差异是通过在onPicture()
回调中返回图像之前填充/剪辑来解决的。它是如何解决的?我想通过处理图片来正确测量角度。
1 回答
Actually, the angles of view are consistent with some of the supported picture sizes. In the case of an Samsung Captivate, the angles are reported as 51.2 x 39.4. Taking the ratio of the tangents of these angles divided by 2, you get 1.338. This agrees closely enough with the 640x480, 1600x1200, 2048x1536, and 2560x1920 aspect ratios: 1.333... Additionally, the angles do not change either when you change the picture size, or the zoom, so they are describing the hardware, specifically a relationship between lens and sensor.
So my question only applies to the other picture sizes, having an aspect ratio of 1.66....