#include <descriptor.h>
Inheritance diagram for fl::DescriptorLBP:

Public Methods | |
| DescriptorLBP (int P=8, float R=1.0f, float supportRadial=4.2f, int supportPixel=32) | |
| DescriptorLBP (std::istream &stream) | |
| void | initialize () |
| void | preprocess (const Image &image) |
| Prepare gray version of image. Subroutine of value(). | |
| void | add (const int x, const int y, Vector< float > &result) |
| Does the actual LBP calculation for one pixel. Subroutine of value(). | |
| virtual Vector< float > | value (const Image &image, const PointAffine &point) |
| Returns a vector of floats that describe the image patch near the interest point. | |
| virtual Vector< float > | value (const Image &image) |
| Describe entire region that has non-zero alpha values. Descriptor may treat all non-zero alpha values the same, or use them to weight the pixels. This method is only available in Descriptors that don't require a specific point of reference. IE: a spin image must have a central point, so it can't implement this method. | |
| virtual Image | patch (const Vector< float > &value) |
| Return a graphical representation of the descriptor. Preferrably an image patch that would stimulate this descriptor to return the given value. | |
| virtual Comparison * | comparison () |
| Return an instance of the recommended Comparison for feature vectors from this type of Descriptor. Caller is responsible to destroy instance. | |
| virtual void | read (std::istream &stream) |
| virtual void | write (std::ostream &stream, bool withName=true) |
Public Attributes | |
| int | P |
| Number of evenly spaced sample points around center. | |
| float | R |
| Radius of circle of sample points. | |
| int | supportPixel |
| Radius of patch to draw off if point specifies a shape change. | |
| void * | lastBuffer |
| For detecting change in cached image. | |
| double | lastTime |
| For detecting change in cached image. | |
| ImageOf< unsigned char > | categoryImage |
| Cached LBP categories for each pixel. P is limited to 254. | |
| std::vector< Interpolate > | interpolates |
| Cached data for doing bilinear interpolation of pixel values along circle. | |
|
||||||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
Does the actual LBP calculation for one pixel. Subroutine of value().
|
|
|
Return an instance of the recommended Comparison for feature vectors from this type of Descriptor. Caller is responsible to destroy instance.
Reimplemented from fl::Descriptor. |
|
|
|
|
|
Return a graphical representation of the descriptor. Preferrably an image patch that would stimulate this descriptor to return the given value.
Implements fl::Descriptor. |
|
|
Prepare gray version of image. Subroutine of value().
|
|
|
Reimplemented from fl::Descriptor. |
|
|
Describe entire region that has non-zero alpha values. Descriptor may treat all non-zero alpha values the same, or use them to weight the pixels. This method is only available in Descriptors that don't require a specific point of reference. IE: a spin image must have a central point, so it can't implement this method.
Reimplemented from fl::Descriptor. |
|
||||||||||||
|
Returns a vector of floats that describe the image patch near the interest point.
Implements fl::Descriptor. |
|
||||||||||||
|
Reimplemented from fl::Descriptor. |
|
|
Cached LBP categories for each pixel. P is limited to 254.
|
|
|
Cached data for doing bilinear interpolation of pixel values along circle.
|
|
|
For detecting change in cached image.
|
|
|
For detecting change in cached image.
|
|
|
Number of evenly spaced sample points around center.
|
|
|
Radius of circle of sample points.
|
|
|
Radius of patch to draw off if point specifies a shape change.
|
1.2.18