@@ -10,53 +10,93 @@ namespace cv { namespace hal {
10
10
// ! @addtogroup imgproc_hal_functions
11
11
// ! @{
12
12
13
+ // ---------------------------
14
+ // ! @cond IGNORED
15
+
13
16
struct CV_EXPORTS Filter2D
14
17
{
15
- static Ptr<hal::Filter2D> create (uchar * kernel_data , size_t kernel_step , int kernel_type ,
16
- int kernel_width , int kernel_height ,
17
- int max_width , int max_height ,
18
- int stype , int dtype ,
19
- int borderType , double delta ,
20
- int anchor_x , int anchor_y ,
21
- bool isSubmatrix , bool isInplace );
22
- virtual void apply (uchar * src_data , size_t src_step ,
23
- uchar * dst_data , size_t dst_step ,
24
- int width , int height ,
25
- int full_width , int full_height ,
26
- int offset_x , int offset_y ) = 0;
18
+ CV_DEPRECATED static Ptr<hal::Filter2D> create (uchar * , size_t , int ,
19
+ int , int ,
20
+ int , int ,
21
+ int , int ,
22
+ int , double ,
23
+ int , int ,
24
+ bool , bool );
25
+ virtual void apply (uchar * , size_t ,
26
+ uchar * , size_t ,
27
+ int , int ,
28
+ int , int ,
29
+ int , int ) = 0;
27
30
virtual ~Filter2D () {}
28
31
};
29
32
30
33
struct CV_EXPORTS SepFilter2D
31
34
{
32
- static Ptr<hal::SepFilter2D> create (int stype , int dtype , int ktype ,
33
- uchar * kernelx_data , int kernelx_len ,
34
- uchar * kernely_data , int kernely_len ,
35
- int anchor_x , int anchor_y ,
36
- double delta , int borderType );
37
- virtual void apply (uchar * src_data , size_t src_step ,
38
- uchar * dst_data , size_t dst_step ,
39
- int width , int height ,
40
- int full_width , int full_height ,
41
- int offset_x , int offset_y ) = 0;
35
+ CV_DEPRECATED static Ptr<hal::SepFilter2D> create (int , int , int ,
36
+ uchar * , int ,
37
+ uchar * , int ,
38
+ int , int ,
39
+ double , int );
40
+ virtual void apply (uchar * , size_t ,
41
+ uchar * , size_t ,
42
+ int , int ,
43
+ int , int ,
44
+ int , int ) = 0;
42
45
virtual ~SepFilter2D () {}
43
46
};
44
47
45
48
46
- struct CV_EXPORTS Morph
49
+ struct CV_EXPORTS Morph
47
50
{
48
- static Ptr<Morph> create (int op , int src_type , int dst_type , int max_width , int max_height ,
49
- int kernel_type , uchar * kernel_data , size_t kernel_step ,
50
- int kernel_width , int kernel_height ,
51
- int anchor_x , int anchor_y ,
52
- int borderType , const double borderValue[ 4 ] ,
53
- int iterations , bool isSubmatrix , bool allowInplace );
54
- virtual void apply (uchar * src_data , size_t src_step , uchar * dst_data , size_t dst_step , int width , int height ,
55
- int roi_width , int roi_height , int roi_x , int roi_y ,
56
- int roi_width2 , int roi_height2 , int roi_x2 , int roi_y2 ) = 0;
51
+ CV_DEPRECATED static Ptr<hal:: Morph> create (int , int , int , int , int ,
52
+ int , uchar * , size_t ,
53
+ int , int ,
54
+ int , int ,
55
+ int , const double * ,
56
+ int , bool , bool );
57
+ virtual void apply (uchar * , size_t , uchar * , size_t , int , int ,
58
+ int , int , int , int ,
59
+ int , int , int , int ) = 0;
57
60
virtual ~Morph () {}
58
61
};
59
62
63
+ // ! @endcond
64
+ // ---------------------------
65
+
66
+ CV_EXPORTS void filter2D (int stype, int dtype, int kernel_type,
67
+ uchar * src_data, size_t src_step,
68
+ uchar * dst_data, size_t dst_step,
69
+ int width, int height,
70
+ int full_width, int full_height,
71
+ int offset_x, int offset_y,
72
+ uchar * kernel_data, size_t kernel_step,
73
+ int kernel_width, int kernel_height,
74
+ int anchor_x, int anchor_y,
75
+ double delta, int borderType,
76
+ bool isSubmatrix);
77
+
78
+ CV_EXPORTS void sepFilter2D (int stype, int dtype, int ktype,
79
+ uchar * src_data, size_t src_step,
80
+ uchar * dst_data, size_t dst_step,
81
+ int width, int height,
82
+ int full_width, int full_height,
83
+ int offset_x, int offset_y,
84
+ uchar * kernelx_data, int kernelx_len,
85
+ uchar * kernely_data, int kernely_len,
86
+ int anchor_x, int anchor_y,
87
+ double delta, int borderType);
88
+
89
+ CV_EXPORTS void morph (int op, int src_type, int dst_type,
90
+ uchar * src_data, size_t src_step,
91
+ uchar * dst_data, size_t dst_step,
92
+ int width, int height,
93
+ int roi_width, int roi_height, int roi_x, int roi_y,
94
+ int roi_width2, int roi_height2, int roi_x2, int roi_y2,
95
+ int kernel_type, uchar * kernel_data, size_t kernel_step,
96
+ int kernel_width, int kernel_height, int anchor_x, int anchor_y,
97
+ int borderType, const double borderValue[4 ],
98
+ int iterations, bool isSubmatrix);
99
+
60
100
61
101
CV_EXPORTS void resize (int src_type,
62
102
const uchar * src_data, size_t src_step, int src_width, int src_height,
0 commit comments