Lines Matching refs:img_idx
176 for (int img_idx = 0; img_idx < num_images; ++img_idx) in feed() local
178 Size bl_per_img((images[img_idx].cols + bl_width_ - 1) / bl_width_, in feed()
179 (images[img_idx].rows + bl_height_ - 1) / bl_height_); in feed()
180 int bl_width = (images[img_idx].cols + bl_per_img.width - 1) / bl_per_img.width; in feed()
181 int bl_height = (images[img_idx].rows + bl_per_img.height - 1) / bl_per_img.height; in feed()
182 bl_per_imgs[img_idx] = bl_per_img; in feed()
188 Point bl_br(std::min(bl_tl.x + bl_width, images[img_idx].cols), in feed()
189 std::min(bl_tl.y + bl_height, images[img_idx].rows)); in feed()
191 block_corners.push_back(corners[img_idx] + bl_tl); in feed()
192 block_images.push_back(images[img_idx](Rect(bl_tl, bl_br))); in feed()
193 block_masks.push_back(std::make_pair(masks[img_idx].first(Rect(bl_tl, bl_br)), in feed()
194 masks[img_idx].second)); in feed()
208 for (int img_idx = 0; img_idx < num_images; ++img_idx) in feed() local
210 Size bl_per_img = bl_per_imgs[img_idx]; in feed()
211 gain_maps_[img_idx].create(bl_per_img, CV_32F); in feed()
214 Mat_<float> gain_map = gain_maps_[img_idx].getMat(ACCESS_WRITE); in feed()
220 sepFilter2D(gain_maps_[img_idx], gain_maps_[img_idx], CV_32F, ker, ker); in feed()
221 sepFilter2D(gain_maps_[img_idx], gain_maps_[img_idx], CV_32F, ker, ker); in feed()