#include <LBP.h>
Inheritance diagram for prapi::texture::LBP8:

This version can only be used with integer-valued neighborhood radii.
Public Methods | |
| LBP8 (unsigned int predicate=1u, bool interpolate=true) | |
| Create a new LBP8 feature extractor. | |
| void | setSamples (unsigned int samples) |
| Do nothing. | |
| util::List< int > | getFeatureVector (const util::Matrix< int > &mat) throw (FeatureExtractionException&) |
| util::Matrix< int > | getTransformedImage (const util::Matrix< int > &mat) throw (ImageTransformException&) |
| Goes through each matrix pixel, calculates the neighborhood values using the defined sample count and predicate, either with or without interpolation. | |
|
|
Goes through each matrix pixel, calculates the neighborhood values using the defined sample count and predicate, either with or without interpolation. For each neighborhood, calls getValue(U, List<U>&) and stores the returned value into the transformed matrix. The size of the resulting matrix is smaller than the input due to border effects. If you set the radius of the neighborhood to 3, the width and height of the result matrix will be 4 (=(3-1)*2) pixels smaller than those of the input.
Reimplemented from prapi::texture::CircularLocalSampler< int, int >. |
|
|
Do nothing. Prevent the user from setting the number of samples. Reimplemented from prapi::texture::CircularLocalSampler< int, int >. |