Lines Matching refs:weight
59 int weight;
304 if( fabs(feature->rect[2].weight) < DBL_EPSILON ||
360 ipp_weights[k] = classifier->haar_feature->rect[l].weight*ipp_weight_scale;
413 double sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight;
414 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight;
417 sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight;
563 int sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight;
564 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight;
575 int sum = calc_sum(node->feature.rect[0],p_offset) * node->feature.rect[0].weight;
576 sum += calc_sum(node->feature.rect[1],p_offset) * node->feature.rect[1].weight;
578 sum += calc_sum(node->feature.rect[2],p_offset) * node->feature.rect[2].weight;
847 // hidfeature->rect[k].weight = (float)(feature->rect[k].weight * correction_ratio);
848 tmpweight[k] = (float)(feature->rect[k].weight * correction_ratio);
853 // sum0 += hidfeature->rect[k].weight * tr.width * tr.height;
859 for(int ii = 0; ii < nr; hidfeature->rect[ii].weight = (int)(tmpweight[ii] * 65536.0), ii++);