Lines Matching refs:responses
630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all ) in cvPreprocessOrderedResponses() argument
643 if( !CV_IS_MAT(responses) ) in cvPreprocessOrderedResponses()
646 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessOrderedResponses()
649 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessOrderedResponses()
653 r_type = CV_MAT_TYPE(responses->type); in cvPreprocessOrderedResponses()
657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessOrderedResponses()
659 if( r_type == CV_32FC1 && CV_IS_MAT_CONT(responses->type) && !sample_idx ) in cvPreprocessOrderedResponses()
661 out_responses = (CvMat*)responses; in cvPreprocessOrderedResponses()
681 const float* src = responses->data.fl; in cvPreprocessOrderedResponses()
691 const int* src = responses->data.i; in cvPreprocessOrderedResponses()
706 cvPreprocessCategoricalResponses( const CvMat* responses, in cvPreprocessCategoricalResponses() argument
733 if( !CV_IS_MAT(responses) ) in cvPreprocessCategoricalResponses()
736 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessCategoricalResponses()
739 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessCategoricalResponses()
743 r_type = CV_MAT_TYPE(responses->type); in cvPreprocessCategoricalResponses()
747 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessCategoricalResponses()
767 srci = responses->data.i; in cvPreprocessCategoricalResponses()
768 srcfl = responses->data.fl; in cvPreprocessCategoricalResponses()
954 const CvMat* responses, int response_type, in cvPrepareTrainData() argument
1013 if( responses ) in cvPrepareTrainData()
1020 CV_CALL( _responses = cvPreprocessOrderedResponses( responses, in cvPrepareTrainData()
1025 CV_CALL( _responses = cvPreprocessCategoricalResponses( responses, in cvPrepareTrainData()
1065 if( _responses != responses ) in cvPrepareTrainData()
1755 int* responses; in cvCombineResponseMaps() local
1831 responses = _responses->data.i; in cvCombineResponseMaps()
1835 responses[i] = first[responses[i]]; in cvCombineResponseMaps()