Lines Matching refs:CvCBQuad
140 struct CvCBQuad struct
149 struct CvCBQuad *neighbors[4]; // Pointers of quad neighbors argument
156 static int icvGenerateQuads( CvCBQuad **quads, CvCBCorner **corners,
163 static void icvFindQuadNeighbors( CvCBQuad *quads, int quad_count );
165 static int icvFindConnectedQuads( CvCBQuad *quads, int quad_count,
166 CvCBQuad **quad_group, int group_idx,
169 static int icvCheckQuadGroup( CvCBQuad **quad_group, int count,
173 CvCBQuad **quads, CvSize pattern_size );
175 static int icvOrderFoundConnectedQuads( int quad_count, CvCBQuad **quads,
176 int *all_count, CvCBQuad **all_quads, CvCBCorner **corners,
179 static void icvOrderQuad(CvCBQuad *quad, CvCBCorner *corner, int common);
182 static int icvTrimCol(CvCBQuad **quads, int count, int col, int dir);
184 static int icvTrimRow(CvCBQuad **quads, int count, int row, int dir);
187 static int icvAddOuterQuad(CvCBQuad *quad, CvCBQuad **quads, int quad_count,
188 CvCBQuad **all_quads, int all_count, CvCBCorner **corners);
190 static void icvRemoveQuadFromGroup(CvCBQuad **quads, int count, CvCBQuad *q0);
233 CvCBQuad *quads = 0, **quad_group = 0; in cvFindChessboardCorners()
412 quad_group = (CvCBQuad**)cvAlloc( sizeof(quad_group[0]) * (quad_count+quad_count / 2)); in cvFindChessboardCorners()
625 icvOrderFoundConnectedQuads( int quad_count, CvCBQuad **quads, in icvOrderFoundConnectedQuads()
626 int *all_count, CvCBQuad **all_quads, CvCBCorner **corners, in icvOrderFoundConnectedQuads()
633 CvCBQuad *start = NULL; in icvOrderFoundConnectedQuads()
662 CvCBQuad* q; in icvOrderFoundConnectedQuads()
677 CvCBQuad *neighbor = q->neighbors[i]; in icvOrderFoundConnectedQuads()
785 CvCBQuad *neighbor = quads[i]->neighbors[j]; in icvOrderFoundConnectedQuads()
857 icvAddOuterQuad( CvCBQuad *quad, CvCBQuad **quads, int quad_count, in icvAddOuterQuad()
858 CvCBQuad **all_quads, int all_count, CvCBCorner **corners ) in icvAddOuterQuad()
868 CvCBQuad *q = &(*all_quads)[all_count]; in icvAddOuterQuad()
908 CvCBQuad *qn = quad->neighbors[(i+3)%4]->neighbors[i]; in icvAddOuterQuad()
927 icvTrimCol(CvCBQuad **quads, int count, int col, int dir) in icvTrimCol()
972 icvTrimRow(CvCBQuad **quads, int count, int row, int dir) in icvTrimRow()
1022 icvRemoveQuadFromGroup(CvCBQuad **quads, int count, CvCBQuad *q0) in icvRemoveQuadFromGroup()
1028 CvCBQuad *q = quads[i]; in icvRemoveQuadFromGroup()
1050 CvCBQuad *q = quads[i]; in icvRemoveQuadFromGroup()
1064 icvOrderQuad(CvCBQuad *quad, CvCBCorner *corner, int common) in icvOrderQuad()
1079 CvCBQuad *tempq; in icvOrderQuad()
1097 icvCleanFoundConnectedQuads( int quad_count, CvCBQuad **quad_group, CvSize pattern_size ) in icvCleanFoundConnectedQuads()
1116 CvCBQuad* q = quad_group[i]; in icvCleanFoundConnectedQuads()
1167 CvCBQuad *q0 = quad_group[min_box_area_index]; in icvCleanFoundConnectedQuads()
1172 CvCBQuad *q = quad_group[i]; in icvCleanFoundConnectedQuads()
1203 icvFindConnectedQuads( CvCBQuad *quad, int quad_count, CvCBQuad **out_group, in icvFindConnectedQuads()
1220 CvCBQuad* q = &quad[i]; in icvFindConnectedQuads()
1231 CvCBQuad *neighbor = q->neighbors[i]; in icvFindConnectedQuads()
1250 icvCheckQuadGroup( CvCBQuad **quad_group, int quad_count, in icvCheckQuadGroup()
1269 CvCBQuad* q = quad_group[i]; in icvCheckQuadGroup()
1507 static void icvFindQuadNeighbors( CvCBQuad *quads, int quad_count ) in icvFindQuadNeighbors()
1516 CvCBQuad* cur_quad = &quads[idx]; in icvFindQuadNeighbors()
1529 CvCBQuad *closest_quad = 0; in icvFindQuadNeighbors()
1609 CvCBQuad* q = &quads[k]; in icvFindQuadNeighbors()
1651 icvGenerateQuads( CvCBQuad **out_quads, CvCBCorner **out_corners, in icvGenerateQuads()
1757 *out_quads = (CvCBQuad*)cvAlloc((root->total+root->total / 2) * sizeof((*out_quads)[0])); in icvGenerateQuads()
1763 CvCBQuad* q = &(*out_quads)[quad_count]; in icvGenerateQuads()