Home | History | Annotate | Download | only in src

Lines Matching refs:samples

651         "Response array must contain as many elements as the total number of samples" );
741 "Response array must contain as many elements as the total number of samples" );
844 float** samples = 0;
871 CV_CALL( samples = (float**)cvAlloc(sample_count*sizeof(samples[0]) +
872 (copy_data ? 1 : 0)*var_count*sample_count*sizeof(samples[0][0])) );
874 s_step = train_data->step / sizeof(samples[0][0]);
882 samples[i] = (float*)(data + (s_idx ? s_idx[i] : i)*s_step);
886 samples[0] = (float*)(samples + sample_count);
892 float* dst = samples[i] = samples[0] + i*var_count;
906 return (const float**)samples;
1004 CV_ERROR( CV_StsBadArg, "output pointer to train samples is NULL" );
1098 cvSortSamplesByClasses( const float** samples, const CvMat* classes,
1108 if( !samples || !classes || !class_ranges )
1119 pairs[i].sample = samples[i];
1132 samples[i] = pairs[i].sample;
1460 "Size of vector of output labels is not equal to the total number of input samples" );
1482 "not equal to the total number of components in the input samples" );
1503 "not equal to the total number of input samples" );
1618 "matrix of probabilities must have as many rows as the total number of samples" );
1753 int samples, free_response;
1830 samples = _responses->cols + _responses->rows - 1;
1833 for (i = 0; i < samples; i++)