Lines Matching refs:line0
1429 float line[6], line0[6]; member in CV_FitLineTest
1458 line0[k+n] = (float)((low.val[k] + high.val[k])*0.5); in generate_point_set()
1459 line0[k] = (float)(high.val[k] - low.val[k]); in generate_point_set()
1461 line0[k] = -line0[k]; in generate_point_set()
1462 s += (double)line0[k]*line0[k]; in generate_point_set()
1467 line0[k] = (float)(line0[k]*s); in generate_point_set()
1508 p[k] = (float)((cvtest::randReal(rng)-0.5)*max_noise*2 + t*line0[k] + line0[k+n]); in generate_point_set()
1568 if( fabs(line0[1]) > fabs(line0[0]) ) in validate_test_results()
1570 if( fabs(line0[dims-1]) > fabs(line0[max_k]) ) in validate_test_results()
1572 if( line0[max_k] < 0 ) in validate_test_results()
1574 line0[k] = -line0[k]; in validate_test_results()
1581 double dt = line[k] - line0[k]; in validate_test_results()
1590 line[0], line[1], line0[0], line0[1] ); in validate_test_results()
1594 line[0], line[1], line[2], line0[0], line0[1], line0[2] ); in validate_test_results()
1599 t = (line[max_k+dims] - line0[max_k+dims])/line0[max_k]; in validate_test_results()
1602 double p = line0[k+dims] + t*line0[k] - line[k+dims]; in validate_test_results()
1611 line[2]+line0[2], line[3]+line0[3] ); in validate_test_results()
1615 line[3]+line0[3], line[4]+line0[4], line[5]+line0[5] ); in validate_test_results()