00001
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef VL_IMOPV_H
00015 #define VL_IMOPV_H
00016
00017 #include "generic.h"
00018
00021 #define VL_PAD_BY_ZERO (0x0 << 0)
00022 #define VL_PAD_BY_CONTINUITY (0x1 << 0)
00023 #define VL_PAD_MASK (0x3)
00024 #define VL_TRANSPOSE (0x1 << 2)
00029 VL_EXPORT
00030 void vl_imconvcol_vf (float* dst, vl_size dst_stride,
00031 float const* src,
00032 vl_size src_width, vl_size src_height, vl_size src_stride,
00033 float const* filt, vl_index filt_begin, vl_index filt_end,
00034 int step, unsigned int flags) ;
00035
00036 VL_EXPORT
00037 void vl_imconvcol_vd (double* dst, vl_size dst_stride,
00038 double const* src,
00039 vl_size src_width, vl_size src_height, vl_size src_stride,
00040 double const* filt, vl_index filt_begin, vl_index filt_end,
00041 int step, unsigned int flags) ;
00042
00043 VL_EXPORT
00044 void vl_imconvcoltri_f (float * dest, vl_size destStride,
00045 float const * image,
00046 vl_size imageWidth, vl_size imageHeight, vl_size imageStride,
00047 vl_size filterSize,
00048 vl_size step, int unsigned flags) ;
00049
00050 VL_EXPORT
00051 void vl_imconvcoltri_d (double * dest, vl_size destStride,
00052 double const * image,
00053 vl_size imageWidth, vl_size imageHeight, vl_size imageStride,
00054 vl_size filterSize,
00055 vl_size step, int unsigned flags) ;
00060 VL_EXPORT
00061 void vl_imintegral_f (float * integral, vl_size integralStride,
00062 float const * image,
00063 vl_size imageWidth, vl_size imageHeight, vl_size imageStride) ;
00064
00065 VL_EXPORT
00066 void vl_imintegral_d (double * integral, vl_size integralStride,
00067 double const * image,
00068 vl_size imageWidth, vl_size imageHeight, vl_size imageStride) ;
00069
00070 VL_EXPORT
00071 void vl_imintegral_i32 (vl_int32 * integral, vl_size integralStride,
00072 vl_int32 const * image,
00073 vl_size imageWidth, vl_size imageHeight, vl_size imageStride) ;
00074
00075 VL_EXPORT
00076 void vl_imintegral_ui32 (vl_uint32 * integral, vl_size integralStride,
00077 vl_uint32 const * image,
00078 vl_size imageWidth, vl_size imageHeight, vl_size imageStride) ;
00084 VL_EXPORT void
00085 vl_image_distance_transform_d (double const * image,
00086 vl_size numColumns,
00087 vl_size numRows,
00088 vl_size columnStride,
00089 vl_size rowStride,
00090 double * distanceTransform,
00091 vl_uindex * indexes,
00092 double coeff,
00093 double offset) ;
00094
00095 VL_EXPORT void
00096 vl_image_distance_transform_f (float const * image,
00097 vl_size numColumns,
00098 vl_size numRows,
00099 vl_size columnStride,
00100 vl_size rowStride,
00101 float * distanceTransform,
00102 vl_uindex * indexes,
00103 float coeff,
00104 float offset) ;
00105
00108
00112 VL_EXPORT void
00113 vl_imsmooth_f (float *smoothed, vl_size smoothedStride,
00114 float const *image, vl_size width, vl_size height, vl_size stride,
00115 double sigmax, double sigmay) ;
00116
00117 VL_EXPORT void
00118 vl_imsmooth_d (double *smoothed, vl_size smoothedStride,
00119 double const *image, vl_size width, vl_size height, vl_size stride,
00120 double sigmax, double sigmay) ;
00121
00124
00127 VL_EXPORT void
00128 vl_imgradient_polar_f (float* amplitudeGradient, float* angleGradient,
00129 vl_size gradWidthStride, vl_size gradHeightStride,
00130 float const* image,
00131 vl_size imageWidth, vl_size imageHeight,
00132 vl_size imageStride);
00133
00134 VL_EXPORT void
00135 vl_imgradient_polar_d (double* amplitudeGradient, double* angleGradient,
00136 vl_size gradWidthStride, vl_size gradHeightStride,
00137 double const* image,
00138 vl_size imageWidth, vl_size imageHeight,
00139 vl_size imageStride);
00140
00141 VL_EXPORT void
00142 vl_imgradient_f (float* xGradient, float* yGradient,
00143 vl_size gradWidthStride, vl_size gradHeightStride,
00144 float const *image,
00145 vl_size imageWidth, vl_size imageHeight, vl_size imageStride);
00146
00147 VL_EXPORT void
00148 vl_imgradient_d(double* xGradient, double* yGradient,
00149 vl_size gradWidthStride, vl_size gradHeightStride,
00150 double const *image,
00151 vl_size imageWidth, vl_size imageHeight, vl_size imageStride);
00152
00153 VL_EXPORT void
00154 vl_imgradient_polar_f_callback(float const *sourceImage,
00155 int sourceImageWidth, int sourceImageHeight,
00156 float *dstImage,
00157 int dstWidth, int dstHeight,
00158 int octave, int level,
00159 void *params);
00160
00163
00164 #endif