Update to 2.0.0 tree from current Fremantle build
[opencv] / interfaces / python / defs
1 #define CV_BLUR_NO_SCALE 0\r
2 #define CV_BLUR  1\r
3 #define CV_GAUSSIAN  2\r
4 #define CV_MEDIAN 3\r
5 #define CV_BILATERAL 4\r
6 #define CV_INPAINT_NS      0\r
7 #define CV_INPAINT_TELEA   1\r
8 #define CV_SCHARR -1\r
9 #define CV_MAX_SOBEL_KSIZE 7\r
10 #define  CV_BGR2BGRA    0\r
11 #define  CV_RGB2RGBA    CV_BGR2BGRA\r
12 #define  CV_BGRA2BGR    1\r
13 #define  CV_RGBA2RGB    CV_BGRA2BGR\r
14 #define  CV_BGR2RGBA    2\r
15 #define  CV_RGB2BGRA    CV_BGR2RGBA\r
16 #define  CV_RGBA2BGR    3\r
17 #define  CV_BGRA2RGB    CV_RGBA2BGR\r
18 #define  CV_BGR2RGB     4\r
19 #define  CV_RGB2BGR     CV_BGR2RGB\r
20 #define  CV_BGRA2RGBA   5\r
21 #define  CV_RGBA2BGRA   CV_BGRA2RGBA\r
22 #define  CV_BGR2GRAY    6\r
23 #define  CV_RGB2GRAY    7\r
24 #define  CV_GRAY2BGR    8\r
25 #define  CV_GRAY2RGB    CV_GRAY2BGR\r
26 #define  CV_GRAY2BGRA   9\r
27 #define  CV_GRAY2RGBA   CV_GRAY2BGRA\r
28 #define  CV_BGRA2GRAY   10\r
29 #define  CV_RGBA2GRAY   11\r
30 #define  CV_BGR2BGR565  12\r
31 #define  CV_RGB2BGR565  13\r
32 #define  CV_BGR5652BGR  14\r
33 #define  CV_BGR5652RGB  15\r
34 #define  CV_BGRA2BGR565 16\r
35 #define  CV_RGBA2BGR565 17\r
36 #define  CV_BGR5652BGRA 18\r
37 #define  CV_BGR5652RGBA 19\r
38 #define  CV_GRAY2BGR565 20\r
39 #define  CV_BGR5652GRAY 21\r
40 #define  CV_BGR2BGR555  22\r
41 #define  CV_RGB2BGR555  23\r
42 #define  CV_BGR5552BGR  24\r
43 #define  CV_BGR5552RGB  25\r
44 #define  CV_BGRA2BGR555 26\r
45 #define  CV_RGBA2BGR555 27\r
46 #define  CV_BGR5552BGRA 28\r
47 #define  CV_BGR5552RGBA 29\r
48 #define  CV_GRAY2BGR555 30\r
49 #define  CV_BGR5552GRAY 31\r
50 #define  CV_BGR2XYZ     32\r
51 #define  CV_RGB2XYZ     33\r
52 #define  CV_XYZ2BGR     34\r
53 #define  CV_XYZ2RGB     35\r
54 #define  CV_BGR2YCrCb   36\r
55 #define  CV_RGB2YCrCb   37\r
56 #define  CV_YCrCb2BGR   38\r
57 #define  CV_YCrCb2RGB   39\r
58 #define  CV_BGR2HSV     40\r
59 #define  CV_RGB2HSV     41\r
60 #define  CV_BGR2Lab     44\r
61 #define  CV_RGB2Lab     45\r
62 #define  CV_BayerBG2BGR 46\r
63 #define  CV_BayerGB2BGR 47\r
64 #define  CV_BayerRG2BGR 48\r
65 #define  CV_BayerGR2BGR 49\r
66 #define  CV_BayerBG2RGB CV_BayerRG2BGR\r
67 #define  CV_BayerGB2RGB CV_BayerGR2BGR\r
68 #define  CV_BayerRG2RGB CV_BayerBG2BGR\r
69 #define  CV_BayerGR2RGB CV_BayerGB2BGR\r
70 #define  CV_BGR2Luv     50\r
71 #define  CV_RGB2Luv     51\r
72 #define  CV_BGR2HLS     52\r
73 #define  CV_RGB2HLS     53\r
74 #define  CV_HSV2BGR     54\r
75 #define  CV_HSV2RGB     55\r
76 #define  CV_Lab2BGR     56\r
77 #define  CV_Lab2RGB     57\r
78 #define  CV_Luv2BGR     58\r
79 #define  CV_Luv2RGB     59\r
80 #define  CV_HLS2BGR     60\r
81 #define  CV_HLS2RGB     61\r
82 #define  CV_COLORCVT_MAX  100\r
83 #define  CV_INTER_NN        0\r
84 #define  CV_INTER_LINEAR    1\r
85 #define  CV_INTER_CUBIC     2\r
86 #define  CV_INTER_AREA      3\r
87 #define  CV_WARP_FILL_OUTLIERS 8\r
88 #define  CV_WARP_INVERSE_MAP  16\r
89 #define  CV_SHAPE_RECT      0\r
90 #define  CV_SHAPE_CROSS     1\r
91 #define  CV_SHAPE_ELLIPSE   2\r
92 #define  CV_SHAPE_CUSTOM    100\r
93 #define CV_MOP_OPEN         2\r
94 #define CV_MOP_CLOSE        3\r
95 #define CV_MOP_GRADIENT     4\r
96 #define CV_MOP_TOPHAT       5\r
97 #define CV_MOP_BLACKHAT     6\r
98 #define  CV_TM_SQDIFF        0\r
99 #define  CV_TM_SQDIFF_NORMED 1\r
100 #define  CV_TM_CCORR         2\r
101 #define  CV_TM_CCORR_NORMED  3\r
102 #define  CV_TM_CCOEFF        4\r
103 #define  CV_TM_CCOEFF_NORMED 5\r
104 #define  CV_LKFLOW_PYR_A_READY       1\r
105 #define  CV_LKFLOW_PYR_B_READY       2\r
106 #define  CV_LKFLOW_INITIAL_GUESSES   4\r
107 #define  CV_LKFLOW_GET_MIN_EIGENVALS 8\r
108 #define CV_POLY_APPROX_DP 0\r
109 #define CV_DOMINANT_IPAN 1\r
110 #define CV_CONTOURS_MATCH_I1  1\r
111 #define CV_CONTOURS_MATCH_I2  2\r
112 #define CV_CONTOURS_MATCH_I3  3\r
113 #define  CV_CONTOUR_TREES_MATCH_I1  1\r
114 #define CV_CLOCKWISE         1\r
115 #define CV_COUNTER_CLOCKWISE 2\r
116 #define CV_COMP_CORREL        0\r
117 #define CV_COMP_CHISQR        1\r
118 #define CV_COMP_INTERSECT     2\r
119 #define CV_COMP_BHATTACHARYYA 3\r
120 #define  CV_VALUE  1\r
121 #define  CV_ARRAY  2\r
122 #define CV_DIST_MASK_3   3\r
123 #define CV_DIST_MASK_5   5\r
124 #define CV_DIST_MASK_PRECISE 0\r
125 #define CV_THRESH_BINARY      0  /* value = value > threshold ? max_value : 0       */\r
126 #define CV_THRESH_BINARY_INV  1  /* value = value > threshold ? 0 : max_value       */\r
127 #define CV_THRESH_TRUNC       2  /* value = value > threshold ? threshold : value   */\r
128 #define CV_THRESH_TOZERO      3  /* value = value > threshold ? value : 0           */\r
129 #define CV_THRESH_TOZERO_INV  4  /* value = value > threshold ? 0 : value           */\r
130 #define CV_THRESH_MASK        7\r
131 #define CV_THRESH_OTSU        8  /* use Otsu algorithm to choose the optimal threshold value;\r
132 #define CV_ADAPTIVE_THRESH_MEAN_C  0\r
133 #define CV_ADAPTIVE_THRESH_GAUSSIAN_C  1\r
134 #define CV_FLOODFILL_FIXED_RANGE (1 << 16)\r
135 #define CV_FLOODFILL_MASK_ONLY   (1 << 17)\r
136 #define CV_CANNY_L2_GRADIENT  (1 << 31)\r
137 #define CV_HOUGH_STANDARD 0\r
138 #define CV_HOUGH_PROBABILISTIC 1\r
139 #define CV_HOUGH_MULTI_SCALE 2\r
140 #define CV_HOUGH_GRADIENT 3\r
141 #define CV_HAAR_DO_CANNY_PRUNING    1\r
142 #define CV_HAAR_SCALE_IMAGE         2\r
143 #define CV_HAAR_FIND_BIGGEST_OBJECT 4 \r
144 #define CV_HAAR_DO_ROUGH_SEARCH     8\r
145 #define CV_LMEDS 4\r
146 #define CV_RANSAC 8\r
147 #define CV_CALIB_CB_ADAPTIVE_THRESH  1\r
148 #define CV_CALIB_CB_NORMALIZE_IMAGE  2\r
149 #define CV_CALIB_CB_FILTER_QUADS     4 \r
150 #define CV_CALIB_USE_INTRINSIC_GUESS  1\r
151 #define CV_CALIB_FIX_ASPECT_RATIO     2\r
152 #define CV_CALIB_FIX_PRINCIPAL_POINT  4\r
153 #define CV_CALIB_ZERO_TANGENT_DIST    8\r
154 #define CV_CALIB_FIX_FOCAL_LENGTH 16\r
155 #define CV_CALIB_FIX_K1  32\r
156 #define CV_CALIB_FIX_K2  64\r
157 #define CV_CALIB_FIX_K3  128\r
158 #define CV_CALIB_FIX_INTRINSIC  256\r
159 #define CV_CALIB_SAME_FOCAL_LENGTH 512\r
160 #define CV_CALIB_ZERO_DISPARITY 1024\r
161 #define CV_FM_7POINT 1\r
162 #define CV_FM_8POINT 2\r
163 #define CV_FM_LMEDS_ONLY  CV_LMEDS\r
164 #define CV_FM_RANSAC_ONLY CV_RANSAC\r
165 #define CV_FM_LMEDS CV_LMEDS\r
166 #define CV_FM_RANSAC CV_RANSAC\r
167 #define CV_STEREO_BM_NORMALIZED_RESPONSE  0\r
168 #define CV_STEREO_BM_BASIC 0\r
169 #define CV_STEREO_BM_FISH_EYE 1\r
170 #define CV_STEREO_BM_NARROW 2\r
171 #define CV_STEREO_GC_OCCLUDED  SHRT_MAX\r
172 #define CV_AUTOSTEP  0x7fffffff
173 #define CV_MAX_ARR 10
174 #define CV_NO_DEPTH_CHECK     1
175 #define CV_NO_CN_CHECK        2
176 #define CV_NO_SIZE_CHECK      4
177 #define CV_CMP_EQ   0
178 #define CV_CMP_GT   1
179 #define CV_CMP_GE   2
180 #define CV_CMP_LT   3
181 #define CV_CMP_LE   4
182 #define CV_CMP_NE   5
183 #define  CV_CHECK_RANGE    1
184 #define  CV_CHECK_QUIET    2
185 #define CV_RAND_UNI      0
186 #define CV_RAND_NORMAL   1
187 #define CV_SORT_EVERY_ROW 0
188 #define CV_SORT_EVERY_COLUMN 1
189 #define CV_SORT_ASCENDING 0
190 #define CV_SORT_DESCENDING 16
191 #define CV_GEMM_A_T 1
192 #define CV_GEMM_B_T 2
193 #define CV_GEMM_C_T 4
194 #define CV_SVD_MODIFY_A   1
195 #define CV_SVD_U_T        2
196 #define CV_SVD_V_T        4
197 #define CV_LU  0
198 #define CV_SVD 1
199 #define CV_SVD_SYM 2
200 #define CV_CHOLESKY 3
201 #define CV_QR  4
202 #define CV_NORMAL 16
203 #define CV_COVAR_SCRAMBLED 0
204 #define CV_COVAR_NORMAL    1
205 #define CV_COVAR_USE_AVG   2
206 #define CV_COVAR_SCALE     4
207 #define CV_COVAR_ROWS      8
208 #define CV_COVAR_COLS     16
209 #define CV_PCA_DATA_AS_ROW 0
210 #define CV_PCA_DATA_AS_COL 1
211 #define CV_PCA_USE_AVG 2
212 #define CV_C            1
213 #define CV_L1           2
214 #define CV_L2           4
215 #define CV_NORM_MASK    7
216 #define CV_RELATIVE     8
217 #define CV_DIFF         16
218 #define CV_MINMAX       32
219 #define CV_DIFF_C       (CV_DIFF | CV_C)
220 #define CV_DIFF_L1      (CV_DIFF | CV_L1)
221 #define CV_DIFF_L2      (CV_DIFF | CV_L2)
222 #define CV_RELATIVE_C   (CV_RELATIVE | CV_C)
223 #define CV_RELATIVE_L1  (CV_RELATIVE | CV_L1)
224 #define CV_RELATIVE_L2  (CV_RELATIVE | CV_L2)
225 #define CV_REDUCE_SUM 0
226 #define CV_REDUCE_AVG 1
227 #define CV_REDUCE_MAX 2
228 #define CV_REDUCE_MIN 3
229 #define CV_DXT_FORWARD  0
230 #define CV_DXT_INVERSE  1
231 #define CV_DXT_SCALE    2 /* divide result by size of array */
232 #define CV_DXT_INV_SCALE (CV_DXT_INVERSE + CV_DXT_SCALE)
233 #define CV_DXT_INVERSE_SCALE CV_DXT_INV_SCALE
234 #define CV_DXT_ROWS     4 /* transform each row individually */
235 #define CV_DXT_MUL_CONJ 8 /* conjugate the second argument of cvMulSpectrums */
236 #define CV_FRONT 1
237 #define CV_BACK 0
238 #define  CV_GRAPH_VERTEX        1
239 #define  CV_GRAPH_TREE_EDGE     2
240 #define  CV_GRAPH_BACK_EDGE     4
241 #define  CV_GRAPH_FORWARD_EDGE  8
242 #define  CV_GRAPH_CROSS_EDGE    16
243 #define  CV_GRAPH_ANY_EDGE      30
244 #define  CV_GRAPH_NEW_TREE      32
245 #define  CV_GRAPH_BACKTRACKING  64
246 #define  CV_GRAPH_OVER          -1
247 #define  CV_GRAPH_ALL_ITEMS    -1
248 #define  CV_GRAPH_ITEM_VISITED_FLAG  (1 << 30)
249 #define  CV_GRAPH_SEARCH_TREE_NODE_FLAG   (1 << 29)
250 #define  CV_GRAPH_FORWARD_EDGE_FLAG       (1 << 28)
251 #define CV_FILLED -1
252 #define CV_AA 16
253 #define CV_FONT_HERSHEY_SIMPLEX         0
254 #define CV_FONT_HERSHEY_PLAIN           1
255 #define CV_FONT_HERSHEY_DUPLEX          2
256 #define CV_FONT_HERSHEY_COMPLEX         3
257 #define CV_FONT_HERSHEY_TRIPLEX         4
258 #define CV_FONT_HERSHEY_COMPLEX_SMALL   5
259 #define CV_FONT_HERSHEY_SCRIPT_SIMPLEX  6
260 #define CV_FONT_HERSHEY_SCRIPT_COMPLEX  7
261 #define CV_FONT_ITALIC                 16
262 #define CV_FONT_VECTOR0    CV_FONT_HERSHEY_SIMPLEX
263 #define CV_KMEANS_USE_INITIAL_LABELS    1
264 #define CV_ErrModeLeaf     0   /* Print error and exit program */
265 #define CV_ErrModeParent   1   /* Print error and continue */
266 #define CV_ErrModeSilent   2   /* Don't print and continue */
267 #define CV_RETR_EXTERNAL 0
268 #define CV_RETR_LIST     1
269 #define CV_RETR_CCOMP    2
270 #define CV_RETR_TREE     3
271 #define CV_CHAIN_CODE               0
272 #define CV_CHAIN_APPROX_NONE        1
273 #define CV_CHAIN_APPROX_SIMPLE      2
274 #define CV_CHAIN_APPROX_TC89_L1     3
275 #define CV_CHAIN_APPROX_TC89_KCOS   4
276 #define CV_LINK_RUNS                5
277 #define CV_SUBDIV2D_VIRTUAL_POINT_FLAG (1 << 30)
278 #define CV_DIST_USER    -1  /* User defined distance */
279 #define CV_DIST_L1      1   /* distance = |x1-x2| + |y1-y2| */
280 #define CV_DIST_L2      2   /* the simple euclidean distance */
281 #define CV_DIST_C       3   /* distance = max(|x1-x2|,|y1-y2|) */
282 #define CV_DIST_L12     4   /* L1-L2 metric: distance = 2(sqrt(1+x*x/2) - 1)) */
283 #define CV_DIST_FAIR    5   /* distance = c^2(|x|/c-log(1+|x|/c)), c = 1.3998 */
284 #define CV_DIST_WELSCH  6   /* distance = c^2/2(1-exp(-(x/c)^2)), c = 2.9846 */
285 #define CV_DIST_HUBER   7   /* distance = |x|<c ? x^2/2 : c(|x|-c/2), c=1.345 */
286 #define CV_HAAR_MAGIC_VAL    0x42500000
287 #define CV_HAAR_FEATURE_MAX  3
288 #define CV_TERMCRIT_ITER    1\r
289 #define CV_TERMCRIT_NUMBER  CV_TERMCRIT_ITER\r
290 #define CV_TERMCRIT_EPS     2\r
291 #define CV_EVENT_MOUSEMOVE      0
292 #define CV_EVENT_LBUTTONDOWN    1
293 #define CV_EVENT_RBUTTONDOWN    2
294 #define CV_EVENT_MBUTTONDOWN    3
295 #define CV_EVENT_LBUTTONUP      4
296 #define CV_EVENT_RBUTTONUP      5
297 #define CV_EVENT_MBUTTONUP      6
298 #define CV_EVENT_LBUTTONDBLCLK  7
299 #define CV_EVENT_RBUTTONDBLCLK  8
300 #define CV_EVENT_MBUTTONDBLCLK  9
301 #define CV_EVENT_FLAG_LBUTTON   1
302 #define CV_EVENT_FLAG_RBUTTON   2
303 #define CV_EVENT_FLAG_MBUTTON   4
304 #define CV_EVENT_FLAG_CTRLKEY   8
305 #define CV_EVENT_FLAG_SHIFTKEY  16
306 #define CV_EVENT_FLAG_ALTKEY    32
307 #define CV_MAX_DIM            32
308 include/highgui.h:#define CV_CAP_PROP_POS_MSEC       0
309 include/highgui.h:#define CV_CAP_PROP_POS_FRAMES     1
310 include/highgui.h:#define CV_CAP_PROP_POS_AVI_RATIO  2
311 include/highgui.h:#define CV_CAP_PROP_FRAME_WIDTH    3
312 include/highgui.h:#define CV_CAP_PROP_FRAME_HEIGHT   4
313 include/highgui.h:#define CV_CAP_PROP_FPS            5
314 include/highgui.h:#define CV_CAP_PROP_FOURCC         6
315 include/highgui.h:#define CV_CAP_PROP_FRAME_COUNT    7
316 include/highgui.h:#define CV_CAP_PROP_FORMAT         8
317 include/highgui.h:#define CV_CAP_PROP_MODE           9
318 include/highgui.h:#define CV_CAP_PROP_BRIGHTNESS    10
319 include/highgui.h:#define CV_CAP_PROP_CONTRAST      11
320 include/highgui.h:#define CV_CAP_PROP_SATURATION    12
321 include/highgui.h:#define CV_CAP_PROP_HUE           13
322 include/highgui.h:#define CV_CAP_PROP_GAIN          14
323 include/highgui.h:#define CV_CAP_PROP_EXPOSURE      15
324 include/highgui.h:#define CV_CAP_PROP_CONVERT_RGB   16
325 include/highgui.h:#define CV_CAP_PROP_WHITE_BALANCE 17
326 include/highgui.h:#define CV_CAP_PROP_RECTIFICATION 18
327 #define CV_CN_SHIFT   3