Lines Matching refs:center
135 CvPoint2D32f pt2, CvPoint2D32f * center, float *radius )
151 center->x = (float) (x2 + dx2 * t);
152 center->y = (float) (y2 + dy2 * t);
153 *radius = (float) icvDistanceL2_32f( *center, pt0 );
157 center->x = center->y = 0.f;
166 CV_INLINE double icvIsPtInCircle( CvPoint2D32f pt, CvPoint2D32f center, float radius )
168 double dx = pt.x - center.x;
169 double dy = pt.y - center.y;
182 CvPoint2D32f center;
187 center = min_center = pts[0];
216 center = cvPoint2D32f( (pts[idxs[0]].x + pts[idxs[1]].x)*0.5f,
218 radius = (float)(icvDistanceL2_32f( pts[idxs[0]], center )*1.03);
222 if( icvIsPtInCircle( pts[idxs[2]], center, radius ) >= 0 &&
223 icvIsPtInCircle( pts[idxs[3]], center, radius ) >= 0 )
233 pts[shuffles[i][2]], ¢er, &radius ) >= 0 )
239 if( icvIsPtInCircle( pts[shuffles[i][3]], center, radius ) >= 0 &&
243 min_center = center;
252 center = min_center;
260 *_center = center;
270 assert( icvIsPtInCircle( pts[i], center, radius ) >= 0 );
282 CvPoint2D32f center = { 0, 0 };
304 CV_ERROR( CV_StsNullPtr, "Null center or radius pointers" );
386 icvFindEnslosingCicle4pts_32f( pts, ¢er, &radius );
402 delta = icvIsPtInCircle( ptfl, center, radius );
435 dx = center.x - ptfl.x;
436 dy = center.y - ptfl.y;
447 *_center = center;
883 box->center.x = box->center.y =
901 1) find center of ellipse
915 box->center.x = (float)offx;
916 box->center.y = (float)offy;
931 // recover center
932 box->center.x = (float)(x0 + offx);
933 box->center.y = (float)(y0 + offy);
1053 // now use general-form parameters A - E to find the ellipse center:
1065 // re-fit for parameters A - C with those center coordinates
1101 box.center.x = (float)rp[0];
1102 box.center.y = (float)rp[1];