Lines Matching refs:CvCBQuad

111 typedef struct CvCBQuad  struct
120 struct CvCBQuad *neighbors[4]; // Pointers of quad neighbors argument
122 CvCBQuad; typedef
128 static int icvGenerateQuads( CvCBQuad **quads, CvCBCorner **corners,
132 icvGenerateQuadsEx( CvCBQuad **out_quads, CvCBCorner **out_corners,
135 static void icvFindQuadNeighbors( CvCBQuad *quads, int quad_count );
137 static int icvFindConnectedQuads( CvCBQuad *quads, int quad_count,
138 CvCBQuad **quad_group, int group_idx,
141 static int icvCheckQuadGroup( CvCBQuad **quad_group, int count,
145 CvCBQuad **quads, CvSize pattern_size );
147 static int icvOrderFoundConnectedQuads( int quad_count, CvCBQuad **quads,
148 int *all_count, CvCBQuad **all_quads, CvCBCorner **corners,
151 static void icvOrderQuad(CvCBQuad *quad, CvCBCorner *corner, int common);
153 static int icvTrimCol(CvCBQuad **quads, int count, int col, int dir);
155 static int icvTrimRow(CvCBQuad **quads, int count, int row, int dir);
157 static int icvAddOuterQuad(CvCBQuad *quad, CvCBQuad **quads, int quad_count,
158 CvCBQuad **all_quads, int all_count, CvCBCorner **corners);
160 static void icvRemoveQuadFromGroup(CvCBQuad **quads, int count, CvCBQuad *q0);
217 CvCBQuad *quads = 0, **quad_group = 0; in cvFindChessboardCorners()
370 … CV_CALL( quad_group = (CvCBQuad**)cvAlloc( sizeof(quad_group[0]) * (quad_count+quad_count / 2))); in cvFindChessboardCorners()
539 icvOrderFoundConnectedQuads( int quad_count, CvCBQuad **quads, in icvOrderFoundConnectedQuads()
540 int *all_count, CvCBQuad **all_quads, CvCBCorner **corners, in icvOrderFoundConnectedQuads()
548 CvCBQuad *start = NULL; in icvOrderFoundConnectedQuads()
582 CvCBQuad* q; in icvOrderFoundConnectedQuads()
597 CvCBQuad *neighbor = q->neighbors[i]; in icvOrderFoundConnectedQuads()
707 CvCBQuad *neighbor = quads[i]->neighbors[j]; in icvOrderFoundConnectedQuads()
779 icvAddOuterQuad( CvCBQuad *quad, CvCBQuad **quads, int quad_count, in icvAddOuterQuad()
780 CvCBQuad **all_quads, int all_count, CvCBCorner **corners ) in icvAddOuterQuad()
790 CvCBQuad *q = &(*all_quads)[all_count]; in icvAddOuterQuad()
830 CvCBQuad *qn = quad->neighbors[(i+3)%4]->neighbors[i]; in icvAddOuterQuad()
849 icvTrimCol(CvCBQuad **quads, int count, int col, int dir) in icvTrimCol()
894 icvTrimRow(CvCBQuad **quads, int count, int row, int dir) in icvTrimRow()
944 icvRemoveQuadFromGroup(CvCBQuad **quads, int count, CvCBQuad *q0) in icvRemoveQuadFromGroup()
950 CvCBQuad *q = quads[i]; in icvRemoveQuadFromGroup()
972 CvCBQuad *q = quads[i]; in icvRemoveQuadFromGroup()
986 icvOrderQuad(CvCBQuad *quad, CvCBCorner *corner, int common) in icvOrderQuad()
1001 CvCBQuad *tempq; in icvOrderQuad()
1019 icvCleanFoundConnectedQuads( int quad_count, CvCBQuad **quad_group, CvSize pattern_size ) in icvCleanFoundConnectedQuads()
1045 CvCBQuad* q = quad_group[i]; in icvCleanFoundConnectedQuads()
1075 CvCBQuad *q0, *q; in icvCleanFoundConnectedQuads()
1138 icvFindConnectedQuads( CvCBQuad *quad, int quad_count, CvCBQuad **out_group, in icvFindConnectedQuads()
1155 CvCBQuad* q = &quad[i]; in icvFindConnectedQuads()
1166 CvCBQuad *neighbor = q->neighbors[i]; in icvFindConnectedQuads()
1186 icvCheckQuadGroup( CvCBQuad **quad_group, int quad_count, in icvCheckQuadGroup()
1210 CvCBQuad* q = quad_group[i]; in icvCheckQuadGroup()
1450 static void icvFindQuadNeighbors( CvCBQuad *quads, int quad_count ) in icvFindQuadNeighbors()
1459 CvCBQuad* cur_quad = &quads[idx]; in icvFindQuadNeighbors()
1472 CvCBQuad *closest_quad = 0; in icvFindQuadNeighbors()
1552 CvCBQuad* q = &quads[k]; in icvFindQuadNeighbors()
1594 icvGenerateQuads( CvCBQuad **out_quads, CvCBCorner **out_corners, in icvGenerateQuads()
1701 …CV_CALL( *out_quads = (CvCBQuad*)cvAlloc((root->total+root->total / 2) * sizeof((*out_quads)[0]))); in icvGenerateQuads()
1707 CvCBQuad* q = &(*out_quads)[quad_count]; in icvGenerateQuads()
1771 icvGenerateQuadsEx( CvCBQuad **out_quads, CvCBCorner **out_corners, in icvGenerateQuadsEx()
1927 …CV_CALL( *out_quads = (CvCBQuad*)cvAlloc((root->total+root->total / 2) * sizeof((*out_quads)[0]))); in icvGenerateQuadsEx()
1933 CvCBQuad* q = &(*out_quads)[quad_count]; in icvGenerateQuadsEx()