Detect LBP textureπ
This tool is a compound that combines key point finder and local binary patterns to an easytouse keypoint and feature vector detector.
Inputsπ
image
: Input image.scale
: This parameters relates to the sizes of the detectable objects in the input image. The scale is a relative unitless value. The default value is one, which typically works reasonably well. If the size of the input image is e.g. halved or doubled, scale should be doubled or halved accordingly.sensitivity
: Sensitivity of keypoint filtering. The smaller the value, the fewer keypoints are generated. The value range is 0β¦100.keypointAlgorithm
: Keypoint selection algorithm. The options are Corners and Grid. Corners means that keypoints are generated at sharp edges in the image. Grid means that the keypoints form an evenly spaced grid. Grid points which are deemed uninteresting are filtered away (see sensitivity above).roiRadius
: Radius of the regionofinterest (ROI) around each key point on which the histogram is calculated, in pixels.noiseThreshold
: A threshold for noise cancellation. The bigger the threshold, the more noise is filtered out but also more local texture is ignored.mode
: The mode of operation of Local Binary Pattern algorithm.
Outputsπ
keyPoints
: The coordinates of extracted key points. A Nby2 matrix in which each row holds the world (x, y) coordinates of a key point.features
: A shape context feature vector for each key point. An NbyM matrix where M depends on the parameters of the shape context descriptor.

enum
Mode
π The operation mode of the LBP.
Values:

enumerator
Standard
π The output image has up to (2^N) different LBP codes where N is the number of neighborhood samples.

enumerator
Uniform
π Only βuniformβ binary codes are accepted.
All other pixels are mapped into a single βmiscellaneousβ LBP code. This reduces the number of possible LBP codes significantly and increases robustness in some applications. Uniform binary codes are binary numbers that have at most two 1to0 or 0to1 transitions in their circularly interpreted binary representation. For example, the 8bit binary number 10000011 is uniform whereas 10000101 is not.

enumerator
RotationInvariant
π Each code is rotated to its minimum value so that rotation of the image does not (ideally) change the result.
This reduces the number of codes. For example, the 8bit codes 11100000, 01110000, and 00111000 would all become 00000111.

enumerator
UniformRotationInvariant
π Like
RotationInvariant
, but only uniform codes are accepted.This results in a short, rotation invariant feature vector.

enumerator
Symmetric
π An LBP operator that compares opposing pairs of pixels in a circular neighborhood and ignores the center.
The advantage is that only N/2 comparisons per pixel are needed compared to N comparisons in the original LBP operator. Furthermore, the length of the (standard) feature vector will be (2^{N/2}) instead of (2^N), which makes classification faster. Unfortunately, there is no free lunch. The symmetric version cannot be made rotation invariant as easily as the basic LBP. Its classification accuracy may also be somewhat worse. Uniform patterns and rotation invariance lose their meaning with the symmetric LBP.

enumerator