00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00024
00025 #include <QMetaType>
00026 #include <QDebug>
00027 #include <QPair>
00028
00029 #include <QVRANSAC>
00030 #include <QVPROSAC>
00031
00032 #include <culebrillas.h>
00033
00034 #ifndef FEATURETRACKER_H
00035 #define FEATURETRACKER_H
00036
00037 #ifndef DOXYGEN_IGNORE_THIS
00038 class FeatureEuclideanTracker: public QVWorker
00039 {
00040 private:
00041 QList<QPointF> lastPoints;
00042 CulebrillaContainer culebrillas;
00043 double ransacIterations, varIterations;
00044 int ignoredFrames;
00045 QVMatrix previousH;
00046
00047 public:
00048 FeatureEuclideanTracker(QString name);
00049 void iterate();
00050 };
00051
00052 class FeatureEuclideanMatcher: public QVWorker
00053 {
00054 private:
00055 QList<QPointF> lastPoints;
00056 CulebrillaContainer culebrillas;
00057 double ransacIterations, varIterations;
00058 int ignoredFrames;
00059 QVMatrix previousH;
00060
00061 public:
00062 FeatureEuclideanMatcher(QString name);
00063 void iterate();
00064 };
00065 #endif
00066
00067 Q_DECLARE_METATYPE(QList<sFloat>);
00068
00069 #endif