|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __OPENCV_STITCHING_PRECOMP_H__
|
|
|
#define __OPENCV_STITCHING_PRECOMP_H__
|
|
|
|
|
|
#include "opencv2/opencv_modules.hpp"
|
|
|
|
|
|
#include <array>
|
|
|
#include <vector>
|
|
|
#include <algorithm>
|
|
|
#include <utility>
|
|
|
#include <set>
|
|
|
#include <functional>
|
|
|
#include <sstream>
|
|
|
#include <iostream>
|
|
|
#include <cmath>
|
|
|
#include "opencv2/core.hpp"
|
|
|
#include "opencv2/core/ocl.hpp"
|
|
|
#include "opencv2/core/utility.hpp"
|
|
|
#include "opencv2/stitching.hpp"
|
|
|
#include "opencv2/stitching/detail/autocalib.hpp"
|
|
|
#include "opencv2/stitching/detail/blenders.hpp"
|
|
|
#include "opencv2/stitching/detail/timelapsers.hpp"
|
|
|
#include "opencv2/stitching/detail/camera.hpp"
|
|
|
#include "opencv2/stitching/detail/exposure_compensate.hpp"
|
|
|
#include "opencv2/stitching/detail/matchers.hpp"
|
|
|
#include "opencv2/stitching/detail/motion_estimators.hpp"
|
|
|
#include "opencv2/stitching/detail/seam_finders.hpp"
|
|
|
#include "opencv2/stitching/detail/util.hpp"
|
|
|
#include "opencv2/stitching/detail/warpers.hpp"
|
|
|
#include "opencv2/imgproc.hpp"
|
|
|
#include "opencv2/features2d.hpp"
|
|
|
#include "opencv2/calib3d.hpp"
|
|
|
|
|
|
#ifdef HAVE_OPENCV_CUDAARITHM
|
|
|
# include "opencv2/cudaarithm.hpp"
|
|
|
#endif
|
|
|
|
|
|
#ifdef HAVE_OPENCV_CUDAWARPING
|
|
|
# include "opencv2/cudawarping.hpp"
|
|
|
#endif
|
|
|
|
|
|
#ifdef HAVE_OPENCV_CUDAFEATURES2D
|
|
|
# include "opencv2/cudafeatures2d.hpp"
|
|
|
#endif
|
|
|
|
|
|
#ifdef HAVE_OPENCV_CUDALEGACY
|
|
|
# include "opencv2/cudalegacy.hpp"
|
|
|
#endif
|
|
|
|
|
|
#include "opencv2/core/private.hpp"
|
|
|
|
|
|
#include "util_log.hpp"
|
|
|
|
|
|
#endif
|
|
|
|