# BRIEF（计算机视觉）

**BRIEF**（Binary Robust Independent Elementary Features，二进制鲁棒独立基本特征）是计算机视觉中的一种局部图像特征描述子，它将一个图像块表示为一段短的二进制串，每一位记录一次平滑后像素强度两两比较的结果。它由洛桑瑞士联邦理工学院（EPFL）计算机视觉实验室的迈克尔·卡隆德（Michael Calonder）、文森特·勒珀蒂（Vincent Lepetit）、克里斯托夫·斯特雷查（Christoph Strecha）和[帕斯卡尔·富阿](https://www.edgepedia.org/zh/pascal-fua)（Pascal Fua）提出，发表于ECCV 2010。<sup>[1](https://www.researchgate.net/publication/221304115_BRIEF_Binary_Robust_Independent_Elementary_Features)</sup> 其目的是使特征匹配快速且节省内存：描述子之间用汉明距离比较，而不是像SIFT和SURF等浮点描述子那样使用L2范数。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup>

| 关键事实 | 详情 |
|---|---|
| 来源 | 卡隆德、勒珀蒂、斯特雷查和富阿，EPFL计算机视觉实验室；ECCV 2010，第778-792页<sup>[1](https://www.researchgate.net/publication/221304115_BRIEF_Binary_Robust_Independent_Elementary_Features)</sup> |
| 描述子内容 | 一个n_d位串，每一位是一次测试τ(p; x, y) = 1（若平滑块上p(x) < p(y)）；原论文中n_d = 128、256或512<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> |
| 存储 | 256位占32字节，而64维浮点SURF64描述子占256字节<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> |
| 匹配度量 | 汉明距离，通过按位异或后接位计数计算，SSE指令集中的单条CPU指令即可支持<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> |
| 预处理 | 测试前对图像块进行高斯平滑；发现方差为2、核为9 × 9是必要且充分的<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> |
| 主要局限 | 对平面内旋转或尺度变化不具有不变性；ORB（2011）通过BRIEF的转向版本增加了旋转不变性<sup>[3](https://neutralblock.com/learn/computer-vision/cv-chapter-2/orb-and-binary-descriptors)</sup> |
| 报告性能 | 在标准基准上识别性能与SURF和U-SURF相当或更好，而耗时仅为其一小部分<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> |

## 描述子的计算方式

对于一个具有大小为S × S的局部图像块p的关键点，BRIEF首先用高斯核对图像块进行平滑，因为单像素强度测试对噪声敏感，平滑能提高所得各位的稳定性和可重复性。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> 然后它在图像块内抽取n_d对位置(x_i, y_i)并计算测试

\[ \tau(p; x, y) := \begin{cases} 1 & \text{若 } p(x) < p(y) \\ 0 & \text{否则} \end{cases} \]

其中p(x)是平滑后图像块在x = (u, v)<sup>⊤</sup>处的强度。描述子就是将n_d个测试结果拼接而成的位串。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> 一篇关于紧凑特征的综述给出了相同的构造，将比较表述为在输入图像的平滑版本上进行，并将n_d个二进制值拼接成描述子。<sup>[4](https://www.cambridge.org/core/journals/apsipa-transactions-on-signal-and-information-processing/article/survey-on-compact-features-for-visual-content-analysis/A80C3E52CE3D92443DEF40EA44B82DE7)</sup>

**选择测试对。** 采样对的空间排列是一种设计选择。原论文比较了五种采样几何，包括均匀采样、各向同性高斯采样，以及每对中第二点从以第一点为中心的高斯分布中抽取的方案。规则对称设计表现最差，而从方差为S²/25的各向同性高斯分布中随机采样在大多数情况下给出了最佳识别率，因此被采纳用于所有后续实验。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> 以关键点为中心的高斯分布一直是实际推荐的做法。<sup>[3](https://neutralblock.com/learn/computer-vision/cv-chapter-2/orb-and-binary-descriptors)</sup>

**描述子大小。** 论文考虑了n_d = 128、256和512，并报告这些值在速度、存储效率和识别率之间取得了良好折中；它将变体命名为BRIEF-k，其中k = n_d/8是存储该串所需的字节数。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> 实验表明，256位、甚至常常128位就足以获得非常好的匹配结果。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup>

## 匹配与速度

两个BRIEF描述子通过计数不同的位来比较，即汉明距离。在现代CPU上，这归结为按位异或后接位计数，这些操作可由SSE指令集中的单条指令执行，使得匹配极其快速。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> 后来的一篇教程指出，不同位的计数可以通过POPCNT指令在单条指令中计算。<sup>[3](https://neutralblock.com/learn/computer-vision/cv-chapter-2/orb-and-binary-descriptors)</sup>

每一位还携带一种鲁棒性属性：它记录两个像素中哪一个更亮，这一量对任何单调亮度变化都具有不变性，因为同等增亮两个像素永远不会翻转比较结果。<sup>[5](https://visionbook.icsgen-ai.org/part-2-classical-computer-vision/module-10-keypoints-descriptors-matching/section-10.4.html)</sup> 代价是独特性和不变性：速度的提升以牺牲不变性和独特性为代价，描述子的选择取决于应用的帧预算。<sup>[5](https://visionbook.icsgen-ai.org/part-2-classical-computer-vision/module-10-keypoints-descriptors-matching/section-10.4.html)</sup>

在覆盖视点变化、压缩伪影、光照变化和模糊的六条测试序列上的原始评估中，BRIEF在除Graffiti之外的所有序列上取得了比SURF更好的识别率。Graffiti是一个需要强旋转不变性的数据集，而BRIEF不提供这种不变性，且其大片单色区域使强度差测试缺乏信息量。与同样忽略方向的U-SURF相比，BRIEF在Wall、Fountain、Trees上表现更好，在Light和Jpeg上表现相近。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> 后来的基准研究一致发现BRIEF是最快的描述子之一；一项针对快速特征匹配的局部检测器和描述子的评估称BRIEF是所测试的最快描述子，另一项独立比较也发现BRIEF在其基准中最快。<sup>[6](https://miksik.co.uk/files/miksik2012icpr.pdf)</sup><sup> • </sup><sup>[7](https://citeseerx.ist.psu.edu/document?doi=a24cfa21fdae1c1b65bb27602590409593b81df2&repid=rep1&type=pdf)</sup>

## 局限与ORB的回应

BRIEF的测试对相对于图像坐标轴固定，而非相对于特征的方向，因此当图像旋转时，同一特征会产生不同的二进制串；该描述子同样未被设计为对尺度变化具有不变性。<sup>[3](https://neutralblock.com/learn/computer-vision/cv-chapter-2/orb-and-binary-descriptors)</sup><sup> • </sup><sup>[8](https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/iet-cvi.2012.0087)</sup>

**ORB**（Oriented FAST and Rotated BRIEF，定向FAST与旋转BRIEF）由OpenCV于2011年开发，作为SIFT和SURF的快速免费替代方案，它通过将FAST关键点检测器与改进的BRIEF相结合来解决这一问题。ORB从灰度质心（即关键点周围图像块中像素强度的质心）计算方向，并相应地旋转采样模式，从而产生旋转不变的描述子，同时保留BRIEF的速度优势；旋转后的变体称为rBRIEF。<sup>[3](https://neutralblock.com/learn/computer-vision/cv-chapter-2/orb-and-binary-descriptors)</sup><sup> • </sup><sup>[9](https://sites.cc.gatech.edu/classes/AY2024/cs4475_summer/images/ORB_an_efficient_alternative_to_SIFT_or_SURF.pdf)</sup> 2013年发表在IET Computer Vision上的一篇论文采取了类似的路线，为每个关键点分配方向和尺度，归一化图像块，然后应用二进制比较，为BRIEF增加了旋转和尺度不变性。<sup>[8](https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/iet-cvi.2012.0087)</sup>

## 二进制描述子家族

BRIEF确立了从成对平滑强度比较构建描述子的模式，后来的方法以不同的采样设计沿用了这一模式。BRISK和FREAK是同一家族中的二进制描述子；FREAK使用受人类视觉皮层启发的点采样模式，而BAMBOO使用受AdaBoost启发的贪心提升过程来学习其成对比较模式。<sup>[4](https://www.cambridge.org/core/journals/apsipa-transactions-on-signal-and-information-processing/article/survey-on-compact-features-for-visual-content-analysis/A80C3E52CE3D92443DEF40EA44B82DE7)</sup> 一篇关于关键点检测与描述的综述称BRIEF是第一个简单（simple）的二进制描述子，指出它是没有旋转或尺度不变性的原始二进制串。<sup>[10](https://onlinelibrary.wiley.com/doi/10.1155/2021/8509164)</sup> 对于具有强镜头畸变的相机，mdBrief（2016）使二进制测试本身适应已标定的广角或鱼眼相机的局部畸变，而不是对图像进行去畸变，从而避免了去畸变在大视场下引入的严重伪影。<sup>[11](https://arxiv.org/abs/1610.07804)</sup>

## 应用

这类特征点描述子处于物体识别、三维重建、图像检索和相机定位的核心，这些应用必须处理大量数据或在计算资源有限的移动设备上运行。<sup>[2](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)</sup> BRIEF的紧凑性和[汉明距离](https://www.edgepedia.org/zh/hamming-distance)匹配使其对实时系统具有吸引力：一本关于定位与建图的手册指出，BRIEF通过汉明距离实现了快速描述子匹配，并指出ORB和BRISK等具有旋转和尺度不变性的后代在视觉SLAM和实时机器人中已被证明有效。<sup>[12](https://asrl.utias.utoronto.ca/~tdb/slam/slamhandbook.pdf)</sup> 在用于定位的检测器-描述子流水线的基准比较中，ORB-BRIEF是所测试的最快组合，在该研究的设置下，以总计21,303.30秒的运行时间将560张查询图像与127张数据集图像进行匹配。<sup>[13](https://arxiv.org/abs/1710.06232)</sup>

## References

1. [Michael Calonder, Vincent Lepetit, Christoph Strecha, Pascal Fua (September 2010). BRIEF: Binary Robust Independent Elementary Features. ECCV 2010, pp. 778-792, DOI 10.1007/978-3-642-15561-1_56.](https://www.researchgate.net/publication/221304115_BRIEF_Binary_Robust_Independent_Elementary_Features)
2. [BRIEF: Binary Robust Independent Elementary Features (paper PDF), CVLab EPFL.](https://www.cs.ubc.ca/~lowe/525/papers/calonder_eccv10.pdf)
3. [ORB & Binary Descriptors, NeutralBlock Academy.](https://neutralblock.com/learn/computer-vision/cv-chapter-2/orb-and-binary-descriptors)
4. [A survey on compact features for visual content analysis, APSIPA Transactions on Signal and Information Processing (Cambridge Core).](https://www.cambridge.org/core/journals/apsipa-transactions-on-signal-and-information-processing/article/survey-on-compact-features-for-visual-content-analysis/A80C3E52CE3D92443DEF40EA44B82DE7)
5. [Section 10.4: Fast Binary Alternatives: BRIEF, ORB & AKAZE, Building Vision AI.](https://visionbook.icsgen-ai.org/part-2-classical-computer-vision/module-10-keypoints-descriptors-matching/section-10.4.html)
6. [Evaluation of Local Detectors and Descriptors for Fast Feature Matching (Miksik & Mikolajczyk, ICPR 2012).](https://miksik.co.uk/files/miksik2012icpr.pdf)
7. [Comparative study context document, CiteSeerX.](https://citeseerx.ist.psu.edu/document?doi=a24cfa21fdae1c1b65bb27602590409593b81df2&repid=rep1&type=pdf)
8. [RBRIEF: a robust descriptor based on random binary comparisons (Huang, 2013), IET Computer Vision.](https://ietresearch.onlinelibrary.wiley.com/doi/10.1049/iet-cvi.2012.0087)
9. [ORB: an efficient alternative to SIFT or SURF (Rublee et al., 2011), paper PDF.](https://sites.cc.gatech.edu/classes/AY2024/cs4475_summer/images/ORB_an_efficient_alternative_to_SIFT_or_SURF.pdf)
10. [A Review of Keypoints' Detection and Feature Description in Image Registration (Liu, 2021), Scientific Programming.](https://onlinelibrary.wiley.com/doi/10.1155/2021/8509164)
11. [Steffen Urban, Stefan Hinz (2016). mdBrief - A Fast Online Adaptable, Distorted Binary Descriptor for Real-Time Applications Using Calibrated Wide-Angle Or Fisheye Cameras. arXiv:1610.07804.](https://arxiv.org/abs/1610.07804)
12. [From Localization and Mapping to Spatial Intelligence (SLAM handbook), University of Toronto ASRL.](https://asrl.utias.utoronto.ca/~tdb/slam/slamhandbook.pdf)
13. [Ertugrul Bayraktar, Pinar Boyraz (2017). Analysis of feature detector and descriptor combinations with a localization experiment for various performance metrics. arXiv:1710.06232.](https://arxiv.org/abs/1710.06232)

---
*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/brief-computer-vision

English original: https://www.edgepedia.org/brief-computer-vision
