Click or drag to resize
Accord.NET (logo)

LocalBinaryPattern Class

Local Binary Patterns.
Inheritance Hierarchy
SystemObject
  Accord.ImagingLocalBinaryPattern

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public class LocalBinaryPattern : IFeatureDetector<FeatureDescriptor>, 
	IFeatureDetector<FeatureDescriptor, double[]>, ICloneable, IDisposable, 
	IFeatureDetector<IFeatureDescriptor<double[]>>, IFeatureDetector<IFeatureDescriptor<double[]>, double[]>
Request Example View Source

The LocalBinaryPattern type exposes the following members.

Constructors
  NameDescription
Public methodLocalBinaryPattern
Initializes a new instance of the LocalBinaryPattern class.
Top
Properties
  NameDescription
Public propertyBlockSize
Gets the size of a block, in pixels.
Public propertyCellSize
Gets the size of a cell, in pixels.
Public propertyHistograms
Gets the histogram computed at each cell.
Public propertyNormalize
Gets or sets whether to normalize final histogram feature vectors. Default is true.
Public propertyPatterns
Gets the set of local binary patterns computed for each pixel in the last call to to ProcessImage(Bitmap).
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodProcessImage(Bitmap)
Process image looking for interest points.
Public methodProcessImage(BitmapData)
Process image looking for interest points.
Public methodProcessImage(UnmanagedImage)
Process image looking for interest points.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodToT
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
Remarks

Local binary patterns (LBP) is a type of feature used for classification in computer vision. LBP is the particular case of the Texture Spectrum model proposed in 1990. LBP was first described in 1994. It has since been found to be a powerful feature for texture classification; it has further been determined that when LBP is combined with the Histogram of oriented gradients (HOG) classifier, it improves the detection performance considerably on some datasets.

References:

  • Wikipedia Contributors, "Local Binary Patterns". Available at http://en.wikipedia.org/wiki/Local_binary_patterns

See Also