Home
last modified time | relevance | path

Searched refs:max_dist (Results 1 – 25 of 25) sorted by relevance

/external/autotest/client/site_tests/firmware_TouchMTB/
Dnoise_summary.py125 max_dist = data[DISTANCE_INDEX]
129 if max_dist is None:
130 max_dist = 0
133 dist_val = 5 * (max_dist - CORRECT_MAX_DISTANCE)
156 max_dist = data_dict[freq][DISTANCE_INDEX]
159 if num_fingers is None and max_dist is None:
163 max_dist = '' if max_dist is None else '%s mm' % max_dist
166 (num_fingers, max_dist))
/external/autotest/client/site_tests/firmware_TouchMTB/geometry/
Dtwo_farthest_clusters.py27 max_dist = float('-infinity')
31 if dist > max_dist:
33 max_dist = dist
/external/opencv/cv/src/
Dcvapprox.cpp575 int max_dist = 0; in icvApproxPolyDP_32s() local
589 if( dist > max_dist ) in icvApproxPolyDP_32s()
591 max_dist = dist; in icvApproxPolyDP_32s()
596 le_eps = max_dist <= eps; in icvApproxPolyDP_32s()
630 int dx, dy, dist, max_dist = 0; in icvApproxPolyDP_32s() local
642 if( dist > max_dist ) in icvApproxPolyDP_32s()
644 max_dist = dist; in icvApproxPolyDP_32s()
649 le_eps = (double)max_dist * max_dist <= eps * ((double)dx * dx + (double)dy * dy); in icvApproxPolyDP_32s()
780 double max_dist = 0; in icvApproxPolyDP_32f() local
794 if( dist > max_dist ) in icvApproxPolyDP_32f()
[all …]
Dcvrotcalipers.cpp96 float max_dist = 0; in icvRotatingCalipers() local
259 if( dist > max_dist ) in icvRotatingCalipers()
260 max_dist = dist; in icvRotatingCalipers()
337 out[0] = max_dist; in icvRotatingCalipers()
Dcvshapedescr.cpp181 float max_dist = 0; in icvFindEnslosingCicle4pts_32f() local
195 if( max_dist < dist ) in icvFindEnslosingCicle4pts_32f()
197 max_dist = dist; in icvFindEnslosingCicle4pts_32f()
203 if( max_dist == 0 ) in icvFindEnslosingCicle4pts_32f()
/external/opencv3/modules/calib3d/src/
Dquadsubpix.cpp206 const float max_dist = 10.0f; in find4QuadCornerSubpix() local
207 if(black_order[0].second > max_dist || black_order[1].second > max_dist || in find4QuadCornerSubpix()
208 white_order[0].second > max_dist || white_order[1].second > max_dist) in find4QuadCornerSubpix()
/external/libjpeg-turbo/
Djquant2.c640 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
673 max_dist = tdist*tdist; in find_nearby_colors()
678 max_dist = tdist*tdist; in find_nearby_colors()
684 max_dist = tdist*tdist; in find_nearby_colors()
687 max_dist = tdist*tdist; in find_nearby_colors()
696 max_dist += tdist*tdist; in find_nearby_colors()
701 max_dist += tdist*tdist; in find_nearby_colors()
706 max_dist += tdist*tdist; in find_nearby_colors()
709 max_dist += tdist*tdist; in find_nearby_colors()
718 max_dist += tdist*tdist; in find_nearby_colors()
[all …]
/external/opencv3/3rdparty/libjpeg/
Djquant2.c662 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
695 max_dist = tdist*tdist; in find_nearby_colors()
700 max_dist = tdist*tdist; in find_nearby_colors()
706 max_dist = tdist*tdist; in find_nearby_colors()
709 max_dist = tdist*tdist; in find_nearby_colors()
718 max_dist += tdist*tdist; in find_nearby_colors()
723 max_dist += tdist*tdist; in find_nearby_colors()
728 max_dist += tdist*tdist; in find_nearby_colors()
731 max_dist += tdist*tdist; in find_nearby_colors()
740 max_dist += tdist*tdist; in find_nearby_colors()
[all …]
/external/opencv3/doc/tutorials/features2d/feature_flann_matcher/
Dfeature_flann_matcher.markdown74 double max_dist = 0; double min_dist = 100;
80 if( dist > max_dist ) max_dist = dist;
83 printf("-- Max dist : %f \n", max_dist );
/external/opencv3/doc/tutorials/features2d/feature_homography/
Dfeature_homography.markdown62 double max_dist = 0; double min_dist = 100;
68 if( dist > max_dist ) max_dist = dist;
71 printf("-- Max dist : %f \n", max_dist );
/external/opencv3/modules/imgproc/src/
Dapprox.cpp540 double dist, max_dist = 0; in approxPolyDP_() local
554 if( dist > max_dist ) in approxPolyDP_()
556 max_dist = dist; in approxPolyDP_()
561 le_eps = max_dist <= eps; in approxPolyDP_()
587 double dx, dy, dist, max_dist = 0; in approxPolyDP_() local
599 if( dist > max_dist ) in approxPolyDP_()
601 max_dist = dist; in approxPolyDP_()
606 le_eps = max_dist * max_dist <= eps * (dx * dx + dy * dy); in approxPolyDP_()
Drotcalipers.cpp95 float max_dist = 0; in rotatingCalipers() local
257 if( dist > max_dist ) in rotatingCalipers()
258 max_dist = dist; in rotatingCalipers()
334 out[0] = max_dist; in rotatingCalipers()
Dshapedescr.cpp101 float max_dist = 0; in findEnslosingCicle4pts_32f() local
115 if( max_dist < dist ) in findEnslosingCicle4pts_32f()
117 max_dist = dist; in findEnslosingCicle4pts_32f()
123 if( max_dist > 0 ) in findEnslosingCicle4pts_32f()
/external/opencv3/modules/cudalegacy/src/
Dcalib3d.cpp213 int num_iters, float max_dist, int min_inlier_count, in solvePnPRansac() argument
249 d_object.ptr<float3>(), d_image_normalized.ptr<float2>(), max_dist * max_dist, in solvePnPRansac()
286 if (norm(p_proj - image_normalized.at<Point2f>(0, i)) < max_dist) in solvePnPRansac()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dscreen_finder.py266 max_dist = self.MAX_INTERFRAME_MOTION
267 if cv_util.SqDistance(self._prev_corners[0], point) <= max_dist or \
268 cv_util.SqDistance(self._prev_corners[1], point) <= max_dist or \
269 cv_util.SqDistance(self._prev_corners[2], point) <= max_dist or \
270 cv_util.SqDistance(self._prev_corners[3], point) <= max_dist:
/external/opencv3/modules/core/src/
Dkmeans.cpp373 double max_dist = 0; in kmeans() local
389 if( max_dist <= dist ) in kmeans()
391 max_dist = dist; in kmeans()
/external/opencv3/modules/photo/src/
Dfast_nlmeans_denoising_invoker.hpp132 int max_dist = D::template maxDist<T>(); in FastNlMeansDenoisingInvoker() local
133 int almost_max_dist = (int)(max_dist / almost_dist2actual_dist_multiplier + 1); in FastNlMeansDenoisingInvoker()
Dfast_nlmeans_multi_denoising_invoker.hpp143 int max_dist = D::template maxDist<T>(); in FastNlMeansMultiDenoisingInvoker() local
144 int almost_max_dist = (int)(max_dist / almost_dist2actual_dist_multiplier + 1); in FastNlMeansMultiDenoisingInvoker()
/external/opencv/cxcore/src/
Dcxutils.cpp63 double max_dist; in cvKMeans2() local
103 max_dist = termcrit.epsilon*2; in cvKMeans2()
136 max_dist = 0; in cvKMeans2()
164 if( max_dist < dist ) in cvKMeans2()
165 max_dist = dist; in cvKMeans2()
208 if( max_dist < termcrit.epsilon ) in cvKMeans2()
/external/opencv/ml/src/
Dmlem.cpp587 double max_dist = DBL_MAX; in kmeans() local
689 max_dist = 0; in kmeans()
723 if( max_dist < dist ) in kmeans()
724 max_dist = dist; in kmeans()
728 if( max_dist < termcrit.epsilon ) in kmeans()
/external/opencv3/modules/cudalegacy/include/opencv2/
Dcudalegacy.hpp283 int num_iters=100, float max_dist=8.0, int min_inlier_count=100,
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_state.c1641 uint32_t max_dist, num_regs, *sample_locs; in cayman_set_ms_pos() local
1647 max_dist = max_dist_2x; in cayman_set_ms_pos()
1652 max_dist = max_dist_4x; in cayman_set_ms_pos()
1657 max_dist = max_dist_8x; in cayman_set_ms_pos()
1662 max_dist = max_dist_16x; in cayman_set_ms_pos()
1689 return max_dist; in cayman_set_ms_pos()
1839 unsigned max_dist = cayman_set_ms_pos(ctx, rstate, nr_samples); in evergreen_set_framebuffer_state() local
1844 S_028BE0_MAX_SAMPLE_DIST(max_dist) | in evergreen_set_framebuffer_state()
1854 unsigned max_dist = evergreen_set_ms_pos(ctx, rstate, nr_samples); in evergreen_set_framebuffer_state() local
1859 S_028C04_MAX_SAMPLE_DIST(max_dist)); in evergreen_set_framebuffer_state()
Dr600_state.c1588 uint32_t tl, br, i, nr_samples, max_dist; in r600_set_framebuffer_state() local
1721 max_dist = r600_set_ms_pos(ctx, rstate, nr_samples); in r600_set_framebuffer_state()
1731 S_028C04_MAX_SAMPLE_DIST(max_dist)); in r600_set_framebuffer_state()
/external/opencv3/modules/calib3d/test/
Dtest_homography.cpp652 double max_dist = 0; double min_dist = 100; in TEST() local
658 if( dist > max_dist ) max_dist = dist; in TEST()
/external/opencv3/samples/gpu/performance/
Dtests.cpp903 const float max_dist = 2.0f; in TEST() local
908 max_dist, int(num_points * 0.05), inliers_cpu); in TEST()
913 max_dist, int(num_points * 0.05), &inliers_gpu); in TEST()