# FAST角点检测

FAST（Features from Accelerated Segment Test，加速线段测试特征）是一种数字图像[角点检测](https://www.edgepedia.org/zh/corner-detection)器，它通过将像素的灰度与其周围圆周上的像素进行比较来判定该像素是否为角点，无需计算图像梯度。该方法由Edward Rosten和Tom Drummond于2005年提出，用于高性能跟踪，并成为当时最快的关键点检测器之一，其原始实现能够以400 Hz的频率进行全帧检测<sup>[1](https://doi.org/10.1109/iccv.2005.104)</sup>。

| 关键事实 | 详情 |
|---|---|
| 测试 | 将候选像素p与Bresenham圆（半径3）上的16个像素进行比较；若至少有n个连续像素全部亮于\( I_p + t \)或全部暗于\( I_p - t \)，则p为角点，n通常取12<sup>[2](https://cvg.cit.tum.de/_media/members/demmeln/chui2020ma.pdf)</sup> |
| 起源 | 由Rosten和Drummond在《融合点与线以实现高性能跟踪》（ICCV 2005）中提出，全帧检测达400 Hz<sup>[1](https://doi.org/10.1109/iccv.2005.104)</sup> |
| 机器学习 | ECCV 2006 / TPAMI 2010版本基于线段测试结果训练ID3决策树；学习到的检测器处理实时PAL视频所用时间不足可用处理时间的5%，而Harris为115%，SIFT为195%<sup>[3](https://arxiv.org/abs/0810.2434)</sup> |
| 最佳变体 | FAST-9是FAST-n系列中可重复性最高的检测器；FAST-8及以下对边缘响应强烈<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup> |
| 衍生方法 | AGAST用无需逐场景训练的通用二叉树替代三叉决策树<sup>[5](https://archive.air.in.tum.de/Main/ResearchAgast.html)</sup>；ORB构建带方向的多尺度FAST角点，并配以256位描述子<sup>[6](https://doi.org/10.1109/Tro.2015.2463671)</sup> |
| 标准实现 | OpenCV提供的FAST支持三种邻域类型（TYPE_5_8、TYPE_7_12、TYPE_9_16）、灰度阈值以及可选的非极大值抑制<sup>[7](https://docs.opencv.org/4.9.0/d5/d51/group__features2d__main.html)</sup> |

## 线段测试

FAST考察候选像素p（灰度为\( I_p \)）及其周围半径3像素的离散化圆周上的16个像素。圆环上的像素x相对于阈值t被分为三种状态：若\( I_{p \to x} \le I_p - t \)则为暗，若\( I_{p \to x} \ge I_p + t \)则为亮，否则为相似。若至少n个圆环像素组成的连续弧全部为亮，或至少n个组成的连续弧全部为暗，则候选像素通过线段测试，被判定为角点<sup>[2](https://cvg.cit.tum.de/_media/members/demmeln/chui2020ma.pdf)</sup><sup> • </sup><sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup>。

**排除顺序。** 测试的安排使得大多数像素几乎立即被排除。对于FAST-12，首先测试位置1、5、9和13处的四个像素（相隔四分之一圆周）：只有当这四个像素中至少有三个位于阈值的同一侧时，才可能存在12个像素的连续弧。

由于原始测试会标记相邻像素的聚簇，因此需施加非极大值抑制步骤：为每个候选像素计算得分，通常取连续弧上圆环像素超出阈值的量之和，仅当候选像素的得分在邻域候选像素中最高时才予以保留<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup>。

## 机器学习与FAST家族

Rosten、Porter和Drummond在2006年的工作中将线段测试转变为学习型分类器。训练图像中的圆环像素按线段测试准则标注，ID3决策树在每个节点选择能最大程度提供“该像素是否为角点”信息增益的圆环位置进行测试。决策树被编译为高效代码，从而得到针对目标场景专用的检测器<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup>。学习到的检测器速度约为手写版本的两倍，所得的FAST-9检测器在作者所测试的检测器中具有无可匹敌的处理速度<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup>。

**FAST-ER。** 将检测器推广为直接以可重复性为优化目标的三叉决策树，并对树结构使用模拟退火进行优化，由此产生了FAST-ER（Enhanced Repeatability，增强可重复性）。在TPAMI 2010的评估中，FAST-ER在平均可重复性上优于所有其他被测检测器，在添加高斯噪声时优势最大，同时除FAST-n系列外仍远快于所有检测器<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup>。

**AGAST。** 自适应通用加速线段测试（Adaptive and Generic Accelerated Segment Test，AGAST）由Elmar Mair及其同事在ECCV 2010上发表，旨在解决FAST需要针对每种环境重新训练决策树的问题。AGAST构建一棵定义上完备的二叉决策树，不存在假阳性或假阴性响应，并组合两棵专用树，使检测器以单像素延迟自适应于图像区域。它保留了完备FAST检测器的角点响应和可[重复性](https://www.edgepedia.org/zh/repeatability)，同时免除了训练需求<sup>[5](https://archive.air.in.tum.de/Main/ResearchAgast.html)</sup>。

**ORB。** ORB特征（Oriented FAST and Rotated BRIEF，带方向的FAST与旋转BRIEF）以FAST-9作为其检测基元。在尺度金字塔的每一层上寻找FAST角点，按Harris角点度量排序，并由灰度质心赋予方向，从而得到带旋转和尺度标记的关键点，用于二进制描述<sup>[6](https://doi.org/10.1109/Tro.2015.2463671)</sup>。ORB-SLAM系统在八个尺度层级上以1.2的尺度因子提取这种带方向的多尺度FAST角点，每帧通常提取1,000至2,000个角点（取决于图像分辨率），并分布于网格中以保持覆盖均匀<sup>[6](https://doi.org/10.1109/Tro.2015.2463671)</sup>。

## 性能与局限

FAST的决定性特质是速度。在TPAMI 2010于3.0 GHz Pentium 4D上进行的计时测试中，FAST远快于其他被测检测器，在低功耗硬件上它是唯一能够进行视频速率处理的被测检测器<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup>。2022年对九种检测方法的比较报告称，FAST的平均运行时间为每幅图像0.02秒，在Harris、Shi-Tomasi、SIFT、SURF、AKAZE、FAST、ORB以及融合的FAST-Harris方法中最低<sup>[9](https://onlinelibrary.wiley.com/doi/10.1155/2022/4611508)</sup>。在一项无人机目标检测评估中，FAST在每帧总处理时间8.3毫秒下达到98%的检测率，而相同设置下SIFT为17.4毫秒下54%，SURF为71.5毫秒下8%<sup>[10](https://pmc.ncbi.nlm.nih.gov/articles/PMC4541813/)</sup>。

速度是以特定弱点为代价换来的：

- 噪声敏感性。高速度来自尽可能少地分析像素，这降低了检测器通过平均来消减噪声的能力；相应地，FAST-n检测器对强噪声不鲁棒，通常认为FAST不适合未经修改直接用于含散斑噪声的SAR图像<sup>[4](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)</sup><sup> • </sup><sup>[11](https://ietresearch.onlinelibrary.wiley.com/doi/full/10.1049/joe.2019.0400)</sup>。
- 无尺度不变性。FAST不是尺度空间检测器，因此在给定尺度下可能比SIFT等尺度空间方法产生多得多的边缘检测；它仅具有轻微的旋转不变性，因为离散圆环破坏了精确的旋转对称性<sup>[12](https://link.springer.com/chapter/10.1007/978-1-4302-5930-5_6)</sup><sup> • </sup><sup>[13](https://escholarship.org/content/qt049515kz/qt049515kz_noSplash_52b13631aaa7a28e7ec5759864639c63.pdf)</sup>。
- 排序信息弱。线段测试不产生连续的梯度响应，因此若不额外计算得分，难以比较两个角点的质量；在匹配时，这可能增加RANSAC达到给定精度所需的迭代次数<sup>[13](https://escholarship.org/content/qt049515kz/qt049515kz_noSplash_52b13631aaa7a28e7ec5759864639c63.pdf)</sup>。

## 应用

角点检测是许多视觉任务的第一步，包括跟踪、定位、SLAM（同时定位与建图）、图像匹配和识别<sup>[14](https://www.edwardrosten.com/work/rosten_2008_faster.pdf)</sup>。FAST的低成本使其成为ORB的检测基元，进而成为ORB-SLAM等广泛使用的实时SLAM系统的检测基元，后者要求每幅图像的特征提取时间远低于33毫秒<sup>[6](https://doi.org/10.1109/Tro.2015.2463671)</sup>。它也被移植到专用硬件：FPGA实现将FAST检测与BRIEF描述子配对，用于实时嵌入式流水线<sup>[15](https://www.ijiee.org/index.php/ijiee/article/view/1201)</sup>；eFAST等基于事件的变体将相同思想应用于事件相机的数据<sup>[16](https://openaccess.thecvf.com/content_CVPRW_2019/papers/EventVision/Liu_Live_Demonstration_A_Real-Time_Event-Based_Fast_Corner_Detection_Demo_Based_CVPRW_2019_paper.pdf)</sup>。

## References

1. [Edward Rosten, Tom Drummond (2005). Fusing Points and Lines for High Performance Tracking. ICCV 2005.](https://doi.org/10.1109/iccv.2005.104)
2. [FAST corner detection figure and segment-test description, TUM course notes (chui2020ma)](https://cvg.cit.tum.de/_media/members/demmeln/chui2020ma.pdf)
3. [Edward Rosten, Reid Porter, Tom Drummond. Faster and better: a machine learning approach to corner detection. arXiv:0810.2434; IEEE TPAMI 32(1), 2010.](https://arxiv.org/abs/0810.2434)
4. [Rosten, Porter, Drummond. Faster and Better: A Machine Learning Approach to Corner Detection, IEEE TPAMI 32(1):105-119, 2010 (full text PDF)](https://www.csd.uoc.gr/~hy471/bibliography/FAST_corner.pdf)
5. [AGAST Corner Detector, Robotics and Embedded Systems, TU München](https://archive.air.in.tum.de/Main/ResearchAgast.html)
6. [Mur-Artal, Montiel, Tardos. ORB-SLAM: A Versatile and Accurate Monocular SLAM System. IEEE Transactions on Robotics, 2015.](https://doi.org/10.1109/Tro.2015.2463671)
7. [OpenCV: Feature Detection and Description (cv::FAST documentation)](https://docs.opencv.org/4.9.0/d5/d51/group__features2d__main.html)
8. [Features and Matching lecture notes, FAST: Features from Accelerated Segment Test, NTHU OCW](https://ocw.nthu.edu.tw/ocw/upload/125/1535/%E9%99%B3%E7%85%A5%E5%AE%97%20%E9%9B%BB%E8%85%A6%E8%A6%96%E8%A6%BA%E7%89%B9%E6%95%88%E2%96%95%20%E7%AC%AC13%E5%91%A8%E8%AA%B2%E7%A8%8B%E8%B3%87%E6%96%99_feature_matching.pdf)
9. [Wang et al. (2022). A Target Corner Detection Algorithm Based on the Fusion of FAST and Harris. Mathematical Problems in Engineering.](https://onlinelibrary.wiley.com/doi/10.1155/2022/4611508)
10. [Vision and Control for UAVs: A Survey of General Methods and of Inexpensive Platforms for Infrastructure Inspection (PMC4541813)](https://pmc.ncbi.nlm.nih.gov/articles/PMC4541813/)
11. [Xiong et al. (2019). Improved FAST corner-detection method. The Journal of Engineering.](https://ietresearch.onlinelibrary.wiley.com/doi/full/10.1049/joe.2019.0400)
12. [Interest Point Detector and Feature Descriptor Survey, Springer](https://link.springer.com/chapter/10.1007/978-1-4302-5930-5_6)
13. [University of California thesis discussing FAST speed, flexibility, and scale invariance](https://escholarship.org/content/qt049515kz/qt049515kz_noSplash_52b13631aaa7a28e7ec5759864639c63.pdf)
14. [Rosten, Porter, Drummond. Faster and better: a machine learning approach to corner detection (author PDF)](https://www.edwardrosten.com/work/rosten_2008_faster.pdf)
15. [FPGA-Based Real-Time Image Processing Using FAST Corner Detection and BRIEF Feature Descriptor, IJIEE](https://www.ijiee.org/index.php/ijiee/article/view/1201)
16. [Liu et al. Live Demonstration: A Real-Time Event-Based Fast Corner Detection Demo Based on FPGA, CVPR Workshops 2019](https://openaccess.thecvf.com/content_CVPRW_2019/papers/EventVision/Liu_Live_Demonstration_A_Real-Time_Event-Based_Fast_Corner_Detection_Demo_Based_CVPRW_2019_paper.pdf)

---
*Initially written Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Language and vision AI › Computer vision › Vision methods and geometry › Feature detection and description

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/fast-corner-detection

English original: https://www.edgepedia.org/fast-corner-detection
