Lines Matching refs:cls_count
724 int cls_count = 1, prev_cls, prev_i; in cvPreprocessCategoricalResponses() local
796 cls_count += *response_ptr[i] != *response_ptr[i-1]; in cvPreprocessCategoricalResponses()
798 if( cls_count < 2 ) in cvPreprocessCategoricalResponses()
801 CV_CALL( *out_response_map = cvCreateMat( 1, cls_count, CV_32SC1 )); in cvPreprocessCategoricalResponses()
805 CV_CALL( *class_counts = cvCreateMat( 1, cls_count, CV_32SC1 )); in cvPreprocessCategoricalResponses()
811 cls_count = -1; in cvPreprocessCategoricalResponses()
819 if( cls_counts && cls_count >= 0 ) in cvPreprocessCategoricalResponses()
820 cls_counts[cls_count] = i - prev_i; in cvPreprocessCategoricalResponses()
821 cls_map[++cls_count] = prev_cls = cur_cls; in cvPreprocessCategoricalResponses()
824 *response_ptr[i] = cls_count; in cvPreprocessCategoricalResponses()
828 cls_counts[cls_count] = i - prev_i; in cvPreprocessCategoricalResponses()