Home | History | Annotate | Download | only in src

Lines Matching refs:sampleIdx

404        const CvMat*             sampleIdx)
454 if (sampleIdx)
459 if (!CV_IS_MAT (sampleIdx))
460 CV_ERROR (CV_StsBadArg, "Invalid sampleIdx array");
462 if (sampleIdx->rows != 1 && sampleIdx->cols != 1)
463 CV_ERROR (CV_StsBadSize, "sampleIdx array must be 1-dimensional");
465 s_len = sampleIdx->rows + sampleIdx->cols - 1;
466 s_step = sampleIdx->rows == 1 ?
467 1 : sampleIdx->step / CV_ELEM_SIZE(sampleIdx->type);
469 s_type = CV_MAT_TYPE (sampleIdx->type);
476 uchar* s_data = sampleIdx->data.ptr;
478 // sampleIdx is array of 1's and 0's -
496 "sampleIdx array may not contain more elements than the total number of samples");
500 CV_ERROR (CV_StsUnsupportedFormat, "Unsupported sampleIdx array data type "
510 uchar* s_data = sampleIdx->data.ptr;
520 int* s_data = sampleIdx->data.i;
541 else // if (sampleIdx)
551 } // if (sampleIdx) ... else
657 const CvMat* sampleIdx,
693 cvCreateCrossValidationEstimateModel (samples_all, estimateParams, sampleIdx));