Home
last modified time | relevance | path

Searched refs:termcrit (Results 1 – 6 of 6) sorted by relevance

/external/opencv/cv/src/
Dcvsegmentation.cpp328 CvTermCriteria termcrit ) in cvPyrMeanShiftFiltering() argument
369 if( !(termcrit.type & CV_TERMCRIT_ITER) ) in cvPyrMeanShiftFiltering()
370 termcrit.max_iter = 5; in cvPyrMeanShiftFiltering()
371 termcrit.max_iter = MAX(termcrit.max_iter,1); in cvPyrMeanShiftFiltering()
372 termcrit.max_iter = MIN(termcrit.max_iter,100); in cvPyrMeanShiftFiltering()
373 if( !(termcrit.type & CV_TERMCRIT_EPS) ) in cvPyrMeanShiftFiltering()
374 termcrit.epsilon = 1.f; in cvPyrMeanShiftFiltering()
375 termcrit.epsilon = MAX(termcrit.epsilon, 0.f); in cvPyrMeanShiftFiltering()
454 for( iter = 0; iter < termcrit.max_iter; iter++ ) in cvPyrMeanShiftFiltering()
527 tab[s2 - c2 + 255] <= termcrit.epsilon; in cvPyrMeanShiftFiltering()
/external/opencv/cxcore/src/
Dcxutils.cpp46 CvArr* labels_arr, CvTermCriteria termcrit ) in cvKMeans2() argument
83 CV_CALL( termcrit = cvCheckTermCriteria( termcrit, 1e-6, 100 )); in cvKMeans2()
85 termcrit.epsilon *= termcrit.epsilon; in cvKMeans2()
103 max_dist = termcrit.epsilon*2; in cvKMeans2()
105 for( iter = 0; iter < termcrit.max_iter; iter++ ) in cvKMeans2()
208 if( max_dist < termcrit.epsilon ) in cvKMeans2()
/external/opencv/ml/src/
Dmlem.cpp574 CvTermCriteria termcrit, const CvMat* centers0 ) in kmeans() argument
589 termcrit = cvCheckTermCriteria( termcrit, 1e-6, 100 ); in kmeans()
590 termcrit.epsilon *= termcrit.epsilon; in kmeans()
655 if( ++iter > termcrit.max_iter ) in kmeans()
728 if( max_dist < termcrit.epsilon ) in kmeans()
/external/opencv/cv/include/
Dcvcompat.h814 CvTermCriteria termcrit, int* cluster_idx ) in cvKMeans() argument
821 cvKMeans2( samples_mat, num_clusters, &cluster_idx_mat, termcrit ); in cvKMeans()
Dcv.h136 CvTermCriteria termcrit CV_DEFAULT(cvTermCriteria(CV_TERMCRIT_ITER+CV_TERMCRIT_EPS,5,1))); in LOAD_CHDL()
/external/opencv/cxcore/include/
Dcxcore.h1475 CvArr* labels, CvTermCriteria termcrit );