Homogeneous kernel map - Definition. More...
#include "homkermap.h"
#include "mathop.h"
#include <math.h>
#include "homkermap.c"
#include "float.th"
Go to the source code of this file.
Homogeneous kernel map - Definition.
Definition in file homkermap.c.
#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.
#define VL_HOMKERMAP_INSTANTIATING |
Definition at line 519 of file homkermap.c.
#define VL_HOMKERMAP_INSTANTIATING |
Definition at line 519 of file homkermap.c.
VL_INLINE double sinc | ( | double | x | ) |
Definition at line 258 of file homkermap.c.
Delete an object instance.
self | object. The function deletes the specified map object. |
Definition at line 435 of file homkermap.c.
vl_size vl_homogeneouskernelmap_get_dimension | ( | VlHomogeneousKernelMap const * | self | ) |
Get the map dimension.
self | object. |
order
+1). Definition at line 464 of file homkermap.c.
VlHomogeneousKernelType vl_homogeneouskernelmap_get_kernel_type | ( | VlHomogeneousKernelMap const * | self | ) |
Get the kernel type.
self | object. |
Definition at line 476 of file homkermap.c.
vl_size vl_homogeneouskernelmap_get_order | ( | VlHomogeneousKernelMap const * | self | ) |
Get the map order.
self | object. |
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.
VlHomogeneousKernelMapWindowType vl_homogeneouskernelmap_get_window_type | ( | VlHomogeneousKernelMap const * | self | ) |
Get the window type.
self | object. |
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.
kernelType | type of homogeneous kernel. |
gamma | kernel homogeneity degree. |
order | approximation order. |
period | kernel period. |
windowType | type of window used to truncate the kernel. |
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.