Professional Documents
Culture Documents
FALLSEM2022-23 CSE4019 ETH VL2022230104728 2022-11-09 Reference-Material-I
FALLSEM2022-23 CSE4019 ETH VL2022230104728 2022-11-09 Reference-Material-I
BINARY PATTERN
ANISHA M. LAL
Local Binary Pattern (LBP)
𝐿𝐵𝑃𝑝,𝑟 𝑁𝑐 = 𝑔 𝑁𝑝 − 𝑁𝑐 2𝑝
𝑝=0
Computation of Local Binary Pattern
Binary code for > Nc
0 1 0
1 Nc 0
0 0 1
0 2 0
3 7 2 LBP
Component-wise 128 ? 0 ∑ 146
8 4 1 multiplication Sum
2 3 5 0 0 16
Representation
Neighborhood 1 2 4
of a gray-scale 128 8
image
64 32 16
1 1
Binary Pattern: 1 1 1 0 0 0
(MSB) (LSB)
1 x 27 1 x 26 1 x 25 1 x 24 0 x 23 0x 22 0x 21 1 x 20
= 128 = 64 = 32 = 16 =0 =0 =0 =1