Classes | Typedefs
liop.h File Reference

Local Intensity Order Pattern (LIOP) descriptor (Local Intensity Order Pattern (LIOP) descriptor) More...

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

Go to the source code of this file.

Classes

struct  _VlLiopDesc
 LIOP descriptor extractor object. More...

Typedefs

typedef struct _VlLiopDesc VlLiopDesc
 LIOP descriptor extractor object.

Functions

Construct and destroy
VL_EXPORT VlLiopDescvl_liopdesc_new (vl_int numNeighbours, vl_int numSpatialBins, float radius, vl_size sideLength)
 Create a new LIOP object instance.
VL_EXPORT VlLiopDescvl_liopdesc_new_basic (vl_size sideLength)
 Create a new object with default parameters.
VL_EXPORT void vl_liopdesc_delete (VlLiopDesc *self)
 Delete object instance.
Get data and parameters
VL_EXPORT vl_size vl_liopdesc_get_dimension (VlLiopDesc const *self)
 Get the dimension of a LIOP descriptor.
VL_EXPORT vl_size vl_liopdesc_get_num_neighbours (VlLiopDesc const *self)
 Get the number of neighbours.
VL_EXPORT float vl_liopdesc_get_intensity_threshold (VlLiopDesc const *self)
 Get the intensity threshold.
VL_EXPORT vl_size vl_liopdesc_get_num_spatial_bins (VlLiopDesc const *self)
 Get the number of spatial bins.
VL_EXPORT double vl_liopdesc_get_neighbourhood_radius (VlLiopDesc const *self)
 Get the neighbourhood radius.
VL_EXPORT void vl_liopdesc_set_intensity_threshold (VlLiopDesc *self, float x)
 Set the intensity threshold.
Compute LIOP descriptor
VL_EXPORT void vl_liopdesc_process (VlLiopDesc *liop, float *desc, float const *patch)
 Compute liop descriptor for a patch.

Detailed Description

Local Intensity Order Pattern (LIOP) descriptor (Local Intensity Order Pattern (LIOP) descriptor)

Author:
Hana Sarbortova
Andrea Vedaldi
See also:
Local Intensity Order Pattern (LIOP) descriptor

Definition in file liop.h.


Typedef Documentation

typedef struct _VlLiopDesc VlLiopDesc

LIOP descriptor extractor object.


Function Documentation

VL_EXPORT void vl_liopdesc_delete ( VlLiopDesc self)

Delete object instance.

Parameters:
selfobject instance.

Definition at line 417 of file liop.c.

VL_EXPORT vl_size vl_liopdesc_get_dimension ( VlLiopDesc const *  self)

Get the dimension of a LIOP descriptor.

Parameters:
selfobject.
Returns:
dimension.

Definition at line 569 of file liop.c.

VL_EXPORT float vl_liopdesc_get_intensity_threshold ( VlLiopDesc const *  self)

Get the intensity threshold.

Parameters:
selfobject.
Returns:
intensity threshold.
See also:
liop-weighing

Definition at line 594 of file liop.c.

VL_EXPORT double vl_liopdesc_get_neighbourhood_radius ( VlLiopDesc const *  self)

Get the neighbourhood radius.

Parameters:
selfobject.
Returns:
neighbourhood radius.

Definition at line 625 of file liop.c.

VL_EXPORT vl_size vl_liopdesc_get_num_neighbours ( VlLiopDesc const *  self)

Get the number of neighbours.

Parameters:
selfobject.
Returns:
number of neighbours.

Definition at line 581 of file liop.c.

Get the number of spatial bins.

Parameters:
selfobject.
Returns:
number of spatial bins.

Definition at line 637 of file liop.c.

VL_EXPORT VlLiopDesc* vl_liopdesc_new ( vl_int  numNeighbours,
vl_int  numSpatialBins,
float  radius,
vl_size  sideLength 
)

Create a new LIOP object instance.

Parameters:
numNeighboursnumber of neighbours.
numSpatialBinsnumber of bins.
radiusradius of the cirucal sample neighbourhoods.
sideLengthwidth of the input image patch (the patch is square).
Returns:
new object instance.

The value of radius should be at least less than half the sideLength of the patch.

Definition at line 321 of file liop.c.

VL_EXPORT VlLiopDesc* vl_liopdesc_new_basic ( vl_size  sideLength)

Create a new object with default parameters.

Parameters:
sideLengthsize of the patches to be processed.
Returns:
new object.
See also:
vl_liopdesc_new.

Definition at line 405 of file liop.c.

VL_EXPORT void vl_liopdesc_process ( VlLiopDesc self,
float *  desc,
float const *  patch 
)

Compute liop descriptor for a patch.

Parameters:
selfobject instance
descdescriptor to be computed (output).
patchpatch to process

Use vl_liopdesc_get_dimension to get the size of the descriptor desc.

Definition at line 442 of file liop.c.

VL_EXPORT void vl_liopdesc_set_intensity_threshold ( VlLiopDesc self,
float  x 
)

Set the intensity threshold.

Parameters:
selfobject.
xintensity threshold.

If non-negative, the threshold as is is used when comparing intensities. If negative, the absolute value of the specified number is multipled by the maximum intensity difference inside a patch to obtain the threshold.

See also:
liop-weighing

Definition at line 613 of file liop.c.



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