randReal 159 modules/calib3d/test/test_cameracalibration.cpp r[0] = cvtest::randReal(rng)*CV_PI*2; randReal 160 modules/calib3d/test/test_cameracalibration.cpp r[1] = cvtest::randReal(rng)*CV_PI*2; randReal 161 modules/calib3d/test/test_cameracalibration.cpp r[2] = cvtest::randReal(rng)*CV_PI*2; randReal 228 modules/calib3d/test/test_cornerssubpix.cpp double fx = cvtest::randReal(rng)*max_focus_length; randReal 229 modules/calib3d/test/test_cornerssubpix.cpp double fy = fx + cvtest::randReal(rng)*max_focus_diff; randReal 233 modules/calib3d/test/test_cornerssubpix.cpp double k1 = 0.5*cvtest::randReal(rng); randReal 234 modules/calib3d/test/test_cornerssubpix.cpp double k2 = 0.05*cvtest::randReal(rng); randReal 235 modules/calib3d/test/test_cornerssubpix.cpp double p1 = 0.05*cvtest::randReal(rng); randReal 236 modules/calib3d/test/test_cornerssubpix.cpp double p2 = 0.05*cvtest::randReal(rng); randReal 631 modules/calib3d/test/test_fundam.cpp r[0] = cvtest::randReal(rng)*CV_PI*2; randReal 632 modules/calib3d/test/test_fundam.cpp r[1] = cvtest::randReal(rng)*CV_PI*2; randReal 633 modules/calib3d/test/test_fundam.cpp r[2] = cvtest::randReal(rng)*CV_PI*2; randReal 833 modules/calib3d/test/test_fundam.cpp double pt_count_exp = cvtest::randReal(rng)*6 + 1; randReal 918 modules/calib3d/test/test_fundam.cpp p[i] = cvtest::randReal(rng)*cube_size; randReal 919 modules/calib3d/test/test_fundam.cpp p[i+1] = cvtest::randReal(rng)*cube_size; randReal 920 modules/calib3d/test/test_fundam.cpp p[i+2] = cvtest::randReal(rng)*cube_size + cube_size; randReal 929 modules/calib3d/test/test_fundam.cpp r[0] = cvtest::randReal(rng)*CV_PI*2; randReal 930 modules/calib3d/test/test_fundam.cpp r[1] = cvtest::randReal(rng)*CV_PI*2; randReal 931 modules/calib3d/test/test_fundam.cpp r[2] = cvtest::randReal(rng)*CV_PI*2; randReal 934 modules/calib3d/test/test_fundam.cpp t[3] = cvtest::randReal(rng)*cube_size; randReal 935 modules/calib3d/test/test_fundam.cpp t[7] = cvtest::randReal(rng)*cube_size; randReal 936 modules/calib3d/test/test_fundam.cpp t[11] = cvtest::randReal(rng)*cube_size; randReal 942 modules/calib3d/test/test_fundam.cpp t[0] = t[4] = cvtest::randReal(rng)*(max_f - min_f) + min_f; randReal 943 modules/calib3d/test/test_fundam.cpp t[2] = (img_size*0.5 + cvtest::randReal(rng)*4. - 2.)*t[0]; randReal 944 modules/calib3d/test/test_fundam.cpp t[5] = (img_size*0.5 + cvtest::randReal(rng)*4. - 2.)*t[4]; randReal 1132 modules/calib3d/test/test_fundam.cpp double pt_count_exp = cvtest::randReal(rng)*6 + 1; randReal 1218 modules/calib3d/test/test_fundam.cpp p[i] = cvtest::randReal(rng)*cube_size; randReal 1219 modules/calib3d/test/test_fundam.cpp p[i+1] = cvtest::randReal(rng)*cube_size; randReal 1220 modules/calib3d/test/test_fundam.cpp p[i+2] = cvtest::randReal(rng)*cube_size + cube_size; randReal 1229 modules/calib3d/test/test_fundam.cpp r[0] = cvtest::randReal(rng)*CV_PI*2; randReal 1230 modules/calib3d/test/test_fundam.cpp r[1] = cvtest::randReal(rng)*CV_PI*2; randReal 1231 modules/calib3d/test/test_fundam.cpp r[2] = cvtest::randReal(rng)*CV_PI*2; randReal 1234 modules/calib3d/test/test_fundam.cpp t[3] = cvtest::randReal(rng)*cube_size; randReal 1235 modules/calib3d/test/test_fundam.cpp t[7] = cvtest::randReal(rng)*cube_size; randReal 1236 modules/calib3d/test/test_fundam.cpp t[11] = cvtest::randReal(rng)*cube_size; randReal 1241 modules/calib3d/test/test_fundam.cpp t[0] = t[4] = cvtest::randReal(rng)*(max_f - min_f) + min_f; randReal 1242 modules/calib3d/test/test_fundam.cpp t[2] = (img_size*0.5 + cvtest::randReal(rng)*4. - 2.)*t[0]; randReal 1243 modules/calib3d/test/test_fundam.cpp t[5] = (img_size*0.5 + cvtest::randReal(rng)*4. - 2.)*t[4]; randReal 1461 modules/calib3d/test/test_fundam.cpp double pt_count_exp = cvtest::randReal(rng)*6 + 1; randReal 1597 modules/calib3d/test/test_fundam.cpp double pt_count_exp = cvtest::randReal(rng)*6; randReal 258 modules/calib3d/test/test_homography.cpp src_data[2*i] = (float)cvtest::randReal(rng)*image_size; randReal 259 modules/calib3d/test/test_homography.cpp src_data[2*i+1] = (float)cvtest::randReal(rng)*image_size; randReal 279 modules/calib3d/test/test_homography.cpp double fi = cvtest::randReal(rng)*2*CV_PI; randReal 281 modules/calib3d/test/test_homography.cpp double t_x = cvtest::randReal(rng)*sqrt(image_size*1.0), randReal 282 modules/calib3d/test/test_homography.cpp t_y = cvtest::randReal(rng)*sqrt(image_size*1.0); randReal 197 modules/calib3d/test/test_modelest.cpp double startWeight = cvtest::randReal(rng); randReal 131 modules/calib3d/test/test_posit.cpp angleX = (float)(cvtest::randReal(rng)*2*CV_PI); randReal 132 modules/calib3d/test/test_posit.cpp angleY = (float)(cvtest::randReal(rng)*2*CV_PI); randReal 133 modules/calib3d/test/test_posit.cpp angleZ = (float)(cvtest::randReal(rng)*2*CV_PI); randReal 157 modules/calib3d/test/test_posit.cpp true_translation->data.fl[2] = (float)(cvtest::randReal(rng)*(2*flFocalLength-40) + 60); randReal 158 modules/calib3d/test/test_posit.cpp true_translation->data.fl[0] = (float)((cvtest::randReal(rng)*2-1)*true_translation->data.fl[2]); randReal 159 modules/calib3d/test/test_posit.cpp true_translation->data.fl[1] = (float)((cvtest::randReal(rng)*2-1)*true_translation->data.fl[2]); randReal 107 modules/calib3d/test/test_undistort.cpp double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; randReal 110 modules/calib3d/test/test_undistort.cpp a[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 111 modules/calib3d/test/test_undistort.cpp a[5] = (img_size.height - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 112 modules/calib3d/test/test_undistort.cpp a[0] = sz/(0.9 - cvtest::randReal(rng)*0.6); randReal 286 modules/calib3d/test/test_undistort.cpp points[i].x = cvtest::randReal(rng)*img_size.width; randReal 287 modules/calib3d/test/test_undistort.cpp points[i].y = cvtest::randReal(rng)*img_size.height; randReal 292 modules/calib3d/test/test_undistort.cpp double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; randReal 293 modules/calib3d/test/test_undistort.cpp cam[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 294 modules/calib3d/test/test_undistort.cpp cam[5] = (img_size.height - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 295 modules/calib3d/test/test_undistort.cpp cam[0] = sz/(0.9 - cvtest::randReal(rng)*0.6); randReal 299 modules/calib3d/test/test_undistort.cpp dist[0] = cvtest::randReal(rng)*0.06 - 0.03; randReal 300 modules/calib3d/test/test_undistort.cpp dist[1] = cvtest::randReal(rng)*0.06 - 0.03; randReal 305 modules/calib3d/test/test_undistort.cpp dist[2] = cvtest::randReal(rng)*0.004 - 0.002; randReal 306 modules/calib3d/test/test_undistort.cpp dist[3] = cvtest::randReal(rng)*0.004 - 0.002; randReal 308 modules/calib3d/test/test_undistort.cpp dist[4] = cvtest::randReal(rng)*0.004 - 0.002; randReal 328 modules/calib3d/test/test_undistort.cpp proj[0] = cam[0] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[0]; //10% randReal 329 modules/calib3d/test/test_undistort.cpp proj[4] = cam[4] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[4]; //10% randReal 330 modules/calib3d/test/test_undistort.cpp proj[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% randReal 331 modules/calib3d/test/test_undistort.cpp proj[5] = cam[5] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.height; //15% randReal 337 modules/calib3d/test/test_undistort.cpp proj[0] = cam[0] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[0]; //10% randReal 338 modules/calib3d/test/test_undistort.cpp proj[5] = cam[4] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[4]; //10% randReal 339 modules/calib3d/test/test_undistort.cpp proj[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% randReal 340 modules/calib3d/test/test_undistort.cpp proj[6] = cam[5] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.height; //15% randReal 342 modules/calib3d/test/test_undistort.cpp proj[3] = (img_size.height + img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 343 modules/calib3d/test/test_undistort.cpp proj[7] = (img_size.height + img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 344 modules/calib3d/test/test_undistort.cpp proj[11] = (img_size.height + img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 350 modules/calib3d/test/test_undistort.cpp rotation.at<double>(0) = CV_PI*(cvtest::randReal(rng) - (double)0.5); // phi randReal 351 modules/calib3d/test/test_undistort.cpp rotation.at<double>(1) = CV_PI*(cvtest::randReal(rng) - (double)0.5); // ksi randReal 352 modules/calib3d/test/test_undistort.cpp rotation.at<double>(2) = CV_PI*(cvtest::randReal(rng) - (double)0.5); //khi randReal 710 modules/calib3d/test/test_undistort.cpp points[i].x = cvtest::randReal(rng)*img_size.width; randReal 711 modules/calib3d/test/test_undistort.cpp points[i].y = cvtest::randReal(rng)*img_size.height; randReal 716 modules/calib3d/test/test_undistort.cpp double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; randReal 717 modules/calib3d/test/test_undistort.cpp cam[2] = (img_size.width - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 718 modules/calib3d/test/test_undistort.cpp cam[5] = (img_size.height - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 719 modules/calib3d/test/test_undistort.cpp cam[0] = sz/(0.9 - cvtest::randReal(rng)*0.6); randReal 723 modules/calib3d/test/test_undistort.cpp dist[0] = cvtest::randReal(rng)*0.06 - 0.03; randReal 724 modules/calib3d/test/test_undistort.cpp dist[1] = cvtest::randReal(rng)*0.06 - 0.03; randReal 729 modules/calib3d/test/test_undistort.cpp dist[2] = cvtest::randReal(rng)*0.004 - 0.002; randReal 730 modules/calib3d/test/test_undistort.cpp dist[3] = cvtest::randReal(rng)*0.004 - 0.002; randReal 732 modules/calib3d/test/test_undistort.cpp dist[4] = cvtest::randReal(rng)*0.004 - 0.002; randReal 750 modules/calib3d/test/test_undistort.cpp new_cam[0] = cam[0] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[0]; //10% randReal 751 modules/calib3d/test/test_undistort.cpp new_cam[4] = cam[4] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[4]; //10% randReal 752 modules/calib3d/test/test_undistort.cpp new_cam[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% randReal 753 modules/calib3d/test/test_undistort.cpp new_cam[5] = cam[5] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.height; //15% randReal 759 modules/calib3d/test/test_undistort.cpp rotation.at<double>(0) = CV_PI/8*(cvtest::randReal(rng) - (double)0.5); // phi randReal 760 modules/calib3d/test/test_undistort.cpp rotation.at<double>(1) = CV_PI/8*(cvtest::randReal(rng) - (double)0.5); // ksi randReal 761 modules/calib3d/test/test_undistort.cpp rotation.at<double>(2) = CV_PI/3*(cvtest::randReal(rng) - (double)0.5); //khi randReal 534 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_elem_size - min_log_elem_size) + min_log_elem_size; randReal 998 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_storage_block_size - min_log_storage_block_size) randReal 1086 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_storage_block_size - min_log_storage_block_size) randReal 1384 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_storage_block_size - min_log_storage_block_size) + min_log_storage_block_size; randReal 1389 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_elem_size - min_log_elem_size) + min_log_elem_size; randReal 1808 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_storage_block_size - min_log_storage_block_size) + min_log_storage_block_size; randReal 1820 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_elem_size - min_log_elem_size) + min_log_elem_size; randReal 1925 modules/core/test/test_ds.cpp t = cvtest::randReal(rng)*(max_log_storage_block_size - min_log_storage_block_size) + min_log_storage_block_size; randReal 17 modules/core/test/test_io.cpp double val = cvtest::randReal(rng)*(b - a) + a; randReal 111 modules/core/test/test_io.cpp double test_real = (cvtest::randInt(rng)%2?1:-1)*exp(cvtest::randReal(rng)*18-9); randReal 113 modules/core/test/test_math.cpp power = i == 16 ? 1./3 : i == 15 ? 0.5 : i == 14 ? -0.5 : cvtest::randReal(rng)*10 - 5; randReal 2243 modules/core/test/test_math.cpp r[j++] = cvtest::randReal(rng) * range; randReal 2246 modules/core/test/test_math.cpp r[j] = complex_type(cvtest::randReal(rng) * range, randReal 2247 modules/core/test/test_math.cpp cvtest::randReal(rng) * range + 1); randReal 94 modules/imgproc/test/test_canny.cpp threshold1 = cvtest::randReal(rng)*thresh_range; randReal 95 modules/imgproc/test/test_canny.cpp threshold2 = cvtest::randReal(rng)*thresh_range*0.3; randReal 216 modules/imgproc/test/test_contours.cpp blob_count = cvRound(exp(cvtest::randReal(rng)*max_log_blob_count*CV_LOG2)); randReal 218 modules/imgproc/test/test_contours.cpp img_size.width = cvRound(exp((cvtest::randReal(rng)* randReal 220 modules/imgproc/test/test_contours.cpp img_size.height = cvRound(exp((cvtest::randReal(rng)* randReal 326 modules/imgproc/test/test_convhull.cpp pi[k] = cvRound(cvtest::randReal(rng)*a[k] + b[k]); randReal 329 modules/imgproc/test/test_convhull.cpp pf[k] = (float)(cvtest::randReal(rng)*a[k] + b[k]); randReal 345 modules/imgproc/test/test_convhull.cpp size = cvRound( exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2) ); randReal 369 modules/imgproc/test/test_convhull.cpp low.val[i] = (cvtest::randReal(rng)-0.5)*low_high_range*2; randReal 370 modules/imgproc/test/test_convhull.cpp high.val[i] = (cvtest::randReal(rng)-0.5)*low_high_range*2; randReal 1169 modules/imgproc/test/test_convhull.cpp box0.angle = (float)(cvtest::randReal(rng)*180); randReal 1202 modules/imgproc/test/test_convhull.cpp double angle = cvtest::randReal(rng)*CV_PI*2; randReal 1203 modules/imgproc/test/test_convhull.cpp double x = box0.size.height*0.5*(cos(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); randReal 1204 modules/imgproc/test/test_convhull.cpp double y = box0.size.width*0.5*(sin(angle) + (cvtest::randReal(rng)-0.5)*2*max_noise); randReal 1504 modules/imgproc/test/test_convhull.cpp t = (float)((cvtest::randReal(rng)-0.5)*low_high_range*2); randReal 1508 modules/imgproc/test/test_convhull.cpp p[k] = (float)((cvtest::randReal(rng)-0.5)*max_noise*2 + t*line0[k] + line0[k+n]); randReal 1672 modules/imgproc/test/test_convhull.cpp double t = cvtest::randReal(rng)*max_r_scale + (1 - max_r_scale); randReal 1734 modules/imgproc/test/test_convhull.cpp axes.width = (float)((cvtest::randReal(rng)*0.9 + 0.1)*low_high_range); randReal 1735 modules/imgproc/test/test_convhull.cpp axes.height = (float)((cvtest::randReal(rng)*0.9 + 0.1)*low_high_range); randReal 1740 modules/imgproc/test/test_convhull.cpp center.x = (float)(img_size.width*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.width - max_sz*2)*0.8); randReal 1741 modules/imgproc/test/test_convhull.cpp center.y = (float)(img_size.height*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.height - max_sz*2)*0.8); randReal 1746 modules/imgproc/test/test_convhull.cpp max_r_scale = cvtest::randReal(rng)*max_max_r_scale*0.01; randReal 1747 modules/imgproc/test/test_convhull.cpp angle = cvtest::randReal(rng)*360; randReal 103 modules/imgproc/test/test_filter.cpp double val = exp( cvtest::randReal(rng)*10 - 4 ); randReal 762 modules/imgproc/test/test_filter.cpp sigma = exp(cvtest::randReal(rng)*5-2); randReal 141 modules/imgproc/test/test_floodfill.cpp new_val.val[i] = cvtest::randReal(rng)*255; randReal 145 modules/imgproc/test/test_histograms.cpp hist_size = exp(cvtest::randReal(rng)*max_log_size*CV_LOG2); randReal 160 modules/imgproc/test/test_histograms.cpp img_size.width = cvRound( exp(cvtest::randReal(rng) * img_max_log_size * CV_LOG2) ); randReal 161 modules/imgproc/test/test_histograms.cpp img_size.height = cvRound( exp(cvtest::randReal(rng) * img_max_log_size * CV_LOG2) ); randReal 271 modules/imgproc/test/test_histograms.cpp cvSetRealND(arr, idx, cvtest::randReal(rng)*gen_hist_max_val); randReal 618 modules/imgproc/test/test_histograms.cpp min_val0 = (float)(-cvtest::randReal(rng)*10 - FLT_EPSILON); randReal 619 modules/imgproc/test/test_histograms.cpp max_val0 = (float)(cvtest::randReal(rng)*10 + FLT_EPSILON + gen_hist_max_val); randReal 717 modules/imgproc/test/test_histograms.cpp factor = cvtest::randReal(rng)*10 + 0.1; randReal 839 modules/imgproc/test/test_histograms.cpp threshold = cvtest::randReal(rng)*gen_hist_max_val; randReal 1426 modules/imgproc/test/test_histograms.cpp double val = cvtest::randReal(rng)*(high - low) + low; randReal 1654 modules/imgproc/test/test_histograms.cpp double val = cvtest::randReal(rng)*(high - low) + low; randReal 522 modules/imgproc/test/test_imgwarp.cpp center.x = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.cols); randReal 523 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); randReal 524 modules/imgproc/test/test_imgwarp.cpp angle = cvtest::randReal(rng)*360; randReal 764 modules/imgproc/test/test_imgwarp.cpp double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; randReal 765 modules/imgproc/test/test_imgwarp.cpp a[2] = (src.cols - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 766 modules/imgproc/test/test_imgwarp.cpp a[5] = (src.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 767 modules/imgproc/test/test_imgwarp.cpp a[0] = sz/(0.9 - cvtest::randReal(rng)*0.6); randReal 769 modules/imgproc/test/test_imgwarp.cpp k[0] = cvtest::randReal(rng)*0.06 - 0.03; randReal 770 modules/imgproc/test/test_imgwarp.cpp k[1] = cvtest::randReal(rng)*0.06 - 0.03; randReal 773 modules/imgproc/test/test_imgwarp.cpp k[2] = cvtest::randReal(rng)*0.004 - 0.002; randReal 774 modules/imgproc/test/test_imgwarp.cpp k[3] = cvtest::randReal(rng)*0.004 - 0.002; randReal 904 modules/imgproc/test/test_imgwarp.cpp double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; randReal 905 modules/imgproc/test/test_imgwarp.cpp a[2] = (src.cols - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 906 modules/imgproc/test/test_imgwarp.cpp a[5] = (src.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 907 modules/imgproc/test/test_imgwarp.cpp a[0] = sz/(0.9 - cvtest::randReal(rng)*0.6); randReal 909 modules/imgproc/test/test_imgwarp.cpp k[0] = cvtest::randReal(rng)*0.06 - 0.03; randReal 910 modules/imgproc/test/test_imgwarp.cpp k[1] = cvtest::randReal(rng)*0.06 - 0.03; randReal 915 modules/imgproc/test/test_imgwarp.cpp k[2] = cvtest::randReal(rng)*0.004 - 0.002; randReal 916 modules/imgproc/test/test_imgwarp.cpp k[3] = cvtest::randReal(rng)*0.004 - 0.002; randReal 921 modules/imgproc/test/test_imgwarp.cpp new_cam[0] = a[0] + (cvtest::randReal(rng) - (double)0.5)*0.2*a[0]; //10% randReal 922 modules/imgproc/test/test_imgwarp.cpp new_cam[4] = a[4] + (cvtest::randReal(rng) - (double)0.5)*0.2*a[4]; //10% randReal 923 modules/imgproc/test/test_imgwarp.cpp new_cam[2] = a[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*test_mat[INPUT][0].rows; //15% randReal 924 modules/imgproc/test/test_imgwarp.cpp new_cam[5] = a[5] + (cvtest::randReal(rng) - (double)0.5)*0.3*test_mat[INPUT][0].cols; //15% randReal 1057 modules/imgproc/test/test_imgwarp.cpp double aspect_ratio = cvtest::randReal(rng)*0.6 + 0.7; randReal 1058 modules/imgproc/test/test_imgwarp.cpp a[2] = (mapx.cols - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 1059 modules/imgproc/test/test_imgwarp.cpp a[5] = (mapx.rows - 1)*0.5 + cvtest::randReal(rng)*10 - 5; randReal 1060 modules/imgproc/test/test_imgwarp.cpp a[0] = sz/(0.9 - cvtest::randReal(rng)*0.6); randReal 1062 modules/imgproc/test/test_imgwarp.cpp k[0] = cvtest::randReal(rng)*0.06 - 0.03; randReal 1063 modules/imgproc/test/test_imgwarp.cpp k[1] = cvtest::randReal(rng)*0.06 - 0.03; randReal 1066 modules/imgproc/test/test_imgwarp.cpp k[2] = cvtest::randReal(rng)*0.004 - 0.002; randReal 1067 modules/imgproc/test/test_imgwarp.cpp k[3] = cvtest::randReal(rng)*0.004 - 0.002; randReal 1179 modules/imgproc/test/test_imgwarp.cpp dst_size.width = cvRound(sqrt(cvtest::randReal(rng)*src_size.width) + 1); randReal 1180 modules/imgproc/test/test_imgwarp.cpp dst_size.height = cvRound(sqrt(cvtest::randReal(rng)*src_size.height) + 1); randReal 1185 modules/imgproc/test/test_imgwarp.cpp center.x = (float)(cvtest::randReal(rng)*src_size.width); randReal 1186 modules/imgproc/test/test_imgwarp.cpp center.y = (float)(cvtest::randReal(rng)*src_size.height); randReal 1290 modules/imgproc/test/test_imgwarp.cpp dsz.width = cvRound(sqrt(cvtest::randReal(rng)*msz) + 1); randReal 1291 modules/imgproc/test/test_imgwarp.cpp dsz.height = cvRound(sqrt(cvtest::randReal(rng)*msz) + 1); randReal 1332 modules/imgproc/test/test_imgwarp.cpp center.x = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.cols); randReal 1333 modules/imgproc/test/test_imgwarp.cpp center.y = (float)((cvtest::randReal(rng)*1.2 - 0.1)*src.rows); randReal 1334 modules/imgproc/test/test_imgwarp.cpp angle = cvtest::randReal(rng)*360; randReal 1335 modules/imgproc/test/test_imgwarp.cpp scale = cvtest::randReal(rng)*0.2 + 0.9; randReal 87 modules/imgproc/test/test_thresh.cpp thresh_val = (float)(cvtest::randReal(rng)*350. - 50.); randReal 88 modules/imgproc/test/test_thresh.cpp max_val = (float)(cvtest::randReal(rng)*350. - 50.); randReal 96 modules/imgproc/test/test_thresh.cpp thresh_val = (float)(cvtest::randReal(rng)*(max_val - min_val) + min_val); randReal 97 modules/imgproc/test/test_thresh.cpp max_val = (float)(cvtest::randReal(rng)*(max_val - min_val) + min_val); randReal 103 modules/imgproc/test/test_thresh.cpp thresh_val = (float)(cvtest::randReal(rng)*1000. - 500.); randReal 104 modules/imgproc/test/test_thresh.cpp max_val = (float)(cvtest::randReal(rng)*1000. - 500.); randReal 109 modules/ts/src/ts_arrtest.cpp val = randReal(rng) * (max_log_array_size - min_log_array_size) + min_log_array_size; randReal 111 modules/ts/src/ts_arrtest.cpp val = randReal(rng) * (max_log_array_size - min_log_array_size) + min_log_array_size; randReal 528 modules/ts/src/ts_func.cpp double val = randReal(rng)*scale[k] + delta[k]; randReal 88 modules/video/test/test_accum.cpp alpha = cvtest::randReal(rng); randReal 161 modules/video/test/test_camshift.cpp box0.size.width = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); randReal 162 modules/video/test/test_camshift.cpp box0.size.height = (float)exp((cvtest::randReal(rng) * (max_log_size - min_log_size) + min_log_size)*CV_LOG2); randReal 163 modules/video/test/test_camshift.cpp box0.angle = (float)(cvtest::randReal(rng)*180.); randReal 172 modules/video/test/test_camshift.cpp img_size.width = cvRound(cvtest::randReal(rng)*m*0.5 + m + 1); randReal 173 modules/video/test/test_camshift.cpp img_size.height = cvRound(cvtest::randReal(rng)*m*0.5 + m + 1); randReal 177 modules/video/test/test_camshift.cpp box0.center.x = (float)(img_size.width*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.width - m)); randReal 178 modules/video/test/test_camshift.cpp box0.center.y = (float)(img_size.height*0.5 + (cvtest::randReal(rng)-0.5)*(img_size.height - m)); randReal 242 modules/video/test/test_camshift.cpp init_rect.x = cvFloor(box0.center.x - m*(0.45 + cvtest::randReal(rng)*0.2)); randReal 243 modules/video/test/test_camshift.cpp init_rect.y = cvFloor(box0.center.y - m*(0.45 + cvtest::randReal(rng)*0.2)); randReal 244 modules/video/test/test_camshift.cpp init_rect.width = cvCeil(box0.center.x + m*(0.45 + cvtest::randReal(rng)*0.2) - init_rect.x); randReal 245 modules/video/test/test_camshift.cpp init_rect.height = cvCeil(box0.center.y + m*(0.45 + cvtest::randReal(rng)*0.2) - init_rect.y); randReal 409 modules/video/test/test_camshift.cpp init_rect.x = cvFloor(box0.center.x - m*(0.4 + cvtest::randReal(rng)*0.2)); randReal 410 modules/video/test/test_camshift.cpp init_rect.y = cvFloor(box0.center.y - m*(0.4 + cvtest::randReal(rng)*0.2)); randReal 411 modules/video/test/test_camshift.cpp init_rect.width = cvCeil(box0.center.x + m*(0.4 + cvtest::randReal(rng)*0.2) - init_rect.x); randReal 412 modules/video/test/test_camshift.cpp init_rect.height = cvCeil(box0.center.y + m*(0.4 + cvtest::randReal(rng)*0.2) - init_rect.y); randReal 106 modules/video/test/test_kalman.cpp Temp->data.fl[j]= (float)(t+(cvtest::randReal(rng)*2-1)*max_noise);