Go to the documentation of this file.00001 #ifndef MAPSTITCH_H
00002 #define MAPSTITCH_H
00003
00004 #include <stdio.h>
00005 #include <math.h>
00006 #include <opencv/cv.h>
00007
00008 using namespace cv;
00009 using namespace std;
00010
00011 class StitchedMap
00012 {
00013 public:
00014 StitchedMap(Mat &im1, Mat &im2, float max_distance=5.);
00015 ~StitchedMap();
00016
00017 Mat get_debug();
00018 Mat get_stitch();
00019
00020 Mat H;
00021 Mat image1, image2,
00022 dscv1, dscv2;
00023
00024 vector<KeyPoint> kpv1,kpv2;
00025 vector<KeyPoint> fil1,fil2;
00026 vector<Point2f> coord1,coord2;
00027 vector<DMatch> matches;
00028
00029 double rotation,transx,transy,scalex,scaley;
00030 };
00031
00032 #endif // MAPSTITCH_H