Local Binary Patterns (LBP) - Definition. More...

Go to the source code of this file.
Defines | |
| #define | at(u, v) (*(image + width * (v) + (u))) |
| #define | to(u, v, w) (*(features + cstride * (w) + cwidth * (v) + (u))) |
Functions | |
| static void | _vl_lbp_init_uniform (VlLbp *self) |
| 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. | |
| 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) - Definition.
Definition in file lbp.c.
| #define at | ( | u, | |
| v | |||
| ) | (*(image + width * (v) + (u))) |
| #define to | ( | u, | |
| v, | |||
| w | |||
| ) | (*(features + cstride * (w) + cwidth * (v) + (u))) |
| static void _vl_lbp_init_uniform | ( | VlLbp * | self | ) | [static] |
| void vl_lbp_delete | ( | VlLbp * | self | ) |
| VL_EXPORT vl_size vl_lbp_get_dimension | ( | VlLbp * | self | ) |
Get the dimension of the LBP histograms.
| 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.