Lines Matching refs:responses
560 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all ) in cvPreprocessOrderedResponses() argument
573 if( !CV_IS_MAT(responses) ) in cvPreprocessOrderedResponses()
576 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessOrderedResponses()
579 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessOrderedResponses()
583 r_type = CV_MAT_TYPE(responses->type); in cvPreprocessOrderedResponses()
587 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1; in cvPreprocessOrderedResponses()
589 if( r_type == CV_32FC1 && CV_IS_MAT_CONT(responses->type) && !sample_idx ) in cvPreprocessOrderedResponses()
591 out_responses = cvCloneMat( responses ); in cvPreprocessOrderedResponses()
611 const float* src = responses->data.fl; in cvPreprocessOrderedResponses()
621 const int* src = responses->data.i; in cvPreprocessOrderedResponses()
636 cvPreprocessCategoricalResponses( const CvMat* responses, in cvPreprocessCategoricalResponses() argument
663 if( !CV_IS_MAT(responses) ) in cvPreprocessCategoricalResponses()
666 if( responses->rows != 1 && responses->cols != 1 ) in cvPreprocessCategoricalResponses()
669 if( responses->rows + responses->cols - 1 != sample_count ) in cvPreprocessCategoricalResponses()
673 r_type = CV_MAT_TYPE(responses->type); in cvPreprocessCategoricalResponses()
677 r_step = responses->rows == 1 ? 1 : responses->step / CV_ELEM_SIZE(responses->type); in cvPreprocessCategoricalResponses()
697 srci = responses->data.i; in cvPreprocessCategoricalResponses()
698 srcfl = responses->data.fl; in cvPreprocessCategoricalResponses()
884 const CvMat* responses, int response_type, in cvPrepareTrainData() argument
943 if( responses ) in cvPrepareTrainData()
950 CV_CALL( _responses = cvPreprocessOrderedResponses( responses, in cvPrepareTrainData()
955 CV_CALL( _responses = cvPreprocessCategoricalResponses( responses, in cvPrepareTrainData()
995 if( _responses != responses ) in cvPrepareTrainData()
1681 int* responses; in cvCombineResponseMaps() local
1757 responses = _responses->data.i; in cvCombineResponseMaps()
1761 responses[i] = first[responses[i]]; in cvCombineResponseMaps()