Center-symmetric local binary patterns (CSLBP)

Version 1.2.0.0 (1,25 KB) von Junaid
An extension of Local Binary Pattern (LBP), that is quantized in nature. Used as descriptor.
1,7K Downloads
Aktualisiert 10. Jul 2018

Lizenz anzeigen

This computes the Histogram of CSLBP operator, which is an extension of LBP. Using CSLBP is really efficient for illumination and blur type of image transformation. It returns the unnormalized CSLBP histogram of length 16. One can easliy normlize as per his application.
Mostly, it is used as keypoint descriptor. Detect the keypoints, estimate the local patch around the keypoint and then compute the CSLBP descriptor. However, for the sake of simiplicity, below example compute the image level descriptor instead local keypoint descriptor.
Example:

%% Load image
img = imread('myImage.jpg');
%% conver to gray scale if RGB
img = rgb2gray(img);
h = CSLBP(img); % it returns the CSLBP histogram of given image/patch.

One can easily normalize the vector between 0-1 as suggested in original paper
h = h./sum(h);

Zitieren als

Junaid (2024). Center-symmetric local binary patterns (CSLBP) (https://www.mathworks.com/matlabcentral/fileexchange/34827-center-symmetric-local-binary-patterns-cslbp), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2009a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.0.0

Description added
Example is included to compute the CSLBP
Change the comments only.

1.0.0.0