Searched refs:compose_scale (Results 1 – 2 of 2) sorted by relevance
/external/opencv3/modules/stitching/src/ |
D | stitcher.cpp | 216 double compose_scale = 1; in composePanorama() local 232 … compose_scale = std::min(1.0, std::sqrt(compose_resol_ * 1e6 / full_img.size().area())); in composePanorama() 237 compose_work_aspect = compose_scale / work_scale_; in composePanorama() 253 if (std::abs(compose_scale - 1) > 1e-1) in composePanorama() 255 sz.width = cvRound(full_img_sizes_[i].width * compose_scale); in composePanorama() 256 sz.height = cvRound(full_img_sizes_[i].height * compose_scale); in composePanorama() 266 if (std::abs(compose_scale - 1) > 1e-1) in composePanorama() 271 resize(full_img, img, Size(), compose_scale, compose_scale); in composePanorama()
|
/external/opencv3/samples/cpp/ |
D | stitching_detailed.cpp | 376 double work_scale = 1, seam_scale = 1, compose_scale = 1; in main() local 731 compose_scale = min(1.0, sqrt(compose_megapix * 1e6 / full_img.size().area())); in main() 736 compose_work_aspect = compose_scale / work_scale; in main() 752 if (std::abs(compose_scale - 1) > 1e-1) in main() 754 sz.width = cvRound(full_img_sizes[i].width * compose_scale); in main() 755 sz.height = cvRound(full_img_sizes[i].height * compose_scale); in main() 765 if (abs(compose_scale - 1) > 1e-1) in main() 766 resize(full_img, img, Size(), compose_scale, compose_scale); in main()
|