Shift based LBP
The LBP tests the relation between pixel and it's neighbors, encoding this relation into a binary word. This allows detection of texture and more complicated patterns & features.
The function is inspired by materials published by Matti Pietikainen in http://www.cse.oulu.fi/CMV/Research/LBP . This implementation however is not totally aligned with the methods proposed by Professor Pietikainen (see Issues & Comments). The current method proposes an implementation based on shifted images- which is beneficial in run time, especially in cases of large filter support. This is also a different way of thinking about the LBP algorithm. Two image shift functions are proposed- a circshift based one- which is faster, but less accurate, and filter2 based one- which takes more time and actually is exactly the same as efficientLBP proposed before.
Cite As
Nikolay S. (2024). Shift based LBP (https://www.mathworks.com/matlabcentral/fileexchange/49787-shift-based-lbp), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Image Processing and Computer Vision > Computer Vision Toolbox > Feature Detection and Extraction > Local Feature Extraction > LBP - Local Binary Patterns >
Tags
Acknowledgements
Inspired by: Image/matrix shift, Local binary patterns
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.