Home | History | Annotate | Download | only in src

Lines Matching refs:responses

630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all )
643 if( !CV_IS_MAT(responses) )
646 if( responses->rows != 1 && responses->cols != 1 )
649 if( responses->rows + responses->cols - 1 != sample_count )
653 r_type = CV_MAT_TYPE(responses->type);
657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1;
659 if( r_type == CV_32FC1 && CV_IS_MAT_CONT(responses->type) && !sample_idx )
661 out_responses = (CvMat*)responses;
681 const float* src = responses->data.fl;
691 const int* src = responses->data.i;
706 cvPreprocessCategoricalResponses( const CvMat* responses,
733 if( !CV_IS_MAT(responses) )
736 if( responses->rows != 1 && responses->cols != 1 )
739 if( responses->rows + responses->cols - 1 != sample_count )
743 r_type = CV_MAT_TYPE(responses->type);
747 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1;
767 srci = responses->data.i;
768 srcfl = responses->data.fl;
954 const CvMat* responses, int response_type,
1013 if( responses )
1020 CV_CALL( _responses = cvPreprocessOrderedResponses( responses,
1025 CV_CALL( _responses = cvPreprocessCategoricalResponses( responses,
1065 if( _responses != responses )
1755 int* responses;
1769 // Prepare sorted responses.
1784 // Count the number of different responses.
1829 // Change <responses> according to out response map.
1831 responses = _responses->data.i;
1835 responses[i] = first[responses[i]];