Home
last modified time | relevance | path

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

12

/external/opencv3/modules/imgproc/test/
Dtest_distancetransform.cpp239 float min_dist = init_val; in cvTsDistTransform() local
243 if( min_dist > t ) in cvTsDistTransform()
244 min_dist = t; in cvTsDistTransform()
246 tmp[j] = min_dist; in cvTsDistTransform()
258 float min_dist = tmp[j]; in cvTsDistTransform() local
259 if( min_dist > mask[0] ) in cvTsDistTransform()
264 if( min_dist > t ) in cvTsDistTransform()
265 min_dist = t; in cvTsDistTransform()
267 tmp[j] = min_dist; in cvTsDistTransform()
269 d[j] = min_dist; in cvTsDistTransform()
/external/opencv3/doc/tutorials/features2d/feature_flann_matcher/
Dfeature_flann_matcher.markdown74 double max_dist = 0; double min_dist = 100;
79 if( dist < min_dist ) min_dist = dist;
84 printf("-- Min dist : %f \n", min_dist );
86 //-- Draw only "good" matches (i.e. whose distance is less than 2*min_dist,
87 //-- or a small arbitary value ( 0.02 ) in the event that min_dist is very
93 { if( matches[i].distance <= max(2*min_dist, 0.02) )
/external/opencv3/modules/calib3d/src/
Dquadsubpix.cpp64 double min_dist = std::numeric_limits<double>::max(); in orderContours() local
68 min_dist = MIN(min_dist, dist); in orderContours()
70 order.push_back(std::pair<int, float>((int)i, (float)min_dist)); in orderContours()
98 double min_dist = std::numeric_limits<double>::max(); in findCorner() local
105 if(dist < min_dist) in findCorner()
107 min_dist = dist; in findCorner()
Dcalibinit.cpp1527 float min_dist = FLT_MAX; in icvFindQuadNeighbors() local
1552 if( dist < min_dist && in icvFindQuadNeighbors()
1567 min_dist = dist; in icvFindQuadNeighbors()
1573 if( closest_corner_idx >= 0 && min_dist < FLT_MAX ) in icvFindQuadNeighbors()
1589 if( dx * dx + dy * dy < min_dist ) in icvFindQuadNeighbors()
1619 if( dist < min_dist ) in icvFindQuadNeighbors()
/external/opencv3/doc/tutorials/features2d/feature_homography/
Dfeature_homography.markdown62 double max_dist = 0; double min_dist = 100;
67 if( dist < min_dist ) min_dist = dist;
72 printf("-- Min dist : %f \n", min_dist );
74 //-- Draw only "good" matches (i.e. whose distance is less than 3*min_dist )
78 { if( matches[i].distance < 3*min_dist )
/external/opencv3/modules/calib3d/test/
Dtest_cornerssubpix.cpp76 double min_dist = std::numeric_limits<double>::max(); in calcDistance() local
82 if(dist < min_dist) in calcDistance()
85 min_dist = dist; in calcDistance()
104 sum_dist += min_dist*min_dist; in calcDistance()
Dtest_homography.cpp652 double max_dist = 0; double min_dist = 100; in TEST() local
657 if( dist < min_dist ) min_dist = dist; in TEST()
/external/opencv/cv/src/
Dcvfeatureselect.cpp65 int min_dist; in CV_IMPLEMENT_QSORT() local
155 min_dist = cvRound( min_distance * min_distance ); in CV_IMPLEMENT_QSORT()
194 if( min_dist != 0 ) in CV_IMPLEMENT_QSORT()
202 if( dist < min_dist ) in CV_IMPLEMENT_QSORT()
Dcvhough.cpp851 icvHoughCirclesGradient( CvMat* img, float dp, float min_dist, in icvHoughCirclesGradient() argument
989 min_dist = MAX( min_dist, dp ); in icvHoughCirclesGradient()
990 min_dist *= min_dist; in icvHoughCirclesGradient()
1006 if( (c[0] - cx)*(c[0] - cx) + (c[1] - cy)*(c[1] - cy) < min_dist ) in icvHoughCirclesGradient()
1075 int method, double dp, double min_dist, in cvHoughCircles() argument
1102 if( dp <= 0 || min_dist <= 0 || canny_threshold <= 0 || acc_threshold <= 0 ) in cvHoughCircles()
1138 CV_CALL( icvHoughCirclesGradient( img, (float)dp, (float)min_dist, in cvHoughCircles()
Dcvstereogc.cpp279 int d, min_dist = INT_MAX; in icvGCMaxFlow() local
317 if( d < min_dist ) in icvGCMaxFlow()
319 min_dist = d; in icvGCMaxFlow()
333 v->dist = min_dist; in icvGCMaxFlow()
Dcvcalibinit.cpp1470 float min_dist = FLT_MAX; in icvFindQuadNeighbors() local
1495 if( dist < min_dist && in icvFindQuadNeighbors()
1510 min_dist = dist; in icvFindQuadNeighbors()
1516 if( closest_corner_idx >= 0 && min_dist < FLT_MAX ) in icvFindQuadNeighbors()
1532 if( dx * dx + dy * dy < min_dist ) in icvFindQuadNeighbors()
1562 if( dist < min_dist ) in icvFindQuadNeighbors()
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/polynomials/
DPolynomialFunctionLagrangeForm.java170 double min_dist = Double.POSITIVE_INFINITY; in evaluate() local
177 if (dist < min_dist) { in evaluate()
179 min_dist = dist; in evaluate()
/external/libjpeg-turbo/
Djquant2.c640 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
671 min_dist = tdist*tdist; in find_nearby_colors()
676 min_dist = tdist*tdist; in find_nearby_colors()
681 min_dist = 0; in find_nearby_colors()
694 min_dist += tdist*tdist; in find_nearby_colors()
699 min_dist += tdist*tdist; in find_nearby_colors()
716 min_dist += tdist*tdist; in find_nearby_colors()
721 min_dist += tdist*tdist; in find_nearby_colors()
735 mindist[i] = min_dist; /* save away the results */ in find_nearby_colors()
/external/opencv3/3rdparty/libjpeg/
Djquant2.c662 INT32 minmaxdist, min_dist, max_dist, tdist; in find_nearby_colors() local
693 min_dist = tdist*tdist; in find_nearby_colors()
698 min_dist = tdist*tdist; in find_nearby_colors()
703 min_dist = 0; in find_nearby_colors()
716 min_dist += tdist*tdist; in find_nearby_colors()
721 min_dist += tdist*tdist; in find_nearby_colors()
738 min_dist += tdist*tdist; in find_nearby_colors()
743 min_dist += tdist*tdist; in find_nearby_colors()
757 mindist[i] = min_dist; /* save away the results */ in find_nearby_colors()
/external/opencv3/modules/imgproc/src/
Dhough.cpp1002 icvHoughCirclesGradient( CvMat* img, float dp, float min_dist, in icvHoughCirclesGradient() argument
1134 min_dist = MAX( min_dist, dp ); in icvHoughCirclesGradient()
1135 min_dist *= min_dist; in icvHoughCirclesGradient()
1152 if( (c[0] - cx)*(c[0] - cx) + (c[1] - cy)*(c[1] - cy) < min_dist ) in icvHoughCirclesGradient()
1222 int method, double dp, double min_dist, in cvHoughCircles() argument
1245 if( dp <= 0 || min_dist <= 0 || canny_threshold <= 0 || acc_threshold <= 0 ) in cvHoughCircles()
1279 icvHoughCirclesGradient( img, (float)dp, (float)min_dist, in cvHoughCircles()
1321 int method, double dp, double min_dist, in HoughCircles() argument
1329 dp, min_dist, param1, param2, minRadius, maxRadius ); in HoughCircles()
/external/opencv3/modules/core/src/
Dkmeans.cpp187 double min_dist = DBL_MAX; in operator ()() local
194 if( min_dist > dist ) in operator ()()
196 min_dist = dist; in operator ()()
201 distances[i] = min_dist; in operator ()()
/external/opencv/cvaux/src/
Dcvbgfg_acmmm2003.cpp501 int dist, min_dist = 2147483647, indx = -1; in icvUpdateFGDStatModel() local
533 if( l == 3 && dist < min_dist ) in icvUpdateFGDStatModel()
535 min_dist = dist; in icvUpdateFGDStatModel()
609 int dist, min_dist = 2147483647, indx = -1; in icvUpdateFGDStatModel() local
638 if( l == 3 && dist < min_dist ) in icvUpdateFGDStatModel()
640 min_dist = dist; in icvUpdateFGDStatModel()
Dcvhmm1d.cpp920 float min_dist;
922 min_dist = icvSquareDistance((info->obs) + (i * info->obs_size),
931 if (dist < min_dist)
933 min_dist = dist;
Dcvhmm.cpp1023 float min_dist; in icvMixSegmL2() local
1025 min_dist = icvSquareDistance((info->obs) + (counter * info->obs_size), in icvMixSegmL2()
1034 if (dist < min_dist) in icvMixSegmL2()
1036 min_dist = dist; in icvMixSegmL2()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dscreen_finder.py275 min_dist = np.zeros(4, np.float32)
278 min_dist[i] = dist
281 if np.sum(min_dist) < 3:
728 min_dist = self.MAX_INTERFRAME_MOTION
733 if dist >= min_dist:
743 min_dist = dist
/external/webp/src/utils/
Dquant_levels_dec.c158 static void InitCorrectionLUT(int16_t* const lut, int min_dist) { in InitCorrectionLUT() argument
165 const int threshold1 = min_dist << LFIX; in InitCorrectionLUT()
/external/libgdx/gdx/src/com/badlogic/gdx/math/
DIntersector.java620 float min_dist = Float.MAX_VALUE; in intersectRayTriangles() local
632 if (dist < min_dist) { in intersectRayTriangles()
633 min_dist = dist; in intersectRayTriangles()
658 float min_dist = Float.MAX_VALUE; in intersectRayTriangles() local
674 if (dist < min_dist) { in intersectRayTriangles()
675 min_dist = dist; in intersectRayTriangles()
697 float min_dist = Float.MAX_VALUE; in intersectRayTriangles() local
707 if (dist < min_dist) { in intersectRayTriangles()
708 min_dist = dist; in intersectRayTriangles()
/external/opencv3/modules/cudalegacy/src/cuda/
Dfgd.cu427 int min_dist = numeric_limits<int>::max(); in updateBackgroundModel() local
468 if (dist < min_dist && in updateBackgroundModel()
472 min_dist = dist; in updateBackgroundModel()
594 int min_dist = numeric_limits<int>::max(); in updateBackgroundModel() local
624 if (dist < min_dist && val.x <= deltaC && val.y <= deltaC && val.z <= deltaC) in updateBackgroundModel()
626 min_dist = dist; in updateBackgroundModel()
/external/opencv/ml/src/
Dmlem.cpp621 double min_dist = DBL_MAX; in kmeans() local
644 if( min_dist > dist ) in kmeans()
646 min_dist = dist; in kmeans()
/external/opencv3/doc/tutorials/imgproc/imgtrans/hough_circle/
Dhough_circle.markdown79 - *min_dist = src_gray.rows/8*: Minimum distance between detected centers.

12