Home | History | Annotate | Download | only in src

Lines Matching full:weight_row

148         const float* weight_row = weight_map.ptr<float>(y);
153 dst_row[dx + x].x += static_cast<short>(src_row[x].x * weight_row[x]);
154 dst_row[dx + x].y += static_cast<short>(src_row[x].y * weight_row[x]);
155 dst_row[dx + x].z += static_cast<short>(src_row[x].z * weight_row[x]);
156 dst_weight_row[dx + x] += weight_row[x];
386 const float* weight_row = _weight_pyr_gauss.ptr<float>(y);
391 dst_row[x].x += static_cast<short>(src_row[x].x * weight_row[x]);
392 dst_row[x].y += static_cast<short>(src_row[x].y * weight_row[x]);
393 dst_row[x].z += static_cast<short>(src_row[x].z * weight_row[x]);
394 dst_weight_row[x] += weight_row[x];
404 const short* weight_row = _weight_pyr_gauss.ptr<short>(y);
409 dst_row[x].x += short((src_row[x].x * weight_row[x]) >> 8);
410 dst_row[x].y += short((src_row[x].y * weight_row[x]) >> 8);
411 dst_row[x].z += short((src_row[x].z * weight_row[x]) >> 8);
412 dst_weight_row[x] += weight_row[x];
503 const float *weight_row = weight.ptr<float>(y);
507 row[x].x = static_cast<short>(row[x].x / (weight_row[x] + WEIGHT_EPS));
508 row[x].y = static_cast<short>(row[x].y / (weight_row[x] + WEIGHT_EPS));
509 row[x].z = static_cast<short>(row[x].z / (weight_row[x] + WEIGHT_EPS));
519 const short *weight_row = weight.ptr<short>(y);
524 int w = weight_row[x] + 1;