Lines Matching refs:num_bands_
223 num_bands_ = std::min(actual_num_bands_, static_cast<int>(ceil(std::log(max_len) / std::log(2.0))));
225 // Add border to the final image, to ensure sizes are divided by (1 << num_bands_)
226 dst_roi.width += ((1 << num_bands_) - dst_roi.width % (1 << num_bands_)) % (1 << num_bands_);
227 dst_roi.height += ((1 << num_bands_) - dst_roi.height % (1 << num_bands_)) % (1 << num_bands_);
231 dst_pyr_laplace_.resize(num_bands_ + 1);
234 dst_band_weights_.resize(num_bands_ + 1);
238 for (int i = 1; i <= num_bands_; ++i)
286 int gap = 3 * (1 << num_bands_);
292 // Ensure coordinates of top-left, bottom-right corners are divided by (1 << num_bands_).
297 tl_new.x = dst_roi_.x + (((tl_new.x - dst_roi_.x) >> num_bands_) << num_bands_);
298 tl_new.y = dst_roi_.y + (((tl_new.y - dst_roi_.y) >> num_bands_) << num_bands_);
301 width += ((1 << num_bands_) - width % (1 << num_bands_)) % (1 << num_bands_);
302 height += ((1 << num_bands_) - height % (1 << num_bands_)) % (1 << num_bands_);
326 createLaplacePyrGpu(img_with_border, num_bands_, src_pyr_laplace);
328 createLaplacePyr(img_with_border, num_bands_, src_pyr_laplace);
337 std::vector<UMat> weight_pyr_gauss(num_bands_ + 1);
353 for (int i = 0; i < num_bands_; ++i)
367 for (int i = 0; i <= num_bands_; ++i)
434 for (int i = 0; i <= num_bands_; ++i)