Skip to main content
. 2021 Oct 8;21(19):6691. doi: 10.3390/s21196691
Algorithm 2: LBP feature extraction.

Input: Image dataset with RGB colors.

Step 1: Convert the RGB images to grayscale images.

Step 2: Set parameter number of circularly symmetric neighbour points to 8.

Step 3: Set parameter radius of circle to 1.

Step 4: Calculate the LBP feature.

Output: LBP features.