Lines Matching refs:dims

119                             int dims, CvDistanceFunction dist_func, void *user_param,
177 int dims, size1, size2; in cvCalcEMD2() local
185 dims = signature1->cols - 1; in cvCalcEMD2()
235 if( dims == 0 ) in cvCalcEMD2()
238 user_param = (void *) (size_t)dims; in cvCalcEMD2()
257 dims, dist_func, user_param, in cvCalcEMD2()
336 int dims, CvDistanceFunction dist_func, void* user_param, in icvInitEMD() argument
365 if( buffer_size < (int) (dims * 2 * sizeof( float ))) in icvInitEMD()
367 buffer_size = dims * 2 * sizeof( float ); in icvInitEMD()
400 float weight = signature1[i * (dims + 1)]; in icvInitEMD()
415 float weight = signature2[i * (dims + 1)]; in icvInitEMD()
453 int sz1 = size1 * (dims + 1), sz2 = size2 * (dims + 1); in icvInitEMD()
457 float* xd = xs + dims; in icvInitEMD()
459 memset( xs, 0, dims*sizeof(xs[0])); in icvInitEMD()
460 memset( xd, 0, dims*sizeof(xd[0])); in icvInitEMD()
462 for( j = 0; j < sz1; j += dims + 1 ) in icvInitEMD()
465 for( i = 0; i < dims; i++ ) in icvInitEMD()
469 for( j = 0; j < sz2; j += dims + 1 ) in icvInitEMD()
472 for( i = 0; i < dims; i++ ) in icvInitEMD()
525 val = dist_func( signature1 + ci * (dims + 1) + 1, in icvInitEMD()
526 signature2 + cj * (dims + 1) + 1, in icvInitEMD()
1120 int i, dims = (int)(size_t)user_param; in icvDistL1() local
1123 for( i = 0; i < dims; i++ ) in icvDistL1()
1135 int i, dims = (int)(size_t)user_param; in icvDistL2() local
1138 for( i = 0; i < dims; i++ ) in icvDistL2()
1150 int i, dims = (int)(size_t)user_param; in icvDistC() local
1153 for( i = 0; i < dims; i++ ) in icvDistC()