Shift based LBP

version (84.7 KB) by Nikolay S.
The function implements LBP (Local Binary Pattern analysis), in a shift based manner.


Updated Sat, 21 Feb 2015 00:44:35 +0000

View License

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 . 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. (2022). Shift based LBP (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

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!