MSER (Maximally Stable Extremal Regions (MSER)) More...
#include "generic.h"

Go to the source code of this file.
Classes | |
| struct | _VlMserExtrReg |
| struct | _VlMserFilt |
| struct | _VlMserReg |
| struct | _VlMserStats |
| MSER filter statistics definition. More... | |
Defines | |
| #define | VL_MSER_PIX_MAXVAL 256 |
| Maximum value. | |
| #define | VL_MSER_VOID_NODE ((1ULL<<32) - 1) |
Typedefs | |
| typedef float | vl_mser_acc |
| typedef vl_uint8 | vl_mser_pix |
| MSER image data type. | |
| typedef struct _VlMserExtrReg | VlMserExtrReg |
| typedef struct _VlMserFilt | VlMserFilt |
| MSER Filter. | |
| typedef struct _VlMserReg | VlMserReg |
| typedef struct _VlMserStats | VlMserStats |
| MSER filter statistics. | |
Functions | |
Construction and Destruction | |
| VL_EXPORT VlMserFilt * | vl_mser_new (int ndims, int const *dims) |
| Create a new MSER filter. | |
| VL_EXPORT void | vl_mser_delete (VlMserFilt *f) |
| Delete MSER filter. | |
Processing | |
| VL_EXPORT void | vl_mser_process (VlMserFilt *f, vl_mser_pix const *im) |
| Process image. | |
| VL_EXPORT void | vl_mser_ell_fit (VlMserFilt *f) |
| Fit ellipsoids. | |
Retrieving data | |
| VL_INLINE vl_uint | vl_mser_get_regions_num (VlMserFilt const *f) |
| Get number of maximally stable extremal regions. | |
| VL_INLINE vl_uint const * | vl_mser_get_regions (VlMserFilt const *f) |
| Get maximally stable extremal regions. | |
| VL_INLINE float const * | vl_mser_get_ell (VlMserFilt const *f) |
| Get ellipsoids. | |
| VL_INLINE vl_uint | vl_mser_get_ell_num (VlMserFilt const *f) |
| Get number of ellipsoids. | |
| VL_INLINE vl_uint | vl_mser_get_ell_dof (VlMserFilt const *f) |
| Get number of degrees of freedom of ellipsoids. | |
| VL_INLINE VlMserStats const * | vl_mser_get_stats (VlMserFilt const *f) |
| Get statistics. | |
Retrieving parameters | |
| VL_INLINE vl_mser_pix | vl_mser_get_delta (VlMserFilt const *f) |
| Get delta. | |
| VL_INLINE double | vl_mser_get_min_area (VlMserFilt const *f) |
| Get minimum region area. | |
| VL_INLINE double | vl_mser_get_max_area (VlMserFilt const *f) |
| Get maximum region area. | |
| VL_INLINE double | vl_mser_get_max_variation (VlMserFilt const *f) |
| Get maximum region variation. | |
| VL_INLINE double | vl_mser_get_min_diversity (VlMserFilt const *f) |
| Get minimum diversity. | |
Setting parameters | |
| VL_INLINE void | vl_mser_set_delta (VlMserFilt *f, vl_mser_pix x) |
| Set delta. | |
| VL_INLINE void | vl_mser_set_min_area (VlMserFilt *f, double x) |
| Set minimum region area. | |
| VL_INLINE void | vl_mser_set_max_area (VlMserFilt *f, double x) |
| Set maximum region area. | |
| VL_INLINE void | vl_mser_set_max_variation (VlMserFilt *f, double x) |
| Set maximum region variation. | |
| VL_INLINE void | vl_mser_set_min_diversity (VlMserFilt *f, double x) |
| Set minimum diversity. | |
MSER (Maximally Stable Extremal Regions (MSER))
Definition in file mser.h.
| #define VL_MSER_PIX_MAXVAL 256 |
| #define VL_MSER_VOID_NODE ((1ULL<<32) - 1) |
| typedef float vl_mser_acc |
| typedef vl_uint8 vl_mser_pix |
| typedef struct _VlMserExtrReg VlMserExtrReg |
| typedef struct _VlMserFilt VlMserFilt |
MSER Filter.
The MSER filter computes the Maximally Stable Extremal Regions of an image.
| typedef struct _VlMserReg VlMserReg |
| typedef struct _VlMserStats VlMserStats |
| VL_EXPORT void vl_mser_delete | ( | VlMserFilt * | f | ) |
| VL_EXPORT void vl_mser_ell_fit | ( | VlMserFilt * | f | ) |
Fit ellipsoids.
-------------------------------------------------------------------
| f | MSER filter. |
| VL_INLINE vl_mser_pix vl_mser_get_delta | ( | VlMserFilt const * | f | ) |
| VL_INLINE float const * vl_mser_get_ell | ( | VlMserFilt const * | f | ) |
| VL_INLINE vl_uint vl_mser_get_ell_dof | ( | VlMserFilt const * | f | ) |
| VL_INLINE vl_uint vl_mser_get_ell_num | ( | VlMserFilt const * | f | ) |
| VL_INLINE double vl_mser_get_max_area | ( | VlMserFilt const * | f | ) |
| VL_INLINE double vl_mser_get_max_variation | ( | VlMserFilt const * | f | ) |
| VL_INLINE double vl_mser_get_min_area | ( | VlMserFilt const * | f | ) |
| VL_INLINE double vl_mser_get_min_diversity | ( | VlMserFilt const * | f | ) |
| VL_INLINE vl_uint const * vl_mser_get_regions | ( | VlMserFilt const * | f | ) |
| VL_INLINE vl_uint vl_mser_get_regions_num | ( | VlMserFilt const * | f | ) |
| VL_INLINE VlMserStats const * vl_mser_get_stats | ( | VlMserFilt const * | f | ) |
| VL_EXPORT VlMserFilt* vl_mser_new | ( | int | ndims, |
| int const * | dims | ||
| ) |
Create a new MSER filter.
------------------------------------------------------------------- Initializes a new MSER filter for images of the specified dimensions. Images are ndims -dimensional arrays of dimensions dims.
| ndims | number of dimensions. |
| dims | dimensions. |
| VL_EXPORT void vl_mser_process | ( | VlMserFilt * | f, |
| vl_mser_pix const * | im | ||
| ) |
Process image.
------------------------------------------------------------------- The functions calculates the Maximally Stable Extremal Regions (MSERs) of image im using the MSER filter f.
The filter f must have been initialized to be compatible with the dimensions of im.
| f | MSER filter. |
| im | image data. |
| VL_INLINE void vl_mser_set_delta | ( | VlMserFilt * | f, |
| vl_mser_pix | x | ||
| ) |
| VL_INLINE void vl_mser_set_max_area | ( | VlMserFilt * | f, |
| double | x | ||
| ) |
| VL_INLINE void vl_mser_set_max_variation | ( | VlMserFilt * | f, |
| double | x | ||
| ) |
| VL_INLINE void vl_mser_set_min_area | ( | VlMserFilt * | f, |
| double | x | ||
| ) |
| VL_INLINE void vl_mser_set_min_diversity | ( | VlMserFilt * | f, |
| double | x | ||
| ) |