Go to the documentation of this file.
85 #define CV_RETR_EXTERNAL 0
86 #define CV_RETR_LIST 1
87 #define CV_RETR_CCOMP 2
88 #define CV_RETR_TREE 3
91 #define CV_CHAIN_CODE 0
92 #define CV_CHAIN_APPROX_NONE 1
93 #define CV_CHAIN_APPROX_SIMPLE 2
94 #define CV_CHAIN_APPROX_TC89_L1 3
95 #define CV_CHAIN_APPROX_TC89_KCOS 4
96 #define CV_LINK_RUNS 5
109 #define CV_INIT_3X3_DELTAS( deltas, step, nch ) \
110 ((deltas)[0] = (nch), (deltas)[1] = -(step) + (nch), \
111 (deltas)[2] = -(step), (deltas)[3] = -(step) - (nch), \
112 (deltas)[4] = -(nch), (deltas)[5] = (step) - (nch), \
113 (deltas)[6] = (step), (deltas)[7] = (step) + (nch))
138 #define CV_QUADEDGE2D_FIELDS() \
140 struct CvSubdiv2DPoint* pt[4]; \
141 CvSubdiv2DEdge next[4];
143 #define CV_SUBDIV2D_POINT_FIELDS()\
145 CvSubdiv2DEdge first; \
148 #define CV_SUBDIV2D_VIRTUAL_POINT_FLAG (1 << 30)
162 #define CV_SUBDIV2D_FIELDS() \
165 int is_geometry_valid; \
166 CvSubdiv2DEdge recent_edge; \
167 CvPoint2D32f topleft; \
168 CvPoint2D32f bottomright;
201 #define CV_SUBDIV2D_NEXT_EDGE( edge ) (((CvQuadEdge2D*)((edge) & ~3))->next[(edge)&3])
205 #define CV_DIST_USER -1
209 #define CV_DIST_L12 4
210 #define CV_DIST_FAIR 5
211 #define CV_DIST_WELSCH 6
212 #define CV_DIST_HUBER 7
318 #define CV_HAAR_MAGIC_VAL 0x42500000
319 #define CV_TYPE_NAME_HAAR "opencv-haar-classifier"
321 #define CV_IS_HAAR_CLASSIFIER( haar ) \
323 (((const CvHaarClassifierCascade*)(haar))->flags & CV_MAGIC_MASK)==CV_HAAR_MAGIC_VAL)
325 #define CV_HAAR_FEATURE_MAX 3