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. |