Local Binary Patterns (LBP) descriptor (Local Binary Patterns (LBP) descriptor) More...
#include "generic.h"

Go to the source code of this file.
Classes | |
| struct | VlLbp_ |
| Local Binary Pattern extractor. More... | |
Typedefs | |
| typedef struct VlLbp_ | VlLbp |
| Local Binary Pattern extractor. | |
| typedef enum _VlLbpMappingType | VlLbpMappingType |
| Type of quantization for the LBP descriptors. | |
Enumerations | |
| enum | _VlLbpMappingType { VlLbpUniform } |
| Type of quantization for the LBP descriptors. More... | |
Functions | |
| VL_EXPORT void | vl_lbp_delete (VlLbp *self) |
| Delete VlLbp object. | |
| VL_EXPORT vl_size | vl_lbp_get_dimension (VlLbp *self) |
| Get the dimension of the LBP histograms. | |
| VL_EXPORT VlLbp * | vl_lbp_new (VlLbpMappingType type, vl_bool transposed) |
| Create a new LBP object. | |
| VL_EXPORT void | vl_lbp_process (VlLbp *self, float *features, float *image, vl_size width, vl_size height, vl_size cellSize) |
| Extract LBP features. | |
Local Binary Patterns (LBP) descriptor (Local Binary Patterns (LBP) descriptor)
Definition in file lbp.h.
| typedef enum _VlLbpMappingType VlLbpMappingType |
Type of quantization for the LBP descriptors.
| enum _VlLbpMappingType |
Type of quantization for the LBP descriptors.
| VL_EXPORT void vl_lbp_delete | ( | VlLbp * | self | ) |
| VL_EXPORT vl_size vl_lbp_get_dimension | ( | VlLbp * | self | ) |
Get the dimension of the LBP histograms.
| VL_EXPORT VlLbp* vl_lbp_new | ( | VlLbpMappingType | type, |
| vl_bool | transposed | ||
| ) |
| VL_EXPORT void vl_lbp_process | ( | VlLbp * | self, |
| float * | features, | ||
| float * | image, | ||
| vl_size | width, | ||
| vl_size | height, | ||
| vl_size | cellSize | ||
| ) |
Extract LBP features.
| self | LBP object. |
| features | buffer to write the features to. |
| image | image. |
| width | image width. |
| height | image height. |
| cellSize | size of the LBP cells. |
features is a numColumns x numRows x dimension where dimension is the dimension of a LBP feature obtained from vl_lbp_get_dimension, numColumns is equal to floor(width / cellSize), and similarly for numRows.