Dense SIFT (Dense Scale Invariant Feature Transform (DSIFT)) More...
#include "generic.h"
Go to the source code of this file.
Classes | |
struct | VlDsiftDescriptorGeometry_ |
Dense SIFT descriptor geometry. More... | |
struct | VlDsiftFilter_ |
Dense SIFT filter. More... | |
struct | VlDsiftKeypoint_ |
Dense SIFT keypoint. More... | |
Typedefs | |
typedef struct VlDsiftDescriptorGeometry_ | VlDsiftDescriptorGeometry |
Dense SIFT descriptor geometry. | |
typedef struct VlDsiftFilter_ | VlDsiftFilter |
Dense SIFT filter. | |
typedef struct VlDsiftKeypoint_ | VlDsiftKeypoint |
Dense SIFT keypoint. | |
Functions | |
VL_EXPORT void | _vl_dsift_update_buffers (VlDsiftFilter *self) |
VL_EXPORT void | vl_dsift_delete (VlDsiftFilter *self) |
Delete DSIFT filter. | |
VL_EXPORT VlDsiftFilter * | vl_dsift_new (int width, int height) |
Create a new DSIFT filter. | |
VL_EXPORT VlDsiftFilter * | vl_dsift_new_basic (int width, int height, int step, int binSize) |
Create a new DSIFT filter (basic interface) | |
VL_EXPORT void | vl_dsift_process (VlDsiftFilter *self, float const *im) |
Compute keypoints and descriptors. | |
VL_INLINE void | vl_dsift_transpose_descriptor (float *dst, float const *src, int numBinT, int numBinX, int numBinY) |
Transpose descriptor. | |
Setting parameters | |
VL_INLINE void | vl_dsift_set_steps (VlDsiftFilter *self, int stepX, int stepY) |
Set steps. | |
VL_INLINE void | vl_dsift_set_bounds (VlDsiftFilter *self, int minX, int minY, int maxX, int maxY) |
Set bounds. | |
VL_INLINE void | vl_dsift_set_geometry (VlDsiftFilter *self, VlDsiftDescriptorGeometry const *geom) |
Set SIFT descriptor geometry. | |
VL_INLINE void | vl_dsift_set_flat_window (VlDsiftFilter *self, vl_bool useFlatWindow) |
Set flat window flag. | |
VL_INLINE void | vl_dsift_set_window_size (VlDsiftFilter *self, double windowSize) |
Set SIFT descriptor Gaussian window size. | |
Retrieving data and parameters | |
VL_INLINE float const * | vl_dsift_get_descriptors (VlDsiftFilter const *self) |
Get descriptors. | |
VL_INLINE int | vl_dsift_get_descriptor_size (VlDsiftFilter const *self) |
Get descriptor size. | |
VL_INLINE int | vl_dsift_get_keypoint_num (VlDsiftFilter const *self) |
Get number of keypoints. | |
VL_INLINE VlDsiftKeypoint const * | vl_dsift_get_keypoints (VlDsiftFilter const *self) |
Get keypoints. | |
VL_INLINE void | vl_dsift_get_bounds (VlDsiftFilter const *self, int *minX, int *minY, int *maxX, int *maxY) |
Get bounds. | |
VL_INLINE void | vl_dsift_get_steps (VlDsiftFilter const *self, int *stepX, int *stepY) |
Get steps. | |
VL_INLINE VlDsiftDescriptorGeometry const * | vl_dsift_get_geometry (VlDsiftFilter const *self) |
Get SIFT descriptor geometry. | |
VL_INLINE vl_bool | vl_dsift_get_flat_window (VlDsiftFilter const *self) |
Get flat window flag. | |
VL_INLINE double | vl_dsift_get_window_size (VlDsiftFilter const *self) |
Get SIFT descriptor Gaussian window size. |
Dense SIFT (Dense Scale Invariant Feature Transform (DSIFT))
Definition in file dsift.h.
typedef struct VlDsiftDescriptorGeometry_ VlDsiftDescriptorGeometry |
Dense SIFT descriptor geometry.
typedef struct VlDsiftFilter_ VlDsiftFilter |
Dense SIFT filter.
typedef struct VlDsiftKeypoint_ VlDsiftKeypoint |
Dense SIFT keypoint.
VL_EXPORT void _vl_dsift_update_buffers | ( | VlDsiftFilter * | self | ) |
VL_EXPORT void vl_dsift_delete | ( | VlDsiftFilter * | self | ) |
void vl_dsift_get_bounds | ( | VlDsiftFilter const * | self, |
int * | minX, | ||
int * | minY, | ||
int * | maxX, | ||
int * | maxY | ||
) |
Get bounds.
------------------------------------------------------------------
self | DSIFT filter object. |
minX | bounding box minimum X coordinate. |
minY | bounding box minimum Y coordinate. |
maxX | bounding box maximum X coordinate. |
maxY | bounding box maximum Y coordinate. |
int vl_dsift_get_descriptor_size | ( | VlDsiftFilter const * | self | ) |
float const * vl_dsift_get_descriptors | ( | VlDsiftFilter const * | self | ) |
int vl_dsift_get_flat_window | ( | VlDsiftFilter const * | self | ) |
VlDsiftDescriptorGeometry const * vl_dsift_get_geometry | ( | VlDsiftFilter const * | self | ) |
int vl_dsift_get_keypoint_num | ( | VlDsiftFilter const * | self | ) |
VlDsiftKeypoint const * vl_dsift_get_keypoints | ( | VlDsiftFilter const * | self | ) |
void vl_dsift_get_steps | ( | VlDsiftFilter const * | self, |
int * | stepX, | ||
int * | stepY | ||
) |
VL_INLINE double vl_dsift_get_window_size | ( | VlDsiftFilter const * | self | ) |
VL_EXPORT VlDsiftFilter* vl_dsift_new | ( | int | imWidth, |
int | imHeight | ||
) |
VL_EXPORT VlDsiftFilter* vl_dsift_new_basic | ( | int | imWidth, |
int | imHeight, | ||
int | step, | ||
int | binSize | ||
) |
Create a new DSIFT filter (basic interface)
------------------------------------------------------------------
imWidth | width of the image. |
imHeight | height of the image. |
step | sampling step. |
binSize | bin size. |
The descriptor geometry matches the standard SIFT descriptor.
VL_EXPORT void vl_dsift_process | ( | VlDsiftFilter * | self, |
float const * | im | ||
) |
void vl_dsift_set_bounds | ( | VlDsiftFilter * | self, |
int | minX, | ||
int | minY, | ||
int | maxX, | ||
int | maxY | ||
) |
Set bounds.
------------------------------------------------------------------
self | DSIFT filter object. |
minX | bounding box minimum X coordinate. |
minY | bounding box minimum Y coordinate. |
maxX | bounding box maximum X coordinate. |
maxY | bounding box maximum Y coordinate. |
void vl_dsift_set_flat_window | ( | VlDsiftFilter * | self, |
vl_bool | useFlatWindow | ||
) |
void vl_dsift_set_geometry | ( | VlDsiftFilter * | self, |
VlDsiftDescriptorGeometry const * | geom | ||
) |
void vl_dsift_set_steps | ( | VlDsiftFilter * | self, |
int | stepX, | ||
int | stepY | ||
) |
void vl_dsift_set_window_size | ( | VlDsiftFilter * | self, |
double | windowSize | ||
) |
VL_INLINE void vl_dsift_transpose_descriptor | ( | float * | dst, |
float const * | src, | ||
int | numBinT, | ||
int | numBinX, | ||
int | numBinY | ||
) |
Transpose descriptor.
------------------------------------------------------------------
dst | destination buffer. |
src | source buffer. |
numBinT | |
numBinX | |
numBinY | The function writes to dst the transpose of the SIFT descriptor src. Let I be an image. The transpose operator satisfies the equation transpose(dsift(I,x,y)) = dsift(transpose(I),y,x) |