Classes | Defines | Functions
homkermap.c File Reference

Homogeneous kernel map - Definition. More...

#include "homkermap.h"
#include "mathop.h"
#include <math.h>
#include "homkermap.c"
#include "float.th"
Include dependency graph for homkermap.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _VlHomogeneousKernelMap

Defines

#define FLT   VL_TYPE_FLOAT
#define FLT   VL_TYPE_DOUBLE
#define VL_HOMKERMAP_INSTANTIATING
#define VL_HOMKERMAP_INSTANTIATING

Functions

VL_INLINE double sinc (double x)
void vl_homogeneouskernelmap_delete (VlHomogeneousKernelMap *self)
 Delete an object instance.
vl_size vl_homogeneouskernelmap_get_dimension (VlHomogeneousKernelMap const *self)
 Get the map dimension.
VlHomogeneousKernelType vl_homogeneouskernelmap_get_kernel_type (VlHomogeneousKernelMap const *self)
 Get the kernel type.
vl_size vl_homogeneouskernelmap_get_order (VlHomogeneousKernelMap const *self)
 Get the map order.
VL_INLINE double vl_homogeneouskernelmap_get_smooth_spectrum (VlHomogeneousKernelMap const *self, double omega)
VL_INLINE double vl_homogeneouskernelmap_get_spectrum (VlHomogeneousKernelMap const *self, double omega)
VlHomogeneousKernelMapWindowType vl_homogeneouskernelmap_get_window_type (VlHomogeneousKernelMap const *self)
 Get the window type.
VlHomogeneousKernelMapvl_homogeneouskernelmap_new (VlHomogeneousKernelType kernelType, double gamma, vl_size order, double period, VlHomogeneousKernelMapWindowType windowType)
 Create a new homgeneous kernel map.
 void (VlHomogeneousKernelMap const *self, T *destination, vl_size stride, double x)

Detailed Description

Homogeneous kernel map - Definition.

Author:
Andrea Vedaldi

Definition in file homkermap.c.


Define Documentation

#define FLT   VL_TYPE_FLOAT

Definition at line 518 of file homkermap.c.

#define FLT   VL_TYPE_DOUBLE

Definition at line 518 of file homkermap.c.

Definition at line 519 of file homkermap.c.

Definition at line 519 of file homkermap.c.


Function Documentation

VL_INLINE double sinc ( double  x)

Definition at line 258 of file homkermap.c.

Delete an object instance.

Parameters:
selfobject. The function deletes the specified map object.

Definition at line 435 of file homkermap.c.

Get the map dimension.

Parameters:
selfobject.
Returns:
the map dimension (2 order +1).

Definition at line 464 of file homkermap.c.

Get the kernel type.

Parameters:
selfobject.
Returns:
kernel type.

Definition at line 476 of file homkermap.c.

Get the map order.

Parameters:
selfobject.
Returns:
the map order.

Definition at line 452 of file homkermap.c.

VL_INLINE double vl_homogeneouskernelmap_get_smooth_spectrum ( VlHomogeneousKernelMap const *  self,
double  omega 
)

Definition at line 271 of file homkermap.c.

VL_INLINE double vl_homogeneouskernelmap_get_spectrum ( VlHomogeneousKernelMap const *  self,
double  omega 
)

Definition at line 240 of file homkermap.c.

Get the window type.

Parameters:
selfobject.
Returns:
window type.

Definition at line 488 of file homkermap.c.

VlHomogeneousKernelMap* vl_homogeneouskernelmap_new ( VlHomogeneousKernelType  kernelType,
double  gamma,
vl_size  order,
double  period,
VlHomogeneousKernelMapWindowType  windowType 
)

Create a new homgeneous kernel map.

Parameters:
kernelTypetype of homogeneous kernel.
gammakernel homogeneity degree.
orderapproximation order.
periodkernel period.
windowTypetype of window used to truncate the kernel.
Returns:
the new homogeneous kernel map.

The function intializes a new homogeneous kernel map for the specified kernel type, homogeneity degree, approximation order, period, and truncation window. See Fundamentals for details.

The homogeneity degree gamma must be positive (the standard kernels are obtained by setting gamma to 1). When unsure, set windowType to VlHomogeneousKernelMapWindowRectangular. The period should be non-negative; specifying a negative or null value causes the function to switch to a default value.

The function returns NULL if there is not enough free memory.

Definition at line 326 of file homkermap.c.

void ( VlHomogeneousKernelMap const *  self,
T destination,
vl_size  stride,
double  x 
)

Definition at line 533 of file homkermap.c.



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