Local binary patterns
The LBP tests the relation between pixel and it's neighbors, encoding this relation into a binary word. This allows detection of patterns/features, while being immune to contrast changes.
Current submission presents pixel-wise implementation, and filtering based implementation, achieving much shorter run-times. Both implementations achieve same results, while running at different passes. Do not use ‘pixelwiseLBP’ unless for educational or debugging purposes.
Current implementation is aligned with "Gray Scale and Rotation Invariant Texture Classification with Local Binary Patterns" from http://www.ee.oulu.fi/mvg/files/pdf/pdf_6.pdf.
The differences:
This implementation supports multi-color inputs (RGB).
Rotation invariance can be same for all channels, or channel wise manner.
引用格式
Nikolay S. (2024). Local binary patterns (https://www.mathworks.com/matlabcentral/fileexchange/36484-local-binary-patterns), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Image Processing and Computer Vision > Computer Vision Toolbox > Recognition, Object Detection, and Semantic Segmentation > Text Detection and Recognition >
- Image Processing and Computer Vision > Computer Vision Toolbox > Feature Detection and Extraction > Local Feature Extraction > LBP - Local Binary Patterns >
标签
致谢
启发作品: LOSIB (Local Oriented Statistics Information Booster) for texture retrieval, Opposite Color Local Binary Patterns (OC-LBP), Shift based LBP, Efficient LLBP (Line Local Binary Pattern)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!efficientLBP/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.92.0.0 | Minor updates added |
||
1.9.0.0 | Resolved a few bugs related to circishift (found by Michael and Olga) and sort. Added if changing function behavior based on Matlab version. |
||
1.8.0.0 | Removed duplicated outdated files. thanks to Olga for finding this. |
||
1.7.0.0 | Resolved the bug reported by Michael. |
||
1.6.0.0 | The function “roundnS” was added to the submission aimed to replace the “roundn” function that is apparently part of the Matlab Mapping Toolbox, which may be missing from some of the users trying to run this code. |
||
1.5.0.0 | Changed filter direction (to CCW), starting point (3 o'clock instead of 12), support pixels interpolation. |
||
1.4.0.0 | - Support Circular filter, as in M. Pietikäinen papers.
|
||
1.2.0.0 | A Helix/Snail indexing function was аdded to scan neighborhood pixels as spiral. |
||
1.1.0.0 | Many thanks goes to Chris Forne for his sharp eye. Bugs fixed, and some modification introduced. |
||
1.0.0.0 |