Local Binary Pattren :

Imagine that a task is given to extract textures of a cat in an image. A texture can be typically how a particular object appears in an image. So we need a texture descriptor model to analyze various textures. Most of the models out there work on greyscale images rather than on colour images. This is because if we convert an image into greyscale, then we will have an NxN matrix containing the values of pixel intensities of that image. Then we can analyze the distribution of these features within the image. One of the texture descriptors is GLCM ( Gray-Level Co-occurrence Matrix). And GLCM gives a global representation of the texture. Unlike GLCM Local binary pattern computes a local representation of the texture, by comparing each pixel with its neighbouring pixels.


For example consider a 3x3 matrix out of a grayscale image pixel matrix. Click on Play...