local-binary-pattern

local_binary_pattern

skimage.feature.local_binary_pattern(image, P, R, method='default') [source]

Gray scale and rotation invariant LBP (Local Binary Patterns).

LBP is an invariant descriptor that can be used for texture classification.

Parameters:

image : (N, M) array

Graylevel image.

P : int

Number of circularly symmetric neighbour set points (quantization of the angular space).

R : float

Radius of circle (spatial resolution of the operator).

method : {‘default’, ‘ror’, ‘uniform’, ‘var’}

Method to determine the pattern.

  • ‘default’: original local binary pattern which is gray scale but not

    rotation invariant.

  • ‘ror’: extension of default implementation which is gray scale and

    rotation invariant.

  • ‘uniform’: improved rotation invariance with uniform patterns and

    finer quantization of the angular space which is gray scale and rotation invariant.

  • ‘nri_uniform’: non rotation-invariant uniform patterns variant

    which is only gray scale invariant [R153].

  • ‘var’: rotation invariant variance measures of the contrast of local

    image texture which is rotation but not gray scale invariant.

Returns:

output : (N, M) array

LBP image.

References

[R152] Multiresolution Gray-Scale and Rotation Invariant Texture Classification with Local Binary Patterns. Timo Ojala, Matti Pietikainen, Topi Maenpaa. http://www.rafbis.it/biplab15/images/stories/docenti/Danielriccio/Articoliriferimento/LBP.pdf, 2002.
[R153] (1, 2) Face recognition with local binary patterns. Timo Ahonen, Abdenour Hadid, Matti Pietikainen, http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.214.6851, 2004.
doc_scikit_image
2017-01-12 17:21:52
Comments
Leave a Comment

Please login to continue.