Lines Matching refs:dims
309 const int dims = data->var_count; in grow_forest() local
343 CV_CALL(oob_samples_perm_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest()
344 CV_CALL(samples_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest()
345 CV_CALL(missing_ptr = (uchar*)cvAlloc( sizeof(uchar)*nsamples*dims )); in grow_forest()
377 sample = cvMat( 1, dims, CV_32FC1, samples_ptr ); in grow_forest()
378 missing = cvMat( 1, dims, CV_8UC1, missing_ptr ); in grow_forest()
382 sample.data.fl += dims, missing.data.ptr += dims ) in grow_forest()
433 memcpy( oob_samples_perm_ptr, samples_ptr, dims*nsamples*sizeof(float)); in grow_forest()
434 for( m = 0; m < dims; m++ ) in grow_forest()
449 CV_SWAP( mth_var_ptr[i1*dims], mth_var_ptr[i2*dims], temp ); in grow_forest()
454 oob_samples_perm_ptr[i*dims+m-1] = samples_ptr[i*dims+m-1]; in grow_forest()
459 sample = cvMat( 1, dims, CV_32FC1, oob_samples_perm_ptr ); in grow_forest()
460 missing = cvMat( 1, dims, CV_8UC1, missing_ptr ); in grow_forest()
462 sample.data.fl += dims, missing.data.ptr += dims ) in grow_forest()