LBP - local binary pattern
LBP (histogram and image) for image block. rotational invariant and have uniform option.
uniform - vector with 2 transitions top
example : 00000000 (0 transitions)
00000111 (1 transitions)
00001000 (2 transitions)
and we also say that (01000000 and 00001000) are the same and call them '00000001' or '1'
this assumption gives us 'rotate invariant'.
if there are more transitions we say the vector is in class '9' - not uniform
example : 00000000 - class 0
00000111 - class 3
00001000 - class 1
01010101 - class 9
so in DoUniform you can see that under this assumptions you get only 10 options and every bin will get more 'vectors' that are in that class
in NOTuniform we have 2^8 options and the vectors will split to all of them so we cn expect lower values in histogram.
Cite As
sivan doveh (2025). LBP - local binary pattern (https://www.mathworks.com/matlabcentral/fileexchange/57216-lbp-local-binary-pattern), 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: Temporal video segmentation: Shot boundary detection
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.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | description |