Classes | Typedefs | Enumerations | Functions
lbp.h File Reference

Local Binary Patterns (LBP) descriptor (Local Binary Patterns (LBP) descriptor) More...

#include "generic.h"
Include dependency graph for lbp.h:
This graph shows which files directly or indirectly include this file:

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 VlLbpvl_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.

Detailed Description

Local Binary Patterns (LBP) descriptor (Local Binary Patterns (LBP) descriptor)

Author:
Andrea Vedaldi

Definition in file lbp.h.


Typedef Documentation

typedef struct VlLbp_ VlLbp

Local Binary Pattern extractor.

Type of quantization for the LBP descriptors.

See also:
Quantized LBP

Enumeration Type Documentation

Type of quantization for the LBP descriptors.

See also:
Quantized LBP
Enumerator:
VlLbpUniform 

Uniform local binary patterns.

Definition at line 22 of file lbp.h.


Function Documentation

VL_EXPORT void vl_lbp_delete ( VlLbp self)

Delete VlLbp object.

Parameters:
selfobject to delete.

Definition at line 238 of file lbp.c.

VL_EXPORT vl_size vl_lbp_get_dimension ( VlLbp self)

Get the dimension of the LBP histograms.

Returns:
dimension of the LBP histograms. The dimension depends on the type of quantization used.
See also:
vl_lbp_new().

Definition at line 248 of file lbp.c.

VL_EXPORT VlLbp* vl_lbp_new ( VlLbpMappingType  type,
vl_bool  transposed 
)

Create a new LBP object.

Parameters:
typetype of LBP features.
transposedif true, then transpose each LBP pattern.
Returns:
new VlLbp object instance.

Definition at line 218 of file lbp.c.

VL_EXPORT void vl_lbp_process ( VlLbp self,
float *  features,
float *  image,
vl_size  width,
vl_size  height,
vl_size  cellSize 
)

Extract LBP features.

Parameters:
selfLBP object.
featuresbuffer to write the features to.
imageimage.
widthimage width.
heightimage height.
cellSizesize 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.

Definition at line 270 of file lbp.c.



libvlfeat
Author(s): Andrea Vedaldi
autogenerated on Thu Jun 6 2019 20:25:52