int dx, int dy, int aperture_size, int flags=0 );
virtual void init_gaussian( int _max_width, int _src_type, int _dst_type,
int gaussian_size, double sigma );
+
+ /* dummy method to avoid compiler warnings */
+ virtual void init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor=cvPoint(-1,-1),
+ int _border_mode=IPL_BORDER_REPLICATE,
+ CvScalar _border_value=cvScalarAll(0) );
+
virtual void clear();
const CvMat* get_x_kernel() const { return kx; }
const CvMat* get_y_kernel() const { return ky; }
CvPoint _anchor=cvPoint(-1,-1),
int _border_mode=IPL_BORDER_REPLICATE,
CvScalar _border_value=cvScalarAll(0) );
+
+ /* dummy method to avoid compiler warnings */
+ virtual void init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor=cvPoint(-1,-1),
+ int _border_mode=IPL_BORDER_REPLICATE,
+ CvScalar _border_value=cvScalarAll(0) );
+
virtual void clear();
const CvMat* get_kernel() const { return kernel; }
uchar* get_kernel_sparse_buf() { return k_sparse; }
CvPoint _anchor=cvPoint(-1,-1),
int _border_mode=IPL_BORDER_REPLICATE,
CvScalar _border_value=cvScalarAll(0) );
+
virtual ~CvBoxFilter();
bool is_normalized() const { return normalized; }
double get_scale() const { return scale; }
bool _normalized, int _ksize,
int _border_mode=IPL_BORDER_REPLICATE,
CvScalar _border_value=cvScalarAll(0) );
+
+ /* dummy methods to avoid compiler warnings */
+ virtual void init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor=cvPoint(-1,-1),
+ int _border_mode=IPL_BORDER_REPLICATE,
+ CvScalar _border_value=cvScalarAll(0) );
+
+ virtual void init( int _max_width, int _src_type, int _dst_type,
+ const CvMat* _kx, const CvMat* _ky,
+ CvPoint _anchor=cvPoint(-1,-1),
+ int _border_mode=IPL_BORDER_REPLICATE,
+ CvScalar _border_value=cvScalarAll(0) );
+
bool is_normalized() const { return normalized; }
bool is_basic_laplacian() const { return basic_laplacian; }
protected:
CvSize _ksize=cvSize(0,0), CvPoint _anchor=cvPoint(-1,-1),
int _border_mode=IPL_BORDER_REPLICATE,
CvScalar _border_value=cvScalarAll(0) );
+
+ /* dummy method to avoid compiler warnings */
+ virtual void init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor=cvPoint(-1,-1),
+ int _border_mode=IPL_BORDER_REPLICATE,
+ CvScalar _border_value=cvScalarAll(0) );
+
virtual void clear();
const CvMat* get_element() const { return element; }
int get_element_shape() const { return el_shape; }
}
+void CvLaplaceFilter::init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor, int _border_mode,
+ CvScalar _border_value )
+{
+ CvSepFilter::init( _max_width, _src_type, _dst_type, _is_separable,
+ _ksize, _anchor, _border_mode, _border_value );
+}
+
+
+void CvLaplaceFilter::init( int _max_width, int _src_type, int _dst_type,
+ const CvMat* _kx, const CvMat* _ky,
+ CvPoint _anchor, int _border_mode,
+ CvScalar _border_value )
+{
+ CvSepFilter::init( _max_width, _src_type, _dst_type, _kx, _ky,
+ _anchor, _border_mode, _border_value );
+}
+
+
#define ICV_LAPLACE_ROW( flavor, srctype, dsttype, load_macro ) \
static void \
icvLaplaceRow_##flavor( const srctype* src, dsttype* dst, void* params )\
}
+void CvSepFilter::init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor, int _border_mode,
+ CvScalar _border_value )
+{
+ CvBaseImageFilter::init( _max_width, _src_type, _dst_type, _is_separable,
+ _ksize, _anchor, _border_mode, _border_value );
+}
+
+
static void
icvFilterRowSymm_8u32s( const uchar* src, int* dst, void* params )
{
}
+void CvLinearFilter::init( int _max_width, int _src_type, int _dst_type,
+ bool _is_separable, CvSize _ksize,
+ CvPoint _anchor, int _border_mode,
+ CvScalar _border_value )
+{
+ CvBaseImageFilter::init( _max_width, _src_type, _dst_type, _is_separable,
+ _ksize, _anchor, _border_mode, _border_value );
+}
+
+
#define ICV_FILTER( flavor, arrtype, worktype, load_macro, \
cast_macro1, cast_macro2 ) \
static void \