我正在研究 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/