algorithm - 本地二进制模式算法

标签 algorithm face-recognition

我正在研究 LBP 算法并阅读论文 Face Detection and Verification using Local Binary Patterns, Y Rodriguez,这是一篇 PHD 论文。在第21页(section 2.2.2 weak classifiers),作者提到:

A weak classifier hp (x) consists of a look-up table of 2^9 − 1 = 511 bins

我不明白为什么会有 2^9-1 个垃圾箱。到目前为止我能理解的是,特定像素的 LBP 代码是根据其周围的 8 个像素计算的 8 个数字,0 或 1。但是,为什么查找表包含 2^9-1 个分箱?感谢您的帮助!

最佳答案

我建议您阅读由 Timo Ojala、Matti PietikaÈ inen、IEEE 高级成员(member)和 Topi MaÈenpaÈa 撰写的论文“Multiresolution Gray-Scale and Rotation Invariant Texture Classification with Local Binary Patterns”。 您将在第 2.2 章中找到答案 比如一个像素被8个像素包围,lbp bin就是256(-1) = 1111 1111,同理,被9个像素包围的bin 512(-1) = 1111 1111 1...你可以这样想像素被9个像素组成的环状链包围。

关于algorithm - 本地二进制模式算法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11365972/

相关文章:

keras - 加载 vgg16_weights.h5 时如何使用 vgg-net?

python - "!empty() in function ' cv::CascadeClassifier::检测MultiScale '"

ios - 识别它在iOS Swift中是谁的脸

python - 从给定的数字中找到一个总和为给定值的序列?

c - 如何处理不适合任何语言数据结构的大整数

string - 匹配两个数据集之间的公共(public)字符串

.net - 使用 OpenCV 的感兴趣区域

swift - 人脸识别 iPhone X Swift

c - 霍夫曼编码、保存代码和用 C 编写二进制文件

algorithm - 对 Array 进行排序,将所有重复的元素移到 End