视场角计算方法
方法1:拍物体
参考
https://wenku.baidu.com/view/411a838aaa00b52acec7ca27.html
被测物体长为A宽为B,图像刚好覆盖被测量物体。
水平视场角度
θ
h
=
2
a
t
a
n
(
B
/
2
l
)
\theta_h=2atan(B/2l)
θh=2atan(B/2l)
垂直视场角度
θ
v
=
2
a
t
a
n
(
A
/
2
l
)
\theta_v=2atan(A/2l)
θv=2atan(A/2l)
方法2.
由摄像头规格尺寸计算
如果不想拍物体计算,可以直接由镜头和感光芯片的规格参数计算。
如图,拍摄的全覆盖的物体和感光芯片(CCD靶面)完全相似
焦距
f
f
f对应方法一中L
设靶面的宽为
w
w
w,高为
h
h
h
对应方法一中的物体A和物体B
水平视场角度
θ
h
=
2
a
t
a
n
(
w
/
2
f
)
\theta_h=2atan(w/2f)
θh=2atan(w/2f)
垂直视场角度
θ
v
=
2
a
t
a
n
(
h
/
2
f
)
\theta_v=2atan(h/2f)
θv=2atan(h/2f)
视场角度
θ
=
2
a
t
a
n
(
w
2
+
h
2
/
2
f
)
\theta=2atan(\sqrt{w^2+h^2}/2f)
θ=2atan(w2+h2/2f)
如f=35mm 相机的hw= 24mm(垂直)× 35mm
水平视场角为2atan(35/(235))=53.13
用以上公式可以计算出所有的CCD靶面尺寸和镜头焦距的视场角度,
CCD靶面尺寸和镜头焦距对应的视场角度对应下面的表格
https://blog.csdn.net/dafenqie/article/details/78393412
4mm焦距对应1/2.7""靶面的镜头,靶面的宽为w=5.27,高为h=3.96
垂直视场角度为
2atan(3.96/(2*4))=52.67
视场角为78.98
对应博客中的表格
如果焦距为2.8
垂直视场角度为70.53153652
如果焦距为2.0
垂直视场角度为89.42