Lines Matching full:line
56 float *line, CvSize2D32f size, int flag,
89 assert( points != NULL && line != NULL );
90 if( points == NULL || line == NULL )
107 /* alloc memory for the point's projections on the line */
133 /* find min and max point's projection on the line */
140 icvSubVector_32f ((IppmVect32f )&points[i], (IppmVect32f )&line[3], sub, 3);
142 icvCrossProduct2L_32f ((IppmVect32f )&line[0], sub, cros);
145 sub[0] = points[i].x - line[3];
146 sub[1] = points[i].y - line[4];
147 sub[2] = points[i].z - line[5];
148 a[0] = sub[0] * line[1] - sub[1] * line[0];
149 a[1] = sub[1] * line[2] - sub[2] * line[1];
150 a[2] = sub[2] * line[0] - sub[0] * line[2];
155 value = (float)icvDotProduct_32f( sub, &line[0], 3 );
221 icvScaleVector_32f( &line[0], sub, 3, vc );
222 icvAddVector_32f( &line[3], sub, (float *) center, 3 );
271 float *line, CvSize2D32f size, int jc,
313 assert( points != NULL && line != NULL );
314 if( points == NULL || line == NULL )
327 /* alloc memory for the point's projections on the line */
358 /* find min and max point's projection on the line */
367 icvSubVector_32f ((IppmVect32f )&points[i], (IppmVect32f )&line[3], sub, 3);
369 icvCrossProduct2L_32f ((IppmVect32f )&line[0], sub, cros);
372 sub[0] = points[i].x - line[3];
373 sub[1] = points[i].y - line[4];
374 sub[2] = points[i].z - line[5];
378 a[0] = sub[0] * line[1] - sub[1] * line[0];
379 a[1] = sub[1] * line[2] - sub[2] * line[1];
380 a[2] = sub[2] * line[0] - sub[0] * line[2];
382 v_gor = icvDotProduct_32f( gor, &line[0], 3 );
383 v_ver = icvDotProduct_32f( ver, &line[0], 3 );
395 icvDotProduct_32f( sub, &line[0], 3, &value);
414 value = (float)icvDotProduct_32f( sub, &line[0], 3 );
446 /* compute the length of one bucket along the line */
459 /* compute the number of points in each bucket along the line */
530 icvScaleVector_32f( &line[0], sub, 3, vc );
531 icvAddVector_32f( &line[3], sub, (float *) center, 3 );
580 // line - pointer to the 3D-line
594 float *line, CvSize2D32f size, int flag,
602 IPPI_CALL( icvFindHandRegion( points, count, indexs, line, size, -flag,
606 IPPI_CALL( icvFindHandRegionA( points, count, indexs, line, size, flag,
621 // line - pointer to the 3D-line
634 float *line, CvSize2D32f size, int jc,
640 IPPI_CALL( icvFindHandRegionA( points, count, indexs, line, size, jc,