LBP is one of the best performing texture descriptors
Major operation
Assign a label to every pixel
Threshold the 3*3 neighborhood with the centre pixel value.
Threshold the 3*3 neighborhood with the centre pixel value.
the label is :
Binary : 1100 1111
Decimal : 207
Binary : 1100 1111
Decimal : 207
Sometimes we need to judge whether it is an uniform pattern
(Uniform pattern: at most 2 bitwise transitions from 0 to 1 or vice versa)
e.g.
0000 0000 -> 0 bitwise transtition
0111 0000 -> 2 bitwise transtitions
e.g.
0000 0000 -> 0 bitwise transtition
0111 0000 -> 2 bitwise transtitions
We also need to describe textures in different scalesby (P,R)
P is the number of sampling points on circle
R is the radius of the circle
for example :