weight 250 apps/traincascade/haarfeatures.cpp rect[0].weight = rect[1].weight = rect[2].weight = 0; weight 264 apps/traincascade/haarfeatures.cpp rect[0].weight = wt0; weight 270 apps/traincascade/haarfeatures.cpp rect[1].weight = wt1; weight 276 apps/traincascade/haarfeatures.cpp rect[2].weight = wt2; weight 282 apps/traincascade/haarfeatures.cpp if( rect[j].weight == 0.0F ) weight 291 apps/traincascade/haarfeatures.cpp if( rect[j].weight == 0.0F ) weight 304 apps/traincascade/haarfeatures.cpp rect[ri].r.width << rect[ri].r.height << rect[ri].weight << "]"; weight 58 apps/traincascade/haarfeatures.h float weight; weight 82 apps/traincascade/haarfeatures.h float ret = rect[0].weight * (img[fastRect[0].p0] - img[fastRect[0].p1] - img[fastRect[0].p2] + img[fastRect[0].p3] ) + weight 83 apps/traincascade/haarfeatures.h rect[1].weight * (img[fastRect[1].p0] - img[fastRect[1].p1] - img[fastRect[1].p2] + img[fastRect[1].p3] ); weight 84 apps/traincascade/haarfeatures.h if( rect[2].weight != 0.0f ) weight 85 apps/traincascade/haarfeatures.h ret += rect[2].weight * (img[fastRect[2].p0] - img[fastRect[2].p1] - img[fastRect[2].p2] + img[fastRect[2].p3] ); weight 425 apps/traincascade/old_ml_boost.cpp double weight = w0 + w1; weight 427 apps/traincascade/old_ml_boost.cpp if( weight < FLT_EPSILON ) weight 438 apps/traincascade/old_ml_boost.cpp L += weight; weight 439 apps/traincascade/old_ml_boost.cpp R -= weight; weight 2281 apps/traincascade/old_ml_tree.cpp double weight; weight 2302 apps/traincascade/old_ml_tree.cpp weight = c_weights[idx]; weight 2303 apps/traincascade/old_ml_tree.cpp if( weight < FLT_EPSILON ) weight 2318 apps/traincascade/old_ml_tree.cpp L += weight; weight 2319 apps/traincascade/old_ml_tree.cpp R -= weight; weight 2333 apps/traincascade/old_ml_tree.cpp L -= weight; weight 2334 apps/traincascade/old_ml_tree.cpp R += weight; weight 1317 modules/core/include/opencv2/core/types_c.h float weight; \ weight 2793 modules/core/src/datastructs.cpp edge->weight = _edge->weight; weight 2799 modules/core/src/datastructs.cpp edge->weight = 1.f; weight 4518 modules/core/src/persistence.cpp *(float*)(src_ptr + sizeof(int)*2) = edge->weight; weight 4734 modules/core/src/persistence.cpp edge->weight = *(float*)(dst_ptr + sizeof(int)*2); weight 1626 modules/core/test/test_ds.cpp edge->weight = (float)(v_idx[0] + v_idx[1]); weight 1662 modules/core/test/test_ds.cpp edge2->weight = edge->weight; weight 1732 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( edge != 0 && edge->weight == v_idx[0] + v_idx[1] && weight 1962 modules/core/test/test_ds.cpp edge->weight = (float)edges[i][2]; weight 1984 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'t', weight 1992 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'b', weight 2000 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'c', weight 2008 modules/core/test/test_ds.cpp CV_TS_SEQ_CHECK_CONDITION( scanner->edge->weight == (float)'f', weight 142 modules/core/test/test_io.cpp edge->weight = (float)(i+1); weight 371 modules/core/test/test_io.cpp if( !edge2 || edge2->weight != (float)(i+1) || weight 372 modules/core/test/test_io.cpp !edge3 || edge3->weight != (float)(i+1) ) weight 58 modules/cudabgsegm/src/mog.cpp void mog_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzf weight, PtrStepSzf sortKey, PtrStepSzb mean, PtrStepSzb var, weight 61 modules/cudabgsegm/src/mog.cpp void getBackgroundImage_gpu(int cn, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, int nmixtures, float backgroundRatio, cudaStream_t stream); weight 59 modules/cudabgsegm/src/mog2.cpp void mog2_gpu(PtrStepSzb frame, int cn, PtrStepSzb fgmask, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzf variance, PtrStepSzb mean, float alphaT, float prune, bool detectShadows, cudaStream_t stream); weight 60 modules/cudabgsegm/src/mog2.cpp void getBackgroundImage2_gpu(int cn, PtrStepSzb modesUsed, PtrStepSzf weight, PtrStepSzb mean, PtrStepSzb dst, cudaStream_t stream); weight 94 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp __host__ NCVStatus setWeight(Ncv32f weight) weight 96 modules/cudalegacy/include/opencv2/cudalegacy/NCVHaarObjectDetection.hpp ((Ncv32f_a*)&(this->_ui2.y))[0] = weight; weight 596 modules/highgui/include/opencv2/highgui.hpp Scalar color = Scalar::all(0), int weight = QT_FONT_NORMAL, weight 79 modules/highgui/include/opencv2/highgui/highgui_c.h CVAPI(CvFont) cvFontQt(const char* nameFont, int pointSize CV_DEFAULT(-1), CvScalar color CV_DEFAULT(cvScalarAll(0)), int weight CV_DEFAULT(CV_FONT_NORMAL), int style CV_DEFAULT(CV_STYLE_NORMAL), int spacing CV_DEFAULT(0)); weight 384 modules/highgui/src/window.cpp cv::QtFont cv::fontQt(const String& nameFont, int pointSize, Scalar color, int weight, int style, int /*spacing*/) weight 386 modules/highgui/src/window.cpp CvFont f = cvFontQt(nameFont.c_str(), pointSize,color,weight, style); weight 91 modules/highgui/src/window_QT.cpp CV_IMPL CvFont cvFontQt(const char* nameFont, int pointSize,CvScalar color,int weight,int style, int spacing) weight 106 modules/highgui/src/window_QT.cpp CvFont f = {nameFont,color,style,NULL,NULL,NULL,0,0,0,weight,spacing,pointSize}; weight 111 modules/imgproc/src/emd.cpp float weight, max_cost; weight 315 modules/imgproc/src/emd.cpp emd = (float) (total_cost / state.weight); weight 380 modules/imgproc/src/emd.cpp float weight = signature1[i * (dims + 1)]; weight 382 modules/imgproc/src/emd.cpp if( weight > 0 ) weight 384 modules/imgproc/src/emd.cpp s_sum += weight; weight 385 modules/imgproc/src/emd.cpp state->s[ssize] = weight; weight 389 modules/imgproc/src/emd.cpp else if( weight < 0 ) weight 395 modules/imgproc/src/emd.cpp float weight = signature2[i * (dims + 1)]; weight 397 modules/imgproc/src/emd.cpp if( weight > 0 ) weight 399 modules/imgproc/src/emd.cpp d_sum += weight; weight 400 modules/imgproc/src/emd.cpp state->d[dsize] = weight; weight 403 modules/imgproc/src/emd.cpp else if( weight < 0 ) weight 429 modules/imgproc/src/emd.cpp state->weight = s_sum > d_sum ? s_sum : d_sum; weight 444 modules/imgproc/src/emd.cpp float weight = signature1[j]; weight 446 modules/imgproc/src/emd.cpp xs[i] += signature1[j + i + 1] * weight; weight 451 modules/imgproc/src/emd.cpp float weight = signature2[j]; weight 453 modules/imgproc/src/emd.cpp xd[i] += signature2[j + i + 1] * weight; weight 456 modules/imgproc/src/emd.cpp lb = dist_func( xs, xd, user_param ) / state->weight; weight 1058 modules/imgproc/src/emd.cpp if( state->s[min_i] < state->d[min_j] + state->weight * CV_EMD_EPS ) weight 66 modules/imgproc/src/gcgraph.hpp TWeight weight; weight 74 modules/imgproc/src/gcgraph.hpp TWeight weight; weight 127 modules/imgproc/src/gcgraph.hpp fromI.weight = w; weight 133 modules/imgproc/src/gcgraph.hpp toI.weight = revw; weight 143 modules/imgproc/src/gcgraph.hpp TWeight dw = vtcs[i].weight; weight 149 modules/imgproc/src/gcgraph.hpp vtcs[i].weight = sourceW - sinkW; weight 169 modules/imgproc/src/gcgraph.hpp if( v->weight != 0 ) weight 174 modules/imgproc/src/gcgraph.hpp v->t = v->weight < 0; weight 188 modules/imgproc/src/gcgraph.hpp TWeight minWeight, weight; weight 200 modules/imgproc/src/gcgraph.hpp if( edgePtr[ei^vt].weight == 0 ) weight 243 modules/imgproc/src/gcgraph.hpp minWeight = edgePtr[e0].weight; weight 252 modules/imgproc/src/gcgraph.hpp weight = edgePtr[ei^k].weight; weight 253 modules/imgproc/src/gcgraph.hpp minWeight = MIN(minWeight, weight); weight 256 modules/imgproc/src/gcgraph.hpp weight = fabs(v->weight); weight 257 modules/imgproc/src/gcgraph.hpp minWeight = MIN(minWeight, weight); weight 262 modules/imgproc/src/gcgraph.hpp edgePtr[e0].weight -= minWeight; weight 263 modules/imgproc/src/gcgraph.hpp edgePtr[e0^1].weight += minWeight; weight 273 modules/imgproc/src/gcgraph.hpp edgePtr[ei^(k^1)].weight += minWeight; weight 274 modules/imgproc/src/gcgraph.hpp if( (edgePtr[ei^k].weight -= minWeight) == 0 ) weight 281 modules/imgproc/src/gcgraph.hpp v->weight = v->weight + minWeight*(1-k*2); weight 282 modules/imgproc/src/gcgraph.hpp if( v->weight == 0 ) weight 302 modules/imgproc/src/gcgraph.hpp if( edgePtr[ei^(vt^1)].weight == 0 ) weight 362 modules/imgproc/src/gcgraph.hpp if( edgePtr[ei^(vt^1)].weight && !u->next ) weight 695 modules/imgproc/src/lsd.cpp const double& weight = pnt.modgrad; weight 696 modules/imgproc/src/lsd.cpp x += double(pnt.x) * weight; weight 697 modules/imgproc/src/lsd.cpp y += double(pnt.y) * weight; weight 698 modules/imgproc/src/lsd.cpp sum += weight; weight 758 modules/imgproc/src/lsd.cpp const double& weight = reg[i].modgrad; weight 761 modules/imgproc/src/lsd.cpp Ixx += dy * dy * weight; weight 762 modules/imgproc/src/lsd.cpp Iyy += dx * dx * weight; weight 763 modules/imgproc/src/lsd.cpp Ixy -= dx * dy * weight; weight 915 modules/ml/src/tree.cpp double weight = c_weights[idx]; weight 916 modules/ml/src/tree.cpp if( weight < FLT_EPSILON ) weight 930 modules/ml/src/tree.cpp L += weight; weight 931 modules/ml/src/tree.cpp R -= weight; weight 944 modules/ml/src/tree.cpp L -= weight; weight 945 modules/ml/src/tree.cpp R += weight; weight 79 modules/objdetect/include/opencv2/objdetect/objdetect_c.h float weight; weight 537 modules/objdetect/src/cascadedetect.cpp rect[ri].weight = 0.f; weight 544 modules/objdetect/src/cascadedetect.cpp rect[ri].r.width >> rect[ri].r.height >> rect[ri].weight; weight 714 modules/objdetect/src/cascadedetect.cpp weight[0] = _f.rect[0].weight; weight 715 modules/objdetect/src/cascadedetect.cpp weight[1] = _f.rect[1].weight; weight 716 modules/objdetect/src/cascadedetect.cpp weight[2] = _f.rect[2].weight; weight 906 modules/objdetect/src/cascadedetect.cpp int CascadeClassifierImpl::runAt( Ptr<FeatureEvaluator>& evaluator, Point pt, int scaleIdx, double& weight ) weight 918 modules/objdetect/src/cascadedetect.cpp return predictOrderedStump<HaarEvaluator>( *this, evaluator, weight ); weight 920 modules/objdetect/src/cascadedetect.cpp return predictCategoricalStump<LBPEvaluator>( *this, evaluator, weight ); weight 927 modules/objdetect/src/cascadedetect.cpp return predictOrdered<HaarEvaluator>( *this, evaluator, weight ); weight 929 modules/objdetect/src/cascadedetect.cpp return predictCategorical<LBPEvaluator>( *this, evaluator, weight ); weight 148 modules/objdetect/src/cascadedetect.hpp friend int predictOrdered( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weight); weight 151 modules/objdetect/src/cascadedetect.hpp friend int predictCategorical( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weight); weight 154 modules/objdetect/src/cascadedetect.hpp friend int predictOrderedStump( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weight); weight 157 modules/objdetect/src/cascadedetect.hpp friend int predictCategoricalStump( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator, double& weight); weight 159 modules/objdetect/src/cascadedetect.hpp int runAt( Ptr<FeatureEvaluator>& feval, Point pt, int scaleIdx, double& weight ); weight 330 modules/objdetect/src/cascadedetect.hpp float weight; weight 343 modules/objdetect/src/cascadedetect.hpp float weight[4]; weight 383 modules/objdetect/src/cascadedetect.hpp rect[0].weight = rect[1].weight = rect[2].weight = 0; weight 388 modules/objdetect/src/cascadedetect.hpp weight[0] = weight[1] = weight[2] = 0.f; weight 397 modules/objdetect/src/cascadedetect.hpp float ret = weight[0] * CALC_SUM_OFS(ofs[0], ptr) + weight 398 modules/objdetect/src/cascadedetect.hpp weight[1] * CALC_SUM_OFS(ofs[1], ptr); weight 400 modules/objdetect/src/cascadedetect.hpp if( weight[2] != 0.0f ) weight 401 modules/objdetect/src/cascadedetect.hpp ret += weight[2] * CALC_SUM_OFS(ofs[2], ptr); weight 80 modules/objdetect/src/cascadedetect_convert.cpp rect[i].weight = 0.f; weight 87 modules/objdetect/src/cascadedetect_convert.cpp float weight; weight 168 modules/objdetect/src/cascadedetect_convert.cpp f.rect[k].weight = (float)rnode[4]; weight 250 modules/objdetect/src/cascadedetect_convert.cpp if( j >= 2 && fabs(f.rect[j].weight) < FLT_EPSILON ) weight 253 modules/objdetect/src/cascadedetect_convert.cpp f.rect[j].r.width << f.rect[j].r.height << f.rect[j].weight << "]"; weight 79 modules/objdetect/src/haar.cpp float weight; weight 324 modules/objdetect/src/haar.cpp if( fabs(feature->rect[2].weight) < DBL_EPSILON || weight 624 modules/objdetect/src/haar.cpp hidfeature->rect[k].weight = (float)(feature->rect[k].weight * correction_ratio); weight 629 modules/objdetect/src/haar.cpp sum0 += hidfeature->rect[k].weight * tr.width * tr.height; weight 632 modules/objdetect/src/haar.cpp hidfeature->rect[0].weight = (float)(-sum0/area0); weight 682 modules/objdetect/src/haar.cpp __m256 weight = _mm256_set_ps(nodes[7]->feature.rect[0].weight, weight 683 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[0].weight, weight 684 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[0].weight, weight 685 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[0].weight, weight 686 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[0].weight, weight 687 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[0].weight, weight 688 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[0].weight, weight 689 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[0].weight); weight 691 modules/objdetect/src/haar.cpp __m256 sum = _mm256_mul_ps(offset, weight); weight 702 modules/objdetect/src/haar.cpp weight = _mm256_set_ps(nodes[7]->feature.rect[1].weight, weight 703 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[1].weight, weight 704 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[1].weight, weight 705 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[1].weight, weight 706 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[1].weight, weight 707 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[1].weight, weight 708 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[1].weight, weight 709 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[1].weight); weight 711 modules/objdetect/src/haar.cpp sum = _mm256_add_ps(sum, _mm256_mul_ps(offset, weight)); weight 714 modules/objdetect/src/haar.cpp tmp[0] = calc_sumf(nodes[0]->feature.rect[2], p_offset) * nodes[0]->feature.rect[2].weight; weight 716 modules/objdetect/src/haar.cpp tmp[1] = calc_sumf(nodes[1]->feature.rect[2], p_offset) * nodes[1]->feature.rect[2].weight; weight 718 modules/objdetect/src/haar.cpp tmp[2] = calc_sumf(nodes[2]->feature.rect[2], p_offset) * nodes[2]->feature.rect[2].weight; weight 720 modules/objdetect/src/haar.cpp tmp[3] = calc_sumf(nodes[3]->feature.rect[2], p_offset) * nodes[3]->feature.rect[2].weight; weight 722 modules/objdetect/src/haar.cpp tmp[4] = calc_sumf(nodes[4]->feature.rect[2], p_offset) * nodes[4]->feature.rect[2].weight; weight 724 modules/objdetect/src/haar.cpp tmp[5] = calc_sumf(nodes[5]->feature.rect[2], p_offset) * nodes[5]->feature.rect[2].weight; weight 726 modules/objdetect/src/haar.cpp tmp[6] = calc_sumf(nodes[6]->feature.rect[2], p_offset) * nodes[6]->feature.rect[2].weight; weight 728 modules/objdetect/src/haar.cpp tmp[7] = calc_sumf(nodes[7]->feature.rect[2], p_offset) * nodes[7]->feature.rect[2].weight; weight 803 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; weight 804 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; weight 807 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; weight 953 modules/objdetect/src/haar.cpp __m256 weight = _mm256_set_ps(nodes[7]->feature.rect[0].weight, weight 954 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[0].weight, weight 955 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[0].weight, weight 956 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[0].weight, weight 957 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[0].weight, weight 958 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[0].weight, weight 959 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[0].weight, weight 960 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[0].weight); weight 962 modules/objdetect/src/haar.cpp __m256 sum = _mm256_mul_ps(offset, weight); weight 973 modules/objdetect/src/haar.cpp weight = _mm256_set_ps(nodes[7]->feature.rect[1].weight, weight 974 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[1].weight, weight 975 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[1].weight, weight 976 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[1].weight, weight 977 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[1].weight, weight 978 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[1].weight, weight 979 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[1].weight, weight 980 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[1].weight); weight 982 modules/objdetect/src/haar.cpp sum = _mm256_add_ps(sum, _mm256_mul_ps(offset,weight)); weight 1011 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; weight 1012 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; weight 1059 modules/objdetect/src/haar.cpp __m256 weight = _mm256_set_ps(nodes[7]->feature.rect[0].weight, weight 1060 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[0].weight, weight 1061 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[0].weight, weight 1062 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[0].weight, weight 1063 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[0].weight, weight 1064 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[0].weight, weight 1065 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[0].weight, weight 1066 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[0].weight); weight 1068 modules/objdetect/src/haar.cpp __m256 sum = _mm256_mul_ps(offset, weight); weight 1079 modules/objdetect/src/haar.cpp weight = _mm256_set_ps(nodes[7]->feature.rect[1].weight, weight 1080 modules/objdetect/src/haar.cpp nodes[6]->feature.rect[1].weight, weight 1081 modules/objdetect/src/haar.cpp nodes[5]->feature.rect[1].weight, weight 1082 modules/objdetect/src/haar.cpp nodes[4]->feature.rect[1].weight, weight 1083 modules/objdetect/src/haar.cpp nodes[3]->feature.rect[1].weight, weight 1084 modules/objdetect/src/haar.cpp nodes[2]->feature.rect[1].weight, weight 1085 modules/objdetect/src/haar.cpp nodes[1]->feature.rect[1].weight, weight 1086 modules/objdetect/src/haar.cpp nodes[0]->feature.rect[1].weight); weight 1088 modules/objdetect/src/haar.cpp sum = _mm256_add_ps(sum, _mm256_mul_ps(offset, weight)); weight 1091 modules/objdetect/src/haar.cpp tmp[0] = calc_sumf(nodes[0]->feature.rect[2],p_offset) * nodes[0]->feature.rect[2].weight; weight 1093 modules/objdetect/src/haar.cpp tmp[1] = calc_sumf(nodes[1]->feature.rect[2],p_offset) * nodes[1]->feature.rect[2].weight; weight 1095 modules/objdetect/src/haar.cpp tmp[2] = calc_sumf(nodes[2]->feature.rect[2],p_offset) * nodes[2]->feature.rect[2].weight; weight 1097 modules/objdetect/src/haar.cpp tmp[3] = calc_sumf(nodes[3]->feature.rect[2],p_offset) * nodes[3]->feature.rect[2].weight; weight 1099 modules/objdetect/src/haar.cpp tmp[4] = calc_sumf(nodes[4]->feature.rect[2],p_offset) * nodes[4]->feature.rect[2].weight; weight 1101 modules/objdetect/src/haar.cpp tmp[5] = calc_sumf(nodes[5]->feature.rect[2],p_offset) * nodes[5]->feature.rect[2].weight; weight 1103 modules/objdetect/src/haar.cpp tmp[6] = calc_sumf(nodes[6]->feature.rect[2],p_offset) * nodes[6]->feature.rect[2].weight; weight 1105 modules/objdetect/src/haar.cpp tmp[7] = calc_sumf(nodes[7]->feature.rect[2],p_offset) * nodes[7]->feature.rect[2].weight; weight 1139 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; weight 1140 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; weight 1142 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; weight 1168 modules/objdetect/src/haar.cpp __m128d sum = _mm_set_sd(calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight + weight 1169 modules/objdetect/src/haar.cpp calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight); weight 1184 modules/objdetect/src/haar.cpp double _sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; weight 1185 modules/objdetect/src/haar.cpp _sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; weight 1187 modules/objdetect/src/haar.cpp _sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; weight 1212 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; weight 1213 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; weight 1224 modules/objdetect/src/haar.cpp double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight; weight 1225 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight; weight 1227 modules/objdetect/src/haar.cpp sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight; weight 1880 modules/objdetect/src/haar.cpp &(classifier->haar_feature[l].rect[k].weight), &dl ); weight 2233 modules/objdetect/src/haar.cpp classifier->haar_feature[k].rect[l].weight = (float) fn->data.f; weight 2240 modules/objdetect/src/haar.cpp classifier->haar_feature[k].rect[l].weight = 0; weight 2451 modules/objdetect/src/haar.cpp cvWriteReal( fs, NULL, feature->rect[l].weight ); weight 270 modules/photo/src/calibrate.cpp Mat weight, radiance; weight 239 modules/photo/src/fast_nlmeans_denoising_invoker.hpp WT weight = almost_dist2weight_[almostAvgDist]; weight 241 modules/photo/src/fast_nlmeans_denoising_invoker.hpp incWithWeight<T, IT, WT>(estimation, weights_sum, weight, p); weight 141 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp WT weight = (WT)cvRound(fixed_point_mult * w); weight 142 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp if (weight < WEIGHT_THRESHOLD * fixed_point_mult) weight = 0; weight 144 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return weight; weight 263 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp WT weight = (WT)cvRound(fixed_point_mult * w); weight 264 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp if (weight < WEIGHT_THRESHOLD * fixed_point_mult) weight = 0; weight 266 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return weight; weight 318 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, WT weight, T p) weight 320 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight * p; weight 321 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight; weight 327 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, WT weight, Vec<ET, 2> p) weight 329 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight * p[0]; weight 330 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[1] += (IT)weight * p[1]; weight 331 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight; weight 337 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, WT weight, Vec<ET, 3> p) weight 339 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight * p[0]; weight 340 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[1] += (IT)weight * p[1]; weight 341 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[2] += (IT)weight * p[2]; weight 342 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight; weight 348 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, WT weight, Vec<ET, 4> p) weight 350 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight * p[0]; weight 351 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[1] += (IT)weight * p[1]; weight 352 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[2] += (IT)weight * p[2]; weight 353 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[3] += (IT)weight * p[3]; weight 354 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight; weight 360 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, Vec<EW, 2> weight, Vec<ET, 2> p) weight 362 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight[0] * p[0]; weight 363 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[1] += (IT)weight[1] * p[1]; weight 364 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight[0]; weight 365 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[1] += (IT)weight[1]; weight 371 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, Vec<EW, 3> weight, Vec<ET, 3> p) weight 373 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight[0] * p[0]; weight 374 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[1] += (IT)weight[1] * p[1]; weight 375 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[2] += (IT)weight[2] * p[2]; weight 376 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight[0]; weight 377 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[1] += (IT)weight[1]; weight 378 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[2] += (IT)weight[2]; weight 384 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void f(IT* estimation, IT* weights_sum, Vec<EW, 4> weight, Vec<ET, 4> p) weight 386 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[0] += (IT)weight[0] * p[0]; weight 387 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[1] += (IT)weight[1] * p[1]; weight 388 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[2] += (IT)weight[2] * p[2]; weight 389 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp estimation[3] += (IT)weight[3] * p[3]; weight 390 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[0] += (IT)weight[0]; weight 391 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[1] += (IT)weight[1]; weight 392 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[2] += (IT)weight[2]; weight 393 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp weights_sum[3] += (IT)weight[3]; weight 398 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp static inline void incWithWeight(IT* estimation, IT* weights_sum, WT weight, T p) weight 400 modules/photo/src/fast_nlmeans_denoising_invoker_commons.hpp return incWithWeight_<T, IT, WT>::f(estimation, weights_sum, weight, p); weight 265 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp WT weight = almost_dist2weight[almostAvgDist]; weight 267 modules/photo/src/fast_nlmeans_multi_denoising_invoker.hpp incWithWeight<T, IT, WT>(estimation, weights_sum, weight, p); weight 74 modules/photo/src/hdr_common.cpp Mat weight(LDR_SIZE, 1, CV_32FC3); weight 79 modules/photo/src/hdr_common.cpp weight.at<Vec3f>(i) = Vec3f::all(value); weight 81 modules/photo/src/hdr_common.cpp return weight; weight 327 modules/photo/src/merge.cpp LUT(images[i], weight, w); weight 343 modules/photo/src/merge.cpp Mat weight; weight 147 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS normalizeUsingWeightMap(InputArray weight, InputOutputArray src); weight 149 modules/stitching/include/opencv2/stitching/detail/blenders.hpp void CV_EXPORTS createWeightMap(InputArray mask, float sharpness, InputOutputArray weight); weight 124 modules/stitching/include/opencv2/stitching/detail/util.hpp GraphEdge(int from, int to, float weight); weight 125 modules/stitching/include/opencv2/stitching/detail/util.hpp bool operator <(const GraphEdge& other) const { return weight < other.weight; } weight 126 modules/stitching/include/opencv2/stitching/detail/util.hpp bool operator >(const GraphEdge& other) const { return weight > other.weight; } weight 129 modules/stitching/include/opencv2/stitching/detail/util.hpp float weight; weight 141 modules/stitching/include/opencv2/stitching/detail/util.hpp void addEdge(int from, int to, float weight); weight 480 modules/stitching/src/blenders.cpp Mat weight; weight 483 modules/stitching/src/blenders.cpp weight = _weight.getMat(); weight 484 modules/stitching/src/blenders.cpp if(tegra::useTegra() && tegra::normalizeUsingWeightMap(weight, src)) weight 494 modules/stitching/src/blenders.cpp weight = _weight.getMat(); weight 498 modules/stitching/src/blenders.cpp if (weight.type() == CV_32FC1) weight 503 modules/stitching/src/blenders.cpp const float *weight_row = weight.ptr<float>(y); weight 515 modules/stitching/src/blenders.cpp CV_Assert(weight.type() == CV_16SC1); weight 519 modules/stitching/src/blenders.cpp const short *weight_row = weight.ptr<short>(y); weight 541 modules/stitching/src/blenders.cpp void createWeightMap(InputArray mask, float sharpness, InputOutputArray weight) weight 544 modules/stitching/src/blenders.cpp distanceTransform(mask, weight, DIST_L1, 3); weight 546 modules/stitching/src/blenders.cpp multiply(weight, sharpness, tmp); weight 547 modules/stitching/src/blenders.cpp threshold(tmp, weight, 1.f, 1.f, THRESH_TRUNC); weight 844 modules/stitching/src/motion_estimators.cpp span_tree.addEdge(edges[i].from, edges[i].to, edges[i].weight); weight 845 modules/stitching/src/motion_estimators.cpp span_tree.addEdge(edges[i].to, edges[i].from, edges[i].weight); weight 1141 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1146 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1147 modules/stitching/src/seam_finders.cpp graph.addEdges(v, v + 1, weight, weight); weight 1151 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1156 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1157 modules/stitching/src/seam_finders.cpp graph.addEdges(v, v + img_size.width, weight, weight); weight 1193 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1198 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1199 modules/stitching/src/seam_finders.cpp graph.addEdges(v, v + 1, weight, weight); weight 1205 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1210 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1211 modules/stitching/src/seam_finders.cpp graph.addEdges(v, v + img_size.width, weight, weight); weight 1501 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x - 1), img2.at<Point3f>(y, x - 1)) + weight 1506 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1507 modules/stitching/src/seam_finders.cpp leftT_(x, y) = saturate_cast<int>(weight * 255.f); weight 1514 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1519 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1520 modules/stitching/src/seam_finders.cpp rightT_(x, y) = saturate_cast<int>(weight * 255.f); weight 1527 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y - 1, x), img2.at<Point3f>(y - 1, x)) + weight 1532 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1533 modules/stitching/src/seam_finders.cpp top_(y, x) = saturate_cast<int>(weight * 255.f); weight 1540 modules/stitching/src/seam_finders.cpp float weight = normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1545 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1546 modules/stitching/src/seam_finders.cpp bottom_(y, x) = saturate_cast<int>(weight * 255.f); weight 1595 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x - 1), img2.at<Point3f>(y, x - 1)) + weight 1600 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1601 modules/stitching/src/seam_finders.cpp leftT_(x, y) = saturate_cast<int>(weight * 255.f); weight 1610 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1615 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1616 modules/stitching/src/seam_finders.cpp rightT_(x, y) = saturate_cast<int>(weight * 255.f); weight 1625 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y - 1, x), img2.at<Point3f>(y - 1, x)) + weight 1630 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1631 modules/stitching/src/seam_finders.cpp top_(y, x) = saturate_cast<int>(weight * 255.f); weight 1640 modules/stitching/src/seam_finders.cpp float weight = (normL2(img1.at<Point3f>(y, x), img2.at<Point3f>(y, x)) + weight 1645 modules/stitching/src/seam_finders.cpp weight += bad_region_penalty_; weight 1646 modules/stitching/src/seam_finders.cpp bottom_(y, x) = saturate_cast<int>(weight * 255.f); weight 95 modules/stitching/src/util.cpp void Graph::addEdge(int from, int to, float weight) weight 97 modules/stitching/src/util.cpp edges_[from].push_back(GraphEdge(from, to, weight)); weight 453 modules/video/src/bgfg_gaussmix2.cpp float weight; weight 500 modules/video/src/bgfg_gaussmix2.cpp tWeight += g.weight; weight 590 modules/video/src/bgfg_gaussmix2.cpp float weight = alpha1*gmm[mode].weight + prune;//need only weight if fit is found weight 633 modules/video/src/bgfg_gaussmix2.cpp weight += alphaT; weight 634 modules/video/src/bgfg_gaussmix2.cpp float k = alphaT/weight; weight 653 modules/video/src/bgfg_gaussmix2.cpp if( weight < gmm[i-1].weight ) weight 668 modules/video/src/bgfg_gaussmix2.cpp if( weight < -prune ) weight 670 modules/video/src/bgfg_gaussmix2.cpp weight = 0.0; weight 674 modules/video/src/bgfg_gaussmix2.cpp gmm[mode-swap_count].weight = weight;//update weight by the calculated value weight 675 modules/video/src/bgfg_gaussmix2.cpp totalWeight += weight; weight 684 modules/video/src/bgfg_gaussmix2.cpp gmm[mode].weight *= totalWeight; weight 696 modules/video/src/bgfg_gaussmix2.cpp gmm[mode].weight = 1.f; weight 699 modules/video/src/bgfg_gaussmix2.cpp gmm[mode].weight = alphaT; weight 703 modules/video/src/bgfg_gaussmix2.cpp gmm[i].weight *= alpha1; weight 717 modules/video/src/bgfg_gaussmix2.cpp if( alphaT < gmm[i-1].weight ) weight 886 modules/video/src/bgfg_gaussmix2.cpp meanVal[chn] += gaussian.weight * mean[meanPosition + chn]; weight 888 modules/video/src/bgfg_gaussmix2.cpp totalWeight += gaussian.weight;