EstervQrCode 2.0.0
Library for qr code manipulation
Loading...
Searching...
No Matches
hal.hpp
1#ifndef CV_IMGPROC_HAL_HPP
2#define CV_IMGPROC_HAL_HPP
3
4#include "opencv2/core/cvdef.h"
5#include "opencv2/core/cvstd.hpp"
6#include "opencv2/core/hal/interface.h"
7
8namespace cv { namespace hal {
9
12
13//---------------------------
15
16struct CV_EXPORTS Filter2D
17{
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;
30 virtual ~Filter2D() {}
31};
32
33struct CV_EXPORTS SepFilter2D
34{
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;
45 virtual ~SepFilter2D() {}
46};
47
48
49struct CV_EXPORTS Morph
50{
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;
60 virtual ~Morph() {}
61};
62
64//---------------------------
65
66CV_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
78CV_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
89CV_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
100
101CV_EXPORTS void resize(int src_type,
102 const uchar * src_data, size_t src_step, int src_width, int src_height,
103 uchar * dst_data, size_t dst_step, int dst_width, int dst_height,
104 double inv_scale_x, double inv_scale_y, int interpolation);
105
106CV_EXPORTS void warpAffine(int src_type,
107 const uchar * src_data, size_t src_step, int src_width, int src_height,
108 uchar * dst_data, size_t dst_step, int dst_width, int dst_height,
109 const double M[6], int interpolation, int borderType, const double borderValue[4]);
110
111CV_EXPORTS void warpPerspective(int src_type,
112 const uchar * src_data, size_t src_step, int src_width, int src_height,
113 uchar * dst_data, size_t dst_step, int dst_width, int dst_height,
114 const double M[9], int interpolation, int borderType, const double borderValue[4]);
115
116CV_EXPORTS void cvtBGRtoBGR(const uchar * src_data, size_t src_step,
117 uchar * dst_data, size_t dst_step,
118 int width, int height,
119 int depth, int scn, int dcn, bool swapBlue);
120
121CV_EXPORTS void cvtBGRtoBGR5x5(const uchar * src_data, size_t src_step,
122 uchar * dst_data, size_t dst_step,
123 int width, int height,
124 int scn, bool swapBlue, int greenBits);
125
126CV_EXPORTS void cvtBGR5x5toBGR(const uchar * src_data, size_t src_step,
127 uchar * dst_data, size_t dst_step,
128 int width, int height,
129 int dcn, bool swapBlue, int greenBits);
130
131CV_EXPORTS void cvtBGRtoGray(const uchar * src_data, size_t src_step,
132 uchar * dst_data, size_t dst_step,
133 int width, int height,
134 int depth, int scn, bool swapBlue);
135
136CV_EXPORTS void cvtGraytoBGR(const uchar * src_data, size_t src_step,
137 uchar * dst_data, size_t dst_step,
138 int width, int height,
139 int depth, int dcn);
140
141CV_EXPORTS void cvtBGR5x5toGray(const uchar * src_data, size_t src_step,
142 uchar * dst_data, size_t dst_step,
143 int width, int height,
144 int greenBits);
145
146CV_EXPORTS void cvtGraytoBGR5x5(const uchar * src_data, size_t src_step,
147 uchar * dst_data, size_t dst_step,
148 int width, int height,
149 int greenBits);
150CV_EXPORTS void cvtBGRtoYUV(const uchar * src_data, size_t src_step,
151 uchar * dst_data, size_t dst_step,
152 int width, int height,
153 int depth, int scn, bool swapBlue, bool isCbCr);
154
155CV_EXPORTS void cvtYUVtoBGR(const uchar * src_data, size_t src_step,
156 uchar * dst_data, size_t dst_step,
157 int width, int height,
158 int depth, int dcn, bool swapBlue, bool isCbCr);
159
160CV_EXPORTS void cvtBGRtoXYZ(const uchar * src_data, size_t src_step,
161 uchar * dst_data, size_t dst_step,
162 int width, int height,
163 int depth, int scn, bool swapBlue);
164
165CV_EXPORTS void cvtXYZtoBGR(const uchar * src_data, size_t src_step,
166 uchar * dst_data, size_t dst_step,
167 int width, int height,
168 int depth, int dcn, bool swapBlue);
169
170CV_EXPORTS void cvtBGRtoHSV(const uchar * src_data, size_t src_step,
171 uchar * dst_data, size_t dst_step,
172 int width, int height,
173 int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV);
174
175CV_EXPORTS void cvtHSVtoBGR(const uchar * src_data, size_t src_step,
176 uchar * dst_data, size_t dst_step,
177 int width, int height,
178 int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV);
179
180CV_EXPORTS void cvtBGRtoLab(const uchar * src_data, size_t src_step,
181 uchar * dst_data, size_t dst_step,
182 int width, int height,
183 int depth, int scn, bool swapBlue, bool isLab, bool srgb);
184
185CV_EXPORTS void cvtLabtoBGR(const uchar * src_data, size_t src_step,
186 uchar * dst_data, size_t dst_step,
187 int width, int height,
188 int depth, int dcn, bool swapBlue, bool isLab, bool srgb);
189
190CV_EXPORTS void cvtTwoPlaneYUVtoBGR(const uchar * src_data, size_t src_step,
191 uchar * dst_data, size_t dst_step,
192 int dst_width, int dst_height,
193 int dcn, bool swapBlue, int uIdx);
194
196CV_EXPORTS void cvtTwoPlaneYUVtoBGR(const uchar * y_data, const uchar * uv_data, size_t src_step,
197 uchar * dst_data, size_t dst_step,
198 int dst_width, int dst_height,
199 int dcn, bool swapBlue, int uIdx);
200
201CV_EXPORTS void cvtTwoPlaneYUVtoBGR(const uchar * y_data, size_t y_step, const uchar * uv_data, size_t uv_step,
202 uchar * dst_data, size_t dst_step,
203 int dst_width, int dst_height,
204 int dcn, bool swapBlue, int uIdx);
205
206CV_EXPORTS void cvtThreePlaneYUVtoBGR(const uchar * src_data, size_t src_step,
207 uchar * dst_data, size_t dst_step,
208 int dst_width, int dst_height,
209 int dcn, bool swapBlue, int uIdx);
210
211CV_EXPORTS void cvtBGRtoThreePlaneYUV(const uchar * src_data, size_t src_step,
212 uchar * dst_data, size_t dst_step,
213 int width, int height,
214 int scn, bool swapBlue, int uIdx);
215
217CV_EXPORTS void cvtBGRtoTwoPlaneYUV(const uchar * src_data, size_t src_step,
218 uchar * y_data, uchar * uv_data, size_t dst_step,
219 int width, int height,
220 int scn, bool swapBlue, int uIdx);
221
222CV_EXPORTS void cvtOnePlaneYUVtoBGR(const uchar * src_data, size_t src_step,
223 uchar * dst_data, size_t dst_step,
224 int width, int height,
225 int dcn, bool swapBlue, int uIdx, int ycn);
226
227CV_EXPORTS void cvtOnePlaneBGRtoYUV(const uchar * src_data, size_t src_step,
228 uchar * dst_data, size_t dst_step,
229 int width, int height,
230 int scn, bool swapBlue, int uIdx, int ycn);
231
232CV_EXPORTS void cvtRGBAtoMultipliedRGBA(const uchar * src_data, size_t src_step,
233 uchar * dst_data, size_t dst_step,
234 int width, int height);
235
236CV_EXPORTS void cvtMultipliedRGBAtoRGBA(const uchar * src_data, size_t src_step,
237 uchar * dst_data, size_t dst_step,
238 int width, int height);
239
241 const uchar* src, size_t srcstep,
242 uchar* sum, size_t sumstep,
243 uchar* sqsum, size_t sqsumstep,
244 uchar* tilted, size_t tstep,
245 int width, int height, int cn);
246
248
249}}
250
251#endif // CV_IMGPROC_HAL_HPP
int depth
Definition core_c.h:100
unsigned char uchar
Definition interface.h:51
#define CV_EXPORTS
Definition cvdef.h:435
#define CV_DEPRECATED
Definition cvdef.h:450
int int anchor_x
Definition imgproc_c.h:300
CvArr CvPoint2D32f double M
Definition imgproc_c.h:270
CvSize int int int CvPoint int delta
Definition imgproc_c.h:1168
int int int anchor_y
Definition imgproc_c.h:300
CV_EXPORTS void cvtBGRtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, int dcn, bool swapBlue)
CV_EXPORTS void cvtOnePlaneBGRtoYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx, int ycn)
CV_EXPORTS void cvtBGRtoThreePlaneYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
CV_EXPORTS void cvtMultipliedRGBAtoRGBA(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
CV_EXPORTS void cvtGraytoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
CV_EXPORTS void cvtTwoPlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
CV_EXPORTS void cvtBGR5x5toBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int greenBits)
CV_EXPORTS void cvtBGRtoHSV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isFullRange, bool isHSV)
CV_EXPORTS void cvtBGRtoBGR5x5(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int greenBits)
CV_EXPORTS void cvtThreePlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, int dcn, bool swapBlue, int uIdx)
CV_EXPORTS void sepFilter2D(int stype, int dtype, int ktype, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y, uchar *kernelx_data, int kernelx_len, uchar *kernely_data, int kernely_len, int anchor_x, int anchor_y, double delta, int borderType)
CV_EXPORTS void morph(int op, int src_type, int dst_type, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int roi_width, int roi_height, int roi_x, int roi_y, int roi_width2, int roi_height2, int roi_x2, int roi_y2, int kernel_type, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, int borderType, const double borderValue[4], int iterations, bool isSubmatrix)
CV_EXPORTS void integral(int depth, int sdepth, int sqdepth, const uchar *src, size_t srcstep, uchar *sum, size_t sumstep, uchar *sqsum, size_t sqsumstep, uchar *tilted, size_t tstep, int width, int height, int cn)
CV_EXPORTS void filter2D(int stype, int dtype, int kernel_type, uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int full_width, int full_height, int offset_x, int offset_y, uchar *kernel_data, size_t kernel_step, int kernel_width, int kernel_height, int anchor_x, int anchor_y, double delta, int borderType, bool isSubmatrix)
CV_EXPORTS void cvtBGRtoTwoPlaneYUV(const uchar *src_data, size_t src_step, uchar *y_data, uchar *uv_data, size_t dst_step, int width, int height, int scn, bool swapBlue, int uIdx)
Separate Y and UV planes.
CV_EXPORTS void cvtGraytoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn)
CV_EXPORTS void resize(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, double inv_scale_x, double inv_scale_y, int interpolation)
CV_EXPORTS void cvtBGRtoGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
CV_EXPORTS void cvtXYZtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue)
CV_EXPORTS void cvtBGRtoLab(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isLab, bool srgb)
CV_EXPORTS void warpAffine(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[6], int interpolation, int borderType, const double borderValue[4])
CV_EXPORTS void cvtBGR5x5toGray(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int greenBits)
CV_EXPORTS void cvtOnePlaneYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int dcn, bool swapBlue, int uIdx, int ycn)
CV_EXPORTS void cvtYUVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isCbCr)
CV_EXPORTS void cvtBGRtoXYZ(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue)
CV_EXPORTS void cvtLabtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isLab, bool srgb)
CV_EXPORTS void cvtHSVtoBGR(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int dcn, bool swapBlue, bool isFullRange, bool isHSV)
CV_EXPORTS void cvtRGBAtoMultipliedRGBA(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height)
CV_EXPORTS void cvtBGRtoYUV(const uchar *src_data, size_t src_step, uchar *dst_data, size_t dst_step, int width, int height, int depth, int scn, bool swapBlue, bool isCbCr)
CV_EXPORTS void warpPerspective(int src_type, const uchar *src_data, size_t src_step, int src_width, int src_height, uchar *dst_data, size_t dst_step, int dst_width, int dst_height, const double M[9], int interpolation, int borderType, const double borderValue[4])
OutputArray OutputArray sqsum
Definition imgproc.hpp:2883
OutputArray OutputArray OutputArray tilted
Definition imgproc.hpp:2883
OutputArray sum
Definition imgproc.hpp:2882
OutputArray OutputArray OutputArray int sdepth
Definition imgproc.hpp:2884
OutputArray OutputArray OutputArray int int sqdepth
Definition imgproc.hpp:2884
"black box" representation of the file storage associated with a file on disk.
Definition calib3d.hpp:441