Introduction - If you have any usage issues, please Google them yourself
The original LBP operator is defined in the neighborhood of the pixel 3*3, with the neighborhood central pixel as the threshold, and the gray value of the 8 adjacent pixels is compared with the pixel value of the neighborhood center. If the surrounding pixels are larger than the central pixel value, the position of the pixel point is marked to 1 or 0. In this way, 8 points in the 3*3 neighborhood can generate 8 bit binary numbers, and the 8 bit binary numbers are arranged in turn to form a binary number. The binary number is the LBP value of the central pixel, and the value of the LBP is 2828 possible, so there are 256 kinds of LBP values. The LBP value of the center pixel reflects the texture information of the surrounding area of the pixel.