Home
last modified time | relevance | path

Searched refs:img_idx (Results 1 – 6 of 6) sorted by relevance

/external/opencv3/modules/stitching/src/
Dexposure_compensate.cpp176 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()
[all …]
Dstitcher.cpp220 for (size_t img_idx = 0; img_idx < imgs_.size(); ++img_idx) in composePanorama() local
222 LOGLN("Compositing image #" << indices_[img_idx] + 1); in composePanorama()
228 full_img = imgs_[img_idx]; in composePanorama()
282 cameras_[img_idx].K().convertTo(K, CV_32F); in composePanorama()
288 w->warp(img, K, cameras_[img_idx].R, INTER_LINEAR, BORDER_CONSTANT, img_warped); in composePanorama()
297 w->warp(mask, K, cameras_[img_idx].R, INTER_NEAREST, BORDER_CONSTANT, mask_warped); in composePanorama()
304 exposure_comp_->apply((int)img_idx, corners[img_idx], img_warped, mask_warped); in composePanorama()
316 dilate(masks_warped[img_idx], dilated_mask, Mat()); in composePanorama()
339 blender_->feed(img_warped_s, mask_warped, corners[img_idx]); in composePanorama()
442 features_[i].img_idx = (int)i; in matchImages()
/external/opencv3/samples/cpp/
Dstitching_detailed.cpp443 features[i].img_idx = i; in main()
722 for (int img_idx = 0; img_idx < num_images; ++img_idx) in main() local
724 LOGLN("Compositing image #" << indices[img_idx]+1); in main()
727 full_img = imread(img_names[img_idx]); in main()
773 cameras[img_idx].K().convertTo(K, CV_32F); in main()
776 warper->warp(img, K, cameras[img_idx].R, INTER_LINEAR, BORDER_REFLECT, img_warped); in main()
781 warper->warp(mask, K, cameras[img_idx].R, INTER_NEAREST, BORDER_CONSTANT, mask_warped); in main()
784 compensator->apply(img_idx, corners[img_idx], img_warped, mask_warped); in main()
791 dilate(masks_warped[img_idx], dilated_mask, Mat()); in main()
826 … timelapser->process(img_warped_s, Mat::ones(img_warped_s.size(), CV_8UC1), corners[img_idx]); in main()
[all …]
/external/libusb/examples/
Ddpfp.c65 static int img_idx = 0; variable
229 sprintf(filename, "finger%d.pgm", img_idx++); in save_to_file()
Ddpfp_threaded.c66 static int img_idx = 0; variable
258 sprintf(filename, "finger%d.pgm", img_idx++); in save_to_file()
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/
Dmatchers.hpp64 int img_idx; member