Home | History | Annotate | Download | only in src

Lines Matching refs:samples

59 cvCreateTestSet( int type, CvMat** samples,
73 if( samples )
74 *samples = NULL;
81 if( !samples )
82 CV_ERROR( CV_StsNullPtr, "samples parameter must be not NULL" );
105 CV_CALL( *samples = cvCreateMat( num_samples, num_features, CV_32FC1 ) );
114 CV_CALL( cvRandMVNormal( mean, cov, *samples ) );
116 /* calculate distances from the origin to the samples and put them
120 for( i = 0; i < (*samples)->rows; ++i )
122 CV_CALL( cvGetRow( *samples, &sample, i ));
160 if( samples )
161 cvReleaseMat( samples );