Opposite Color Local Binary Patterns (OC-LBP)
The function implements OC-LBP (Opposite COlor Local Binary Pattern analysis).
See OC-LBP description in: [1] Maenpaa T. "The local binary pattern approach to texture analysis{extensions and applications"; 2003. Ph.D. thesis, University of Oulu. [2] Maenpaa T. Matti P. and Jaakko V."Separating Color and Pattern Information for Color Texture Discrimination"; University of Oulu, Finland
Syntax
OCLBP= oppositeColorLBP(inImg);
OCLBP= oppositeColorLBP(inImg, filtDims);
OCLBP= oppositeColorLBP(inImg, filtDims, chnsComb);
OCLBP= oppositeColorLBP(inImg, filtDims, chnsComb, isEfficient);
Description
The OCLBP tests the relation between pixel and it's neighbors, encoding this relation into a binary word. This allows detection of patterns/features. As opposed to the regular LBP, the pixel and it's neighborhood can belong to different colors, thus resulting in ac Opposite Color relations. This operator is proposed to identify inter color pattern relation, capable of achieving much richer feature space.
Cite As
Nikolay S. (2024). Opposite Color Local Binary Patterns (OC-LBP) (https://www.mathworks.com/matlabcentral/fileexchange/44284-opposite-color-local-binary-patterns-oc-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 >
- Image Processing and Computer Vision > Computer Vision Toolbox > Feature Detection and Extraction > Local Feature Extraction > LBP - Local Binary Patterns >
- Image Processing and Computer Vision > Image Processing Toolbox > Image Segmentation and Analysis > Image Segmentation > Color Segmentation >
Tags
Acknowledgements
Inspired by: Local binary patterns, Snail/helix matrix indexing
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.
OC-LBP/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |