00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00024
00025 #include <QVWorker>
00026 #include <qvipp.h>
00027 #include <QVIndexedStringList>
00028
00029 #ifndef QVIPPWORKERS_H
00030 #define QVIPPWORKERS_H
00031
00039 const QStringList getQVIPPWorkersNames();
00040
00054 QVPropertyContainer *newQVIPPWorker(QString type, QString name);
00055
00060 template <typename TYPE> class QVIPPCopyP3C3Worker: public QVWorker
00061 {
00062 public:
00063 QVIPPCopyP3C3Worker(QString name);
00064 void iterate();
00065 };
00066
00071 template <typename TYPE> class QVIPPCopyC3P3Worker: public QVWorker
00072 {
00073 public:
00074 QVIPPCopyC3P3Worker(QString name);
00075 void iterate();
00076 };
00077
00082 template <typename TYPE, int C> class QVIPPDilate3x3Worker: public QVWorker
00083 {
00084 public:
00085 QVIPPDilate3x3Worker(QString name);
00086 void iterate();
00087 };
00088
00093 template <typename TYPE, int C> class QVIPPErode3x3Worker: public QVWorker
00094 {
00095 public:
00096 QVIPPErode3x3Worker(QString name);
00097 void iterate();
00098 };
00099
00104 template <typename TYPE, int C> class QVIPPComputeThreshold_OtsuWorker: public QVWorker
00105 {
00106 public:
00107 QVIPPComputeThreshold_OtsuWorker(QString name);
00108 void iterate();
00109 };
00110
00115 template <typename TYPE, int C> class QVIPPAddRandUniform_DirectWorker: public QVWorker
00116 {
00117 private:
00118 unsigned int seed;
00119
00120 public:
00121 QVIPPAddRandUniform_DirectWorker(QString name);
00122 void iterate();
00123 };
00124
00129 template <typename TYPE, int C> class QVIPPFilterBoxWorker: public QVWorker
00130 {
00131 public:
00132 QVIPPFilterBoxWorker(QString name);
00133 void iterate();
00134 };
00135
00140 template <typename TYPE, int C> class QVIPPFilterMedianWorker: public QVWorker
00141 {
00142 public:
00143 QVIPPFilterMedianWorker(QString name);
00144 void iterate();
00145 };
00146
00151 template <typename TYPE, int C> class QVIPPFilterMaxWorker: public QVWorker
00152 {
00153 public:
00154 QVIPPFilterMaxWorker(QString name);
00155 void iterate();
00156 };
00157
00162 template <typename TYPE, int C> class QVIPPFilterMinWorker: public QVWorker
00163 {
00164 public:
00165 QVIPPFilterMinWorker(QString name);
00166 void iterate();
00167 };
00168
00173 template <typename TYPE, int C> class QVIPPFilterGaussWorker: public QVWorker
00174 {
00175 public:
00176 QVIPPFilterGaussWorker(QString name);
00177 void iterate();
00178 };
00179
00184 template <typename TYPE, int C> class QVIPPFilterHipassWorker: public QVWorker
00185 {
00186 public:
00187 QVIPPFilterHipassWorker(QString name);
00188 void iterate();
00189 };
00190
00195 template <typename TYPE, int C> class QVIPPAddWorker: public QVWorker
00196 {
00197 public:
00198 QVIPPAddWorker(QString name);
00199 void iterate();
00200 };
00201
00206 template <typename TYPE, int C> class QVIPPAbsDiffWorker: public QVWorker
00207 {
00208 public:
00209 QVIPPAbsDiffWorker(QString name);
00210 void iterate();
00211 };
00212
00217 template <typename TYPE, int C> class QVIPPAddCWorker: public QVWorker
00218 {
00219 public:
00220 QVIPPAddCWorker(QString name);
00221 void iterate();
00222 };
00223
00228 template <typename TYPE, int C> class QVIPPCompareCWorker: public QVWorker
00229 {
00230 public:
00231 QVIPPCompareCWorker(QString name);
00232 void iterate();
00233 };
00234
00235 #endif