minor fixes in stitching module

This commit is contained in:
Alexey Spizhevoy 2011-09-06 09:31:54 +00:00
parent b0fe660d5b
commit ca8c5b633c
3 changed files with 6 additions and 0 deletions

View File

@ -51,6 +51,8 @@ namespace cv
class CV_EXPORTS Blender class CV_EXPORTS Blender
{ {
public: public:
virtual ~Blender() {}
enum { NO, FEATHER, MULTI_BAND }; enum { NO, FEATHER, MULTI_BAND };
static Ptr<Blender> createDefault(int type, bool try_gpu = false); static Ptr<Blender> createDefault(int type, bool try_gpu = false);

View File

@ -50,6 +50,8 @@ namespace cv
class CV_EXPORTS ExposureCompensator class CV_EXPORTS ExposureCompensator
{ {
public: public:
virtual ~ExposureCompensator() {}
enum { NO, GAIN, GAIN_BLOCKS }; enum { NO, GAIN, GAIN_BLOCKS };
static Ptr<ExposureCompensator> createDefault(int type); static Ptr<ExposureCompensator> createDefault(int type);

View File

@ -53,6 +53,8 @@ namespace cv
class CV_EXPORTS Estimator class CV_EXPORTS Estimator
{ {
public: public:
virtual ~Estimator() {}
void operator ()(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches, void operator ()(const std::vector<ImageFeatures> &features, const std::vector<MatchesInfo> &pairwise_matches,
std::vector<CameraParams> &cameras) std::vector<CameraParams> &cameras)
{ {