Local Binary Pattern (LBP)

← Back to Feature Extraction

LBP encodes each pixel’s local texture by comparing it to a ring of neighboring pixels: each neighbor is thresholded to 1 if its value is greater than the center pixel, 0 otherwise, and the resulting sequence of bits (read around the ring) becomes that pixel’s LBP code. Because it only depends on the relative ordering of intensities, not their absolute values, LBP is largely invariant to overall brightness/contrast shifts between images — useful for microscopy images acquired under slightly different illumination or gain settings. The resulting code map is a compact, per-pixel texture descriptor that responds to local patterns like edges, corners, and flat regions differently.

See also