Home | History | Annotate | Download | only in src

Lines Matching refs:weights

46 icvFitLine2D_wods( CvPoint2D32f * points, int _count, float *weights, float *line )
56 if( weights == 0 )
72 x += weights[i] * points[i].x;
73 y += weights[i] * points[i].y;
74 x2 += weights[i] * points[i].x * points[i].x;
75 y2 += weights[i] * points[i].y * points[i].y;
76 xy += weights[i] * points[i].x * points[i].y;
77 w += weights[i];
102 icvFitLine3D_wods( CvPoint3D32f * points, int count, float *weights, float *line )
116 if( weights )
123 float w = weights[i];
345 float *w; /* weights */
439 /* calculate weights */
494 float *w; /* weights */
595 /* calculate weights */