| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| |
|
| | #ifndef VL_SCALESPACE_H |
| | #define VL_SCALESPACE_H |
| |
|
| | #include "generic.h" |
| | #include "imopv.h" |
| | #include "mathop.h" |
| |
|
| | |
| | |
| | |
| |
|
| | |
| | |
| | |
| | |
| | typedef struct _VlScaleSpaceGeometry |
| | { |
| | vl_size width ; |
| | vl_size height ; |
| | vl_index firstOctave ; |
| | vl_index lastOctave ; |
| | vl_size octaveResolution ; |
| | vl_index octaveFirstSubdivision ; |
| | vl_index octaveLastSubdivision ; |
| | double baseScale ; |
| | double nominalScale ; |
| | } VlScaleSpaceGeometry ; |
| |
|
| | VL_EXPORT |
| | vl_bool vl_scalespacegeometry_is_equal (VlScaleSpaceGeometry a, |
| | VlScaleSpaceGeometry b) ; |
| |
|
| | |
| | |
| | |
| |
|
| | |
| | typedef struct _VlScaleSpaceOctaveGeometry |
| | { |
| | vl_size width ; |
| | vl_size height ; |
| | double step ; |
| | } VlScaleSpaceOctaveGeometry ; |
| |
|
| | |
| | |
| | |
| |
|
| | typedef struct _VlScaleSpace VlScaleSpace ; |
| |
|
| | |
| | |
| | |
| | VL_EXPORT VlScaleSpaceGeometry vl_scalespace_get_default_geometry(vl_size width, vl_size height) ; |
| | VL_EXPORT VlScaleSpace * vl_scalespace_new (vl_size width, vl_size height) ; |
| | VL_EXPORT VlScaleSpace * vl_scalespace_new_with_geometry (VlScaleSpaceGeometry geom) ; |
| | VL_EXPORT VlScaleSpace * vl_scalespace_new_copy (VlScaleSpace* src); |
| | VL_EXPORT VlScaleSpace * vl_scalespace_new_shallow_copy (VlScaleSpace* src); |
| | VL_EXPORT void vl_scalespace_delete (VlScaleSpace *self) ; |
| | |
| |
|
| | |
| | |
| | |
| | VL_EXPORT void |
| | vl_scalespace_put_image (VlScaleSpace *self, float const* image); |
| | |
| |
|
| | |
| | |
| | |
| | VL_EXPORT VlScaleSpaceGeometry vl_scalespace_get_geometry (VlScaleSpace const * self) ; |
| | VL_EXPORT VlScaleSpaceOctaveGeometry vl_scalespace_get_octave_geometry (VlScaleSpace const * self, vl_index o) ; |
| | VL_EXPORT float * |
| | vl_scalespace_get_level (VlScaleSpace * self, vl_index o, vl_index s) ; |
| | VL_EXPORT float const * |
| | vl_scalespace_get_level_const (VlScaleSpace const * self, vl_index o, vl_index s) ; |
| | VL_EXPORT double |
| | vl_scalespace_get_level_sigma (VlScaleSpace const *self, vl_index o, vl_index s) ; |
| | |
| |
|
| | |
| | #endif |
| |
|
| |
|