AutoCtrlPointCreator.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00022 #ifndef _AUTOCTRLPOINTCREATOR_H
00023 #define _AUTOCTRLPOINTCREATOR_H
00024 
00025 #include <string>
00026 #include <map>
00027 
00028 #include <hugin_shared.h>
00029 #include "CPDetectorConfig.h"
00030 #include "panodata/Panorama.h"
00031 #include "panodata/ControlPoint.h"
00032 #include "panoinc_WX.h"
00033 
00037 class ICPIMPEX AutoCtrlPointCreator
00038 {
00039 public:
00040 
00043     AutoCtrlPointCreator() {};
00044 
00047     virtual ~AutoCtrlPointCreator() {};
00048 
00052     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00053                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00054     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00055                            int nFeatures, wxWindow *parent=NULL);
00056     virtual void Cleanup(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00057                            std::vector<wxString> &keyFiles, wxWindow *parent=NULL);
00058 
00059 protected:
00060     HuginBase::CPVector readUpdatedControlPoints(const std::string & file,
00061                                   HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs, bool reordered);
00062 };
00063 
00065 class ICPIMPEX AutoPanoSift : public AutoCtrlPointCreator
00066 {
00067 public:
00068 
00071     AutoPanoSift() {};
00072 
00075     virtual ~AutoPanoSift() {} ;
00076 
00077     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00078                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00079     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00080                            int nFeatures, std::vector<wxString> &keyFiles, int & ret_value, wxWindow *parent=NULL);
00081 };
00082 
00084 class ICPIMPEX AutoPanoKolor : public AutoCtrlPointCreator
00085 {
00086 public:
00087 
00090     AutoPanoKolor() {};
00091 
00094     virtual ~AutoPanoKolor() {} ;
00095 
00096     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00097                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00098 };
00099 
00101 class ICPIMPEX AutoPanoSiftStack : public AutoCtrlPointCreator
00102 {
00103 public:
00104 
00107     AutoPanoSiftStack() {};
00108 
00111     virtual ~AutoPanoSiftStack() {} ;
00112 
00113     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00114                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00115 };
00116 
00118 class ICPIMPEX AutoPanoSiftMultiRow : public AutoCtrlPointCreator
00119 {
00120 public:
00121 
00124     AutoPanoSiftMultiRow() {};
00125 
00128     virtual ~AutoPanoSiftMultiRow() {} ;
00129 
00130     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00131                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00132 };
00133 
00135 class ICPIMPEX AutoPanoSiftMultiRowStack : public AutoCtrlPointCreator
00136 {
00137 public:
00138 
00141     AutoPanoSiftMultiRowStack() {};
00142 
00145     virtual ~AutoPanoSiftMultiRowStack() {} ;
00146 
00147     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00148                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00149 };
00150 
00152 class ICPIMPEX AutoPanoSiftPreAlign : public AutoCtrlPointCreator
00153 {
00154 public:
00155 
00158     AutoPanoSiftPreAlign() {};
00159 
00162     virtual ~AutoPanoSiftPreAlign() {} ;
00163 
00164     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00165                            int nFeatures, int & ret_value, wxWindow *parent=NULL);
00166     virtual HuginBase::CPVector automatch(CPDetectorSetting &setting, HuginBase::Panorama & pano, const HuginBase::UIntSet & imgs,
00167                            int nFeatures, std::vector<wxString> &keyFiles, int & ret_value, wxWindow *parent=NULL);
00168 };
00169 
00170 #endif // _AUTOCTRLPOINTCREATOR_H

Generated on 4 Sep 2015 for Hugintrunk by  doxygen 1.4.7