Home | History | Annotate | Download | only in src

Lines Matching refs:samples

281 float CvNormalBayesClassifier::predict( const CvMat* samples, CvMat* results ) const
300 if( !CV_IS_MAT(samples) || CV_MAT_TYPE(samples->type) != CV_32FC1 || samples->cols != var_all )
302 "The input samples must be 32f matrix with the number of columns = var_all" );
304 if( samples->rows > 1 && !results )
306 "When the number of input samples is >1, the output vector of results must be passed" );
313 results->cols + results->rows - 1 != samples->rows )
336 for( k = 0; k < samples->rows; k++ )
346 const float* x = (const float*)(samples->data.ptr + samples->step*k);