1 | initial version |
This is actually normal. LBP calculate a value for each pixel based on the LBP theory, which is based on the surrounding pixel values, 1 pixel layer around the investigated pixel. Since however edge pixels do not have neighbours outside of the image scope, the LBP value isn't calculated. This means that you loose 1 row of pixels on top and bottom, and 1 column of pixels at right and left side. Hope this makes it more clear.
So it all depends on how you define your LBP region for calculation.