Matches.h
Go to the documentation of this file.
00001 
00024 #ifndef __D_MATCHES__
00025 #define __D_MATCHES__
00026 
00027 #include <vector>
00028 #include <string>
00029 #include "SurfSet.h"
00030 
00031 namespace DVision {
00032 
00034 class Matches
00035 {
00036 public:
00037 
00046   static void Save(const std::string &filename,
00047     const SurfSet &s1, const SurfSet &s2,
00048     const std::vector<int> &c1, const std::vector<int> &c2);
00049 
00058   static void Load(const std::string &filename,
00059     SurfSet &s1, SurfSet &s2,
00060     std::vector<int> &c1, std::vector<int> &c2);
00061 
00068   static void Save(const std::string &filename,
00069     const std::vector<int> &c1, const std::vector<int> &c2);
00070   
00077   static void Load(const std::string &filename,
00078     std::vector<int> &c1, std::vector<int> &c2);
00079 
00080   
00087   static void Load(const std::string &filename,
00088     std::vector<unsigned int> &c1, std::vector<unsigned int> &c2);
00089 protected:
00090   
00097   static void save(cv::FileStorage &fs, const std::vector<int> &c1, 
00098     const std::vector<int> &c2);
00099 
00106   static void load(cv::FileStorage &fs, std::vector<int> &c1, 
00107     std::vector<int> &c2);
00108 
00109 };
00110 
00111 }
00112 
00113 #endif


re_vision
Author(s): Dorian Galvez-Lopez
autogenerated on Sun Jan 5 2014 11:31:52