Searched refs:max_dst (Results 1 – 2 of 2) sorted by relevance
139 double max_dst; in cvCreateTestSet() local142 CV_CALL( max_dst = (*((CvDI*) cvGetSeqElem( seq, last_idx ))).d ); in cvCreateTestSet()143 max_dst = MAX( max_dst, elem.d ); in cvCreateTestSet()145 for( ; elem.d <= max_dst && i < num_samples; ++i ) in cvCreateTestSet()
103 double max_dst = dis[last_idx].d; in createConcentricSpheresTestSet() local104 max_dst = std::max( max_dst, dis[i].d ); in createConcentricSpheresTestSet()106 for( ; i < num_samples && dis[i].d <= max_dst; ++i ) in createConcentricSpheresTestSet()