快门类型
最后更新
- 卷帘快门 - 图像通过从上到下扫描来捕获。这意味着图像不是一次性捕获的,而是一行一行捕获的。 当摄像头或物体移动时,这可能会导致图像失真(果冻效应)。卷帘快门传感器可以在不增加太多成本的情况下实现更高的分辨率。
- 全局快门 - 图像一次性捕获。这意味着整个图像同时捕获,从而消除了果冻效应。 全局快门传感器在更高分辨率(高于 1MP)下通常要昂贵得多,这就是为什么我们目前支持的最大全局快门传感器是 2.3MP(AR0234)。
卷帘快门
卷帘快门传感器时序

row_time = 1 / (maxFps * rows) 来估算它。因此,对于 IMX378 @ 1080P,它将是 row_time = 1/(60 * 1080) = 15.4us。下面的动画显示了在使用卷帘快门捕获移动物体时的缺点。卷帘快门传感器时序
估算果冻效应
- 物体速度
- 物体大小
- 使用的分辨率
Python
1obj_speed = 0.364 # [fov%/sec]
2obj_height = 0.1 # [%] Object height in the FOV
3width_pix, height_pix = 1920, 1080 # [pix] 1080P resolution
4row_time = 1 / (60 * height_pix) # 15.4 微秒
5
6obj_speed_pix = obj_speed * width_pix # 1920 像素/秒移动
7shift_per_row = obj_speed_pix * row_time # 0.0148[像素/行] 偏移
8
9# 行数,FOV 的 10% => 108 行 * 偏移
10total_shift = obj_height * height_pix * shift_per_row
11print('Object shift:', total_shift, 'pix') # -> 物体偏移:1.16 像素
12print('Relative obj shift', total_shift / width_pix * 100, '%') # -> 0.06 %
13
14width_pix, height_pix = 3840, 2160 # [pix] 4K resolution
15obj_speed_pix = obj_speed * width_pix
16row_time = 1 / (30 * height_pix) # 15.4 微秒,与 1080P 相同
17shift_per_row = obj_speed_pix * row_time
18total_shift = obj_height * height_pix * shift_per_row
19print('Object shift:', total_shift, 'pix') # -> 物体偏移:4.66 像素
20# 相对物体偏移
21print(total_shift / width_pix * 100, '%') # -> 0.12%全局快门
全局快门传感器时序

卷帘快门传感器时序