# 标定板，以及如何录制标定序列

> 棋盘格、ChArUco 标定板、Aprilgrid 和圆点阵列有什么不同，基准标记的检测如何影响标定板的设计，如何做出一块平整、尺寸测量正确的标定板，以及如何移动它（或移动采集设备），使相机标定和相机–IMU 标定在整幅图像上都得到良好的约束。

Page: https://egocam.ai/zh-cn/calibration/targets-and-calibration-sequences/

一次[相机标定](https://egocam.ai/zh-cn/calibration/camera-calibration/)或一次[相机–IMU 标定](https://egocam.ai/zh-cn/calibration/imu-calibration/)能有多好，取决于两样东西：相机所看的那块实物标定板，以及为它录下的那一组视图。本页两者都讲：用哪种标定板，它的检测器对打印件有什么要求，如何制作标定板，以及录制时如何移动。

当前公开的采集设备使这件事比过去更难。双目是基线配置，最新的头部设备带有更多相机，镜头也非常广。[RoboCap](https://arxiv.org/abs/2610.07217)（Ali et al., 2026）是一顶六相机的帽子，它列出的鱼眼双目光学参数为 "216° diag."（意为：对角 216°），侧向光学参数为 "179° diag."（意为：对角 179°）。[Ego-1K](https://arxiv.org/abs/2603.13741)（Lee et al., 2026）使用的头部设备围绕一台 Quest 3 装有 "12 global-shutter RGB fisheye cameras"（意为：12 台全局快门 RGB 鱼眼相机），镜头为 "190° diagonal FOV"（意为：对角视场角 190°）。用这样的镜头，标定板除非离得很近，否则只占图像的一小部分；而图像边缘畸变最强，恰恰是最难得到观测的地方。

Kalibr 的标定板文件格式（`target.yaml`、`tagSize`、`tagSpacing` 等）在 [Kalibr 文件参考](https://egocam.ai/zh-cn/kalibr/kalibr-file-reference/)中逐个字段定义，从头到尾的工作顺序在 [Kalibr 工作流程](https://egocam.ai/zh-cn/kalibr/kalibr-workflow/)中。本页不再重复。

## 标定板类型比较

**平面标定板**（planar calibration target）是一块平板，上面印有几何形状精确已知的图案。[Zhang (2000)](https://www.microsoft.com/en-us/research/?p=145334) 证明了这就够了："The technique only requires the camera to observe a planar pattern shown at a few (at least two) different orientations. Either the camera or the planar pattern can be freely moved. The motion need not be known."（意为：该技术只要求相机观察在少数几个（至少两个）不同朝向下展示的平面图案。相机或平面图案都可以自由移动。运动不需要已知。）

各种标定板的区别在于检测器找的是什么。**棋盘格角点**是一个鞍点（saddle point），即两个黑格和两个白格相交的地方。**基准标记**（fiducial marker）是一个小的方形二进制码，带有自己的 ID 和朝向，例如 AprilTag（[Olson, 2011](https://april.eecs.umich.edu/pdfs/olson2011a.pdf)）或 ArUco 标记。

| 标定板 | 检测的是什么 | 部分可见的视图能用吗？ | 位姿会翻转吗？ | 公开出现在哪里 |
|---|---|---|---|---|
| **棋盘格（Checkerboard）** | 内部的鞍点角点 | 不能：OpenCV 说图案 "has to be completely visible and occlusions are not permitted"（意为：必须完全可见，不允许有遮挡） | 会，在对称的标定板上 | OpenCV；Kalibr 的 `checkerboard`；Furgale et al. (2013) 在他们的 Kalibr 实验中用了一块 |
| **ChArUco** | 棋盘格角点，借助白格中的 ArUco 标记定位 | 能 | 不会 | OpenCV；[HOT3D](https://egocam.ai/zh-cn/datasets/hand-object-datasets/) 用一块这样的标定板标定了 Quest 3 的相机 |
| **Aprilgrid** | 每个 AprilTag 的四个外角点 | 能 | 不会 | Kalibr（推荐的标定板）；TUM VI；RoboCap 的出厂标定 |
| **圆点阵列（Circle grid）** | 圆心 | 不能 | 会，在对称的阵列上 | OpenCV；Kalibr 的 `circlegrid` |
| **多板（BabelCalib 的 Corner 和 Cube）** | 带 AprilTag 的棋盘格，分布在三块或四块板上 | 能 | 不会 | BabelCalib 自己的鱼眼采集数据 |

此表的来源：[OpenCV ChArUco 教程](https://docs.opencv.org/4.x/df/d4a/tutorial_charuco_detection.html)、[Kalibr 的标定板页面](https://github.com/ethz-asl/kalibr/wiki/calibration-targets)和[相机–IMU 指南](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration)、[Furgale et al. (2013)](https://doi.org/10.1109/IROS.2013.6696514)、[HOT3D](https://arxiv.org/abs/2411.19167v2)、[TUM VI](https://arxiv.org/abs/1804.06120)、[RoboCap](https://arxiv.org/abs/2610.07217) 和 [BabelCalib](https://arxiv.org/pdf/2109.09704)。

### 棋盘格

棋盘格是经典的标定板，它的角点非常精确。[OpenCV ChArUco 教程](https://docs.opencv.org/4.x/df/d4a/tutorial_charuco_detection.html)解释了原因："the corners of chessboard patterns can be refined more accurately since each corner is surrounded by two black squares."（意为：棋盘格图案的角点可以细化得更准确，因为每个角点都被两个黑格包围。）它的弱点是没有哪个格子知道自己是哪一格。检测器必须看到整个网格才能给角点编号，所以被图像边缘截断的标定板什么也给不出来。

对称的标定板位姿还有歧义。Kalibr 的[相机–IMU 指南](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration)警告说，使用 "a calibration target with symmetries (checkerboard, circlegrid), movements which could lead to flips in the target pose estimates have to be avoided."（意为：带有对称性的标定板（棋盘格、圆点阵列）时，必须避免可能导致标定板位姿估计翻转的运动。）内角点数在一个方向上为偶数、在另一个方向上为奇数的标定板没有 180° 对称性：转半圈之后，它的黑格和白格互换。

### ChArUco 标定板

ChArUco 标定板在棋盘格的每个白格里放一个 ArUco 标记。OpenCV 教程这样描述其中的取舍："The ArUco part is used to interpolate the position of the chessboard corners, so that it has the versatility of marker boards, since it allows occlusions or partial views. Moreover, since the interpolated corners belong to a chessboard, they are very accurate in terms of subpixel accuracy."（意为：ArUco 部分用来插值出棋盘格角点的位置，所以它具有标记板的通用性，因为它允许遮挡或部分可见的视图。此外，由于插值出的角点属于棋盘格，它们在亚像素精度方面非常准确。）

公开的第一人称研究在使用它们。[HOT3D](https://arxiv.org/abs/2411.19167v2)（Banerjee et al.）"with a ChArUco board"（意为：用一块 ChArUco 标定板）标定了 Quest 3 的相机；头显和标定板上都带有动作捕捉标记，"which allowed to estimate camera-to-headset transformations."（意为：这使得可以估计相机到头显的变换。）RoboCap 用一块这样的标定板检查双目深度，真值 "from the board pose, independent of the stereo extrinsics"（意为：来自标定板位姿，与双目外参无关）。

### Aprilgrid

**Aprilgrid** 是由固定间隙隔开的 AprilTag 组成的网格。每个标签给出四个角点，并且单独解码。[Richardson, Strom and Olson (2013)](https://april.eecs.umich.edu/media/pdfs/richardson2013iros.pdf) 解释了实际的好处："we can detect and recognize individual tags without observing the entire target. This makes it possible to add constraints in the corners of images, even for highly distorted lenses. In the multi-camera case, this allows calibration of cameras with adjacent, but non-overlapping, fields of view."（意为：我们不必观察到整块标定板就能检测并识别单个标签。这使得即使对畸变很大的镜头，也可以在图像的四角加入约束。在多相机的情况下，这使得可以标定视场相邻但不重叠的相机。）

> **Diagram:** On an Aprilgrid, tagSize is the width of one tag across its black border, in metres. tagSpacing is not a length: it is the gap between tags divided by tagSize. The small black squares fill the gaps at the tag corners.

Kalibr 的[标定板页面](https://github.com/ethz-asl/kalibr/wiki/calibration-targets)推荐它："Partially visible Aprilgrid targets can be detected without problems. This greatly simplifies the data collection and makes this grid the recommended choice."（意为：部分可见的 Aprilgrid 标定板可以毫无问题地被检测到。这大大简化了数据采集，使这种网格成为推荐的选择。）公开的用例：

- **TUM VI**（[Schubert et al., 2018](https://arxiv.org/abs/1804.06120)）是一个使用 195° 鱼眼双目相机的视觉惯性基准数据集，它在 "A grid of AprilTags"（意为：一个 AprilTag 网格）前录制了它的标定序列。
- **RoboCap**（[Ali et al., 2026](https://arxiv.org/abs/2610.07217)）："An operator sweeps the device through a calibration motion sequence against a stationary AprilGrid target"（意为：操作员让设备对着一块静止的 AprilGrid 标定板做一套标定运动序列）（6 × 6 个标签，55 mm）"simultaneously covering all camera groups and both IMUs."（意为：同时覆盖所有相机组和两个 IMU。）

### 圆点阵列

OpenCV 和 Kalibr 都支持圆点阵列，但 mrcal 的[运动编排研究](https://mrcal.secretsauce.net/tour-choreography.html)的结论是 "a calibration object that contains a grid of circles will work badly"（意为：包含圆点网格的标定物效果会很差），因为 "A circle viewed from a tilted closeup will appear lopsided, so we have a choice of suffering a bias from imprecise circle detections or getting poor uncertainties from insufficient tilt."（意为：从倾斜的近距离看，圆会显得歪斜，所以我们只能二选一：要么承受圆检测不精确带来的偏差，要么因倾斜不足而得到很差的不确定度。）

### 用于超广角镜头的多板标定板

[BabelCalib](https://arxiv.org/pdf/2109.09704)（Lochman et al., 2021）用三种 AprilTag 标定板标定了十六台 OmniVision 相机，镜头从 88° 到 187°；这三种标定板是 Plane、Corner 和 Cube，分别由一块、三块和四块棋盘格组成。几块角度不同的板让一个视图能覆盖鱼眼图像的更大部分。

## 基准标记的检测如何决定标定板的设计

了解检测器如何工作，就明白对打印件的那些规则从何而来。AprilTag 2（[Wang and Olson, 2016](https://april.eecs.umich.edu/pdfs/wang2016iros.pdf)）对图像做局部阈值化：它把图像分成 4 × 4 像素的小块，在每个 3 × 3 的小块组上求极值，再以极值的中点为界把每个像素标为黑或白，并丢弃对比度太低的区域。然后它对黑白区域之间的边界拟合四边形。在每个四边形内部，最初的检测器（[Olson, 2011](https://april.eecs.umich.edu/pdfs/olson2011a.pdf)）对照一个从标签边框学到的 "spatially-varying model of the intensity"（意为：随空间变化的亮度模型）来读取各个比特，这样就能应付一侧照得更亮的标定板。角点来自拟合直线的交点，所以 "these corner estimates are accurate to a small fraction of a pixel."（意为：这些角点估计可以精确到一个像素的很小一部分。）

对标定板来说，由此得出：

- **保留白边**。检测器需要每个标签的黑色边框与其周围白色之间的对比度。Kalibr 的规则："Keep a white border around the calibration target of min. the size of one grid element (or the detection might be unsuccessful in certain lighting conditions)"（意为：在标定板周围保留至少一个网格单元大小的白边（否则在某些光照条件下检测可能不成功））。
- **遮住其他标签**。Kalibr："Make sure to hide all external Apriltags while collecting the calibration dataset."（意为：采集标定数据集时，务必把所有外部的 Apriltag 都遮住。）视野里的第二块标定板会带来 ID 相同的标签。
- **避免眩光**。据我们所知，哑光打印比亮面或覆膜更稳妥：横跨标签边框的高光会降低其局部对比度，而低对比度的区域在解码之前就被丢弃了。
- **误检很少**。在 421,049 幅不含标签的 LabelMe 图像上，使用 36h11 族（Kalibr 用的就是它）并最多纠正 2 个比特错误，AprilTag 2 在 13,623,725 个候选四边形中产生了 6 个误检，即 0.000044%。

### 鱼眼图像边缘的畸变

在广角镜头把直线弯得最厉害的地方，角点检测器很吃力。BabelCalib 的作者指出 "corner extraction can fail due to the detector’s inability to localize highly-distorted saddle points"（意为：角点提取可能失败，因为检测器无法定位高度畸变的鞍点），并且 "The grid search can also fail at the extents of a fisheye image because of highly-distorted neighborhoods."（意为：在鱼眼图像的边缘处，网格搜索也可能因邻域高度畸变而失败。）求解器也可能失败：在鱼眼镜头和折反射设备上，"Kalibr and OpenCV have both a 24% failure rate for the Kannala-Brandt model, and Kalibr has a 34% failure rate for FOV and 51% failure rate for EUCM. In contrast, BabelCalib has no calibration failures."（意为：对 Kannala-Brandt 模型，Kalibr 和 OpenCV 的失败率都是 24%；Kalibr 对 FOV 模型的失败率是 34%，对 EUCM 的失败率是 51%。相比之下，BabelCalib 没有标定失败。）[镜头投影页面](https://egocam.ai/zh-cn/lens-physics/projections-and-distortion/)解释了这些模型。

## 制作标定板

### 平整而且刚性

平面标定假定标定板是一个平面。Kalibr 的规则："Make sure the calibration target is as flat as possible. Best is to glue it to a rigid plate such as aluminum or acrylic glass."（意为：确保标定板尽可能平整。最好把它粘在铝板或亚克力板这样的刚性板上。）AprilCal 的作者报告说 "rigid mounting at an office supply store is inexpensive and yields a target durable enough for many uses."（意为：在办公用品店做硬质裱板并不贵，得到的标定板足够耐用，可以用很多次。）

大的标定板很少像看上去那么平。[mrcal 文档](https://mrcal.secretsauce.net/formulation.html)说得很直接："large calibration boards used for calibration of wide lenses are never flat: temperature and humidity effects deform the board strongly-enough to affect the calibration."（意为：用于标定广角镜头的大型标定板从来都不是平的：温度和湿度的影响使标定板变形，其程度足以影响标定。）因此 mrcal 在标定的同时估计标定板的一个简单的双参数弯曲，并报告这带来了 "better-fitting solves, and less systematic error"（意为：拟合得更好的求解，以及更小的系统误差）。Kalibr 和 OpenCV 假定标定板完全平整，所以用它们时，平整度只能靠裱板来保证。

### 要测量，不要假定

"Most printers will scale the target during the printing process. Make sure to remeasure the important sizes and adjust the target configuration accordingly"（意为：大多数打印机在打印过程中会缩放标定板。务必重新测量重要的尺寸，并相应地调整标定板配置）（Kalibr）。在相机标定中，标定板是唯一确定度量尺度的东西，所以尺寸误差会直接传到每一个平移里，包括双目基线。[Kalibr 文件参考](https://egocam.ai/zh-cn/kalibr/kalibr-file-reference/)给出了测量方法和 `tagSpacing` 的算法。

### 尺寸和密度

mrcal 的[运动编排研究](https://mrcal.secretsauce.net/tour-choreography.html)就标定板的尺寸和密度做了合成测试。在相同距离上，"a bigger chessboard is better"（意为：更大的棋盘格更好），并且 "More chessboard corners is good, as long as the detector can find them reliably"（意为：棋盘格角点多是好事，只要检测器能可靠地找到它们）。当标定板变大但被移远、看上去大小相同时，结果相近："we care about the size of the chessboard relative to its distance from the camera"（意为：我们关心的是棋盘格的尺寸相对于它到相机的距离）。作为在广角镜头设备上使用标定板的一个公开例子，RoboCap 使用 6 × 6、标签 55 mm 的 Aprilgrid。

## 录制相机序列

对于相机标定，Kalibr 的[多相机指南](https://github.com/ethz-asl/kalibr/wiki/multiple-camera-calibration)说 "The camera system is fixed and the calibration target is moved in front of the cameras"（意为：相机系统固定，标定板在相机前移动），并建议把相机帧率降到 "to around 4 Hz while capturing the calibration data"（意为：采集标定数据时约 4 Hz）。它的理由："This reduces redundant information in the dataset and thus lowering the runtime of the calibration."（意为：这减少了数据集中的冗余信息，从而缩短标定的运行时间。）缓慢移动的标定板，相邻的帧显示的几乎是同一个视图，所以要的是视图的多样性，而不是视图的数量。

移动标定板而不是移动采集设备，是 Kalibr 对这个工具的约定，并不是数学上的要求。上面引用的 Zhang 的方法说 "Either the camera or the planar pattern can be freely moved"（意为：相机或平面图案都可以自由移动），因为求解器估计每个视图中标定板的位姿，进入方程的只有标定板相对于相机的位姿。要紧的是，相对运动要慢到角点清晰，又要有足够的变化以到达每幅图像的每个部分。相机–IMU 的录制则不同，那里必须是采集设备在动（见[下文](#录制相机imu-序列)）。

### 视图必须包含什么

mrcal 的[运动编排研究](https://mrcal.secretsauce.net/tour-choreography.html)在一个合成镜头上测量了每种选择如何改变结果的不确定度：

| 选择 | mrcal 的发现 |
|---|---|
| 帧数 | "more observations is always better, but we reach the point of diminishing returns at ~ 100 frames"（意为：观测越多总是越好，但在约 100 帧时就到了收益递减的地步） |
| 距离 | "This effect is dramatic: we want closeups. Anything else is a waste of time."（意为：这个效应非常显著：我们要的是近距离拍摄。其他的都是浪费时间。） |
| 倾斜 | "The head-on views (tilt = 0) produce quite poor results"（意为：正对的视图（倾斜 = 0）给出的结果相当差），并且 "diminishing returns at about 45 degrees"（意为：在约 45 度时收益递减） |
| 倾斜和靠近为什么有用 | "a tilted close-up view is the best-possible view for the solver to disambiguate focal length effects from the effects of chessboard range"（意为：对求解器来说，倾斜的近距离视图是把焦距的影响与棋盘格距离的影响区分开的最佳视图） |

作者加了一条说明：这些结果来自 "a particular scenario using a LENSMODEL_OPENCV8 lens"（意为：使用 LENSMODEL_OPENCV8 镜头的一个特定场景），并且 "For a specific lens and geometry, rerun these studies for your use cases."（意为：对于特定的镜头和几何布置，请针对你的使用情形重新做这些研究。）靠近也有限度。mrcal 的[公式说明](https://mrcal.secretsauce.net/formulation.html)说，极近的拍摄会显出非中心镜头的行为，"So it is recommended to avoid the non-central regime by keeping the chessboard far-enough out to make the central model work well."（意为：所以建议让棋盘格离得足够远，使中心模型能很好地工作，从而避开非中心的范围。）

另一项要求是覆盖：标定板必须到达每幅图像的每个部分，尤其是四角。能容忍部分可见视图的标定板在这里就有了回报，因为鱼眼图像的角落只有用一块伸出图像边缘的标定板才够得到。

### 没有引导时会怎样：AprilCal 研究

[Richardson, Strom and Olson (2013)](https://april.eecs.umich.edu/media/pdfs/richardson2013iros.pdf) 测量了新手标定得有多好。十六名本科生（"Only 3 of the 16 subjects reported any previous experience with camera calibration"（意为：16 名受试者中只有 3 人报告以前有过相机标定的经验））各自用两种方法标定同一台相机，这台相机是一个 648 × 482 的传感器配一个 2.8 mm 的 Tamron 镜头，"only 93° horizontal FOV"（意为：水平视场角只有 93°）：

- **OpenCV 配棋盘格**，按照 ROS 单目标定的说明（标定板位于视野的左、右、上、下，近、远，以及倾斜），每次试验拍 10 到 16 幅图像。
- **AprilCal 配 Aprilgrid**。AprilCal 根据当前标定的不确定度建议下一个标定板位姿，并在它的 Max ERE（最大期望重投影误差）显示已达到要求的精度时停止，"typically 6-8 images to achieve a &lt; 1 pixel confidence."（意为：通常用 6-8 幅图像就能达到 &lt; 1 像素的置信度。）

两者都在一个单独的测试集上评分，该测试集有 60 多幅图像，覆盖整个视场。

| 方法和模型 | 平均测试误差（px） | 最大测试误差（px） | 焦距标准差（px） |
|---|---|---|---|
| OpenCV，径向，3 个畸变项 | 0.728 | 38.646 | 9.0 |
| AprilCal，径向，3 个畸变项 | 0.229 | 1.651 | 1.2 |
| AprilCal，角度，4 个畸变项 | 0.203 | 1.444 | – |

这些误差是所有试验的平均值。OpenCV 的最大误差平均为 38 像素，约为图像宽度的 6%，而 AprilCal 的焦距离散度小 7.5 倍。作者把原因归结为覆盖："the sorts of images that novice users capture, even when attempting to follow the ROS instructions, don’t constrain the whole lens well."（意为：新手用户拍摄的那类图像，即使在试图遵循 ROS 说明的情况下，也不能很好地约束整个镜头。）这项研究用的是一个中等视场的镜头，而且每种方法各用一种标定板，所以它说明的是视图的选择有多重要，而不是鱼眼设备上的精确差距。

如何判断一段录制是否覆盖了图像，以及哪些数字不可信，是[评判一次标定](https://egocam.ai/zh-cn/calibration/judging-a-calibration/)的主题。

### 双目和多相机视图

Kalibr 的多相机工具要求 "that neighbouring cameras have overlapping fields of view"（意为：相邻相机的视场有重叠），而共同视野，即标定板同时被两台相机看到的视图，正是确定它们之间变换的东西。RoboCap 用对一块静止 Aprilgrid 的一次扫动覆盖它所有的相机组。如何采集和检查这些共同视野，以及重叠很小时怎么办，见[双目与多相机标定页面](https://egocam.ai/zh-cn/calibration/stereo-and-multi-camera-calibration/)。

## 照明：标定为什么需要明亮、均匀的光

标定的好坏取决于交给它的角点位置，而标定板上的光决定这些位置能找得多精确。推理分三步。

1. **清晰的角点需要短曝光**。快门打开期间，任何运动都会把图像拖花。以像素计的模糊大致等于角速度乘以曝光时间再乘以每度的像素数，所以一台以 100°/s 转动、每度 11.6 px 的相机，在 5 ms 的曝光中会把一个角点拖过 5.8 px（[破坏标定的镜头效应](https://egocam.ai/zh-cn/lens-physics/lens-effects-that-break-calibration/)）。Kalibr 的[相机–IMU 指南](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration)要求 "keep the motion blur low"（意为：保持运动模糊很低），用 "low shutter times"（意为：短的快门时间）和 "good illumination"（意为：良好的照明）。
2. **短曝光收集的光更少**。一个像素收集到的光，与标定板被照得多亮乘以快门打开多久成正比。在暗光下，相机只能靠放大信号来弥补短曝光，而放大会带来噪声：例如 Project Aria "uses analog gain to compensate image brightness in low light scenario resulting in strong photon shot noise"（意为：在低光场景下用模拟增益补偿图像亮度，导致很强的光子散粒噪声）（[Photoreal Scene Reconstruction from an Egocentric Device](https://arxiv.org/abs/2506.04444)）。另一种办法是加长曝光，但模糊又回来了。无论哪种，标定板的边缘相对于噪声的对比度都会下降，检测到的角点位置变得分散（[渐晕与相对照度](https://egocam.ai/zh-cn/lens-physics/lens-effects-that-break-calibration/)）。
3. **这种影响可以测量**。在一项多 IMU 标定的研究中，光照良好时 Kalibr 把一个 IMU 定位到 3.64 mm RMSE 以内；光照差时 21 次运行中只有 1 次完成，其误差为 119.96 mm（[Lee, Hanley and Bretl, 2022](https://arxiv.org/pdf/2205.14724)，Table IX）。

亮度本身并不是目标。Kalibr 的[相机–IMU 指南](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration)两者都要求："It is important to ensure good and even illumination of the calibration target"（意为：确保标定板得到良好而均匀的照明很重要）。光必须均匀，而且不能过曝截断：

- **不要过曝截断**。把曝光一直调高到所有东西都很亮，可能使白格饱和。被截断的边缘失去了亚像素角点细化所依赖的亮度梯度，所以要按图像较暗的边缘来曝光，同时不让中心过曝截断（[破坏标定的镜头效应](https://egocam.ai/zh-cn/lens-physics/lens-effects-that-break-calibration/)）。
- **不要眩光**。横跨标签边框的高光会降低它的对比度；见[基准标记的检测如何决定标定板的设计](#基准标记的检测如何决定标定板的设计)下关于哑光打印的建议。
- **在要紧的地方，使用与正式录制相同的光**。红外光和可见光的对焦位置不同，所以在红外照明下使用的相机要在红外照明下标定（[红外截止滤光片与红外照明](https://egocam.ai/zh-cn/lens-physics/lens-effects-that-break-calibration/)）。

## 录制相机–IMU 序列

对于相机–IMU 标定，角色互换：标定板保持不动，采集设备移动，因为只有运动的设备才能激励 IMU。Kalibr 的做法（激励所有轴，避免冲击，短的快门时间，良好的光照，同一个时钟）在 [Kalibr 工作流程](https://egocam.ai/zh-cn/kalibr/kalibr-workflow/)中有完整引用。

### 两个序列还是一个

TUM VI 录制了两种标定序列，在[它的论文](https://arxiv.org/abs/1804.06120)中有描述：

- "calib-cam: for calibration of camera intrinsics and stereo extrinsics. A grid of AprilTags has been recorded at low frame rate with changing viewpoints and small camera motion."（意为：calib-cam：用于标定相机内参和双目外参。以低帧率录制了一个 AprilTag 网格，视点不断变化，相机运动很小。）
- "calib-imu: for cam-imu calibration to find the relative pose between cameras and IMU. Includes rapid motions in front of the April grid exciting all 6 degrees of freedom. A small exposure has been chosen to avoid motion blur."（意为：calib-imu：用于相机-IMU 标定，以求出相机与 IMU 之间的相对位姿。包含在 April 网格前激励全部 6 个自由度的快速运动。选择了很短的曝光以避免运动模糊。）

两者的要求方向相反：慢速运动是为了角点清晰和覆盖广，快速运动是为了激励 IMU。RoboCap 则在一段录制里完成：操作员的一次扫动 "simultaneously covering all camera groups and both IMUs"（意为：同时覆盖所有相机组和两个 IMU），由连续时间批量优化求解。它的相机各自运行自动曝光，"bounded ≤ 10 ms"（意为：上限 ≤ 10 ms）。

| | 相机序列 | 相机–IMU 序列 |
|---|---|---|
| 谁在动 | 标定板（Kalibr 多相机指南） | 采集设备，在固定的标定板前（Kalibr 相机–IMU 指南） |
| 运动 | 慢，"small camera motion"（意为：相机运动很小）（TUM VI calib-cam） | "rapid motions ... exciting all 6 degrees of freedom"（意为：激励全部 6 个自由度的……快速运动）（TUM VI calib-imu） |
| 相机帧率 | "around 4 Hz"（意为：约 4 Hz）（Kalibr） | "Good results have been obtained by using a camera rate of 20 Hz and an IMU rate of 200 Hz"（意为：使用 20 Hz 的相机帧率和 200 Hz 的 IMU 速率取得了良好的结果）（Kalibr） |
| 长度 | 约 100 帧，之后收益递减（mrcal，合成研究） | "typically 1–2 minutes"（意为：通常 1–2 分钟）；实验中每个数据集约 90 s（Furgale et al., 2013） |
| 曝光 | 短到角点清晰 | "A small exposure has been chosen to avoid motion blur"（意为：选择了很短的曝光以避免运动模糊）（TUM VI） |

### Kalibr 论文中的参考数字

[Furgale, Rehder and Siegwart (2013)](https://doi.org/10.1109/IROS.2013.6696514) 是 Kalibr 相机–IMU 工具背后的方法，他们用的是实验室的传感器头，不是可穿戴设备："multiple Aptina MT9V034 global shutter image sensors and a tactical grade IMU (Analog Devices ADIS16488)"（意为：多个 Aptina MT9V034 全局快门图像传感器和一个战术级 IMU（Analog Devices ADIS16488）），通过 FPGA 打时间戳，并使用一块棋盘格。他们的实验方案是判断多少运动才够的一个有用参考："For each of four fixed exposure times, we collected ten datasets by moving the sensor in front of the calibration pattern for about 90 seconds per dataset"（意为：对四个固定曝光时间中的每一个，我们采集了十个数据集，每个数据集让传感器在标定图案前移动约 90 秒），"maintaining an average absolute angular velocity of about 55° s−1 and an average absolute acceleration of 1.1m/s2 over all datasets."（意为：在所有数据集上保持约 55° s−1 的平均绝对角速度和 1.1m/s2 的平均绝对加速度。）

有两个结果对录制很重要。第一，时间和空间一起估计胜过分步进行：对照预期的直线来衡量，"The RMS errors are 0.054ms, 0.344ms, 0.165ms and 0.572ms"（意为：RMS 误差分别为 0.054ms、0.344ms、0.165ms 和 0.572ms），依次对应联合标定、单独的时间延迟估计、仅用陀螺仪和仅用加速度计。第二，因为他们的图像是在曝光开始时打时间戳的，估计出的偏移随曝光时间的一半增长（拟合斜率 0.498）。所以，一台在录制过程中曝光发生变化的相机，其等效时间戳也在变化，除非帧是在曝光中点打时间戳的。RoboCap 说明 "Frames are timestamped at exposure completion on the device clock"（意为：帧在曝光完成时按设备时钟打时间戳）；TUM VI 把两台双目相机锁定为相同的曝光。[相机–IMU 时间偏移页面](https://egocam.ai/zh-cn/calibration/camera-imu-time-offset/)和[为什么同步很重要](https://egocam.ai/zh-cn/sync/why-sync-matters/)对此有深入讲述。

## 可以交给 AI 的提示词

```text
写一个使用 OpenCV（cv2.aruco）的 Python 脚本，在我做标定之前审查一个文件夹里的标定图像。
对每台相机：检测每幅图像中的 Aprilgrid 或 ChArUco 角点，把所有检测到的角点画在一张与图像
同样大小的画布上，报告 5 x 5 的图像网格单元中完全没有角点的单元所占的比例，并由单应矩阵
估计每个视图中标定板的倾斜。标出图像四角没有角点的录制，或几乎只有正对视图的录制。
```

## 参考来源

- [Photoreal Scene Reconstruction from an Egocentric Device](https://arxiv.org/abs/2506.04444), 2025.
- [Lee, Hanley and Bretl, 2022: multi-IMU calibration study](https://arxiv.org/pdf/2205.14724), Table IX.
- Zhang, Z. (2000). [A flexible new technique for camera calibration](https://www.microsoft.com/en-us/research/?p=145334). *IEEE Transactions on Pattern Analysis and Machine Intelligence*.
- Olson, E. (2011). [AprilTag: A robust and flexible visual fiducial system](https://april.eecs.umich.edu/pdfs/olson2011a.pdf). *IEEE ICRA*.
- Wang, J. and Olson, E. (2016). [AprilTag 2: Efficient and robust fiducial detection](https://april.eecs.umich.edu/pdfs/wang2016iros.pdf). *IEEE/RSJ IROS*.
- Richardson, A., Strom, J. and Olson, E. (2013). [AprilCal: Assisted and repeatable camera calibration](https://april.eecs.umich.edu/media/pdfs/richardson2013iros.pdf). *IEEE/RSJ IROS*.
- Furgale, P., Rehder, J. and Siegwart, R. (2013). [Unified temporal and spatial calibration for multi-sensor systems](https://doi.org/10.1109/IROS.2013.6696514). *IEEE/RSJ IROS*.
- Schubert, D., Goll, T., Demmel, N., Usenko, V., Stückler, J. and Cremers, D. (2018). [The TUM VI benchmark for evaluating visual-inertial odometry](https://arxiv.org/abs/1804.06120). *IEEE/RSJ IROS*.
- Lochman, Y., Liepieshov, K., Chen, J., Perdoch, M., Zach, C. and Pritts, J. (2021). [BabelCalib: A universal approach to calibrating central cameras](https://arxiv.org/pdf/2109.09704). *IEEE/CVF ICCV*.
- Kogan, D. [mrcal: optimal choreography](https://mrcal.secretsauce.net/tour-choreography.html) 和 [mrcal formulation](https://mrcal.secretsauce.net/formulation.html)（标定板变形、非中心效应）。
- OpenCV. [Detection of ChArUco boards](https://docs.opencv.org/4.x/df/d4a/tutorial_charuco_detection.html).
- Kalibr wiki, ETH Zurich ASL: [calibration targets](https://github.com/ethz-asl/kalibr/wiki/calibration-targets)、[multiple-camera calibration](https://github.com/ethz-asl/kalibr/wiki/multiple-camera-calibration) 和 [camera–IMU calibration](https://github.com/ethz-asl/kalibr/wiki/camera-imu-calibration)。
- Ali, Q. et al. (2026). [RoboCap: A new platform for egocentric robot learning](https://arxiv.org/abs/2610.07217). arXiv:2610.07217.
- Lee et al. (2026). [Ego-1K – A large-scale multiview video dataset for egocentric vision](https://arxiv.org/abs/2603.13741). *CVPR*.
- Banerjee, P. et al. [HOT3D: Hand and object tracking in 3D from egocentric multi-view videos](https://arxiv.org/abs/2411.19167v2). *CVPR 2025*.
