Searched refs:theta0 (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/calib3d/test/ |
D | test_fundam.cpp | 627 double r[3], theta0, theta1, f; in fill_array() local 635 theta0 = sqrt(r[0]*r[0] + r[1]*r[1] + r[2]*r[2]); in fill_array() 636 theta1 = fmod(theta0, CV_PI*2); in fill_array() 641 f = theta1/(theta0 ? theta0 : 1); in fill_array() 718 double theta0, theta1; in prepare_to_validation() local 731 theta0 = norm( vec2, CV_L2 ); in prepare_to_validation() 732 theta1 = fmod( theta0, CV_PI*2 ); in prepare_to_validation() 736 vec2 *= theta1/(theta0 ? theta0 : 1); in prepare_to_validation()
|
D | test_cameracalibration.cpp | 155 double r[3], theta0, theta1, f; 163 theta0 = sqrt(r[0]*r[0] + r[1]*r[1] + r[2]*r[2]); 164 theta1 = fmod(theta0, CV_PI*2); 169 f = theta1/(theta0 ? theta0 : 1); 205 double theta0, theta1; 218 theta0 = cvtest::norm( cvarrtomat(vec2), 0, CV_L2 ); 219 theta1 = fmod( theta0, CV_PI*2 ); 223 cvScale( vec2, vec2, theta1/(theta0 ? theta0 : 1) );
|