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
00056 char *QVIPPWorkerName(QVPropertyContainer *cont);
00057
00062 template <typename TYPE> class QVIPPCopyP3C3Worker: public QVWorker
00063 {
00064 public:
00065 QVIPPCopyP3C3Worker(QString name);
00066 void iterate();
00067 };
00068
00073 template <typename TYPE> class QVIPPCopyC3P3Worker: public QVWorker
00074 {
00075 public:
00076 QVIPPCopyC3P3Worker(QString name);
00077 void iterate();
00078 };
00079
00084 template <typename TYPE, int C> class QVIPPDilate3x3Worker: public QVWorker
00085 {
00086 public:
00087 QVIPPDilate3x3Worker(QString name);
00088 void iterate();
00089 };
00090
00095 template <typename TYPE, int C> class QVIPPErode3x3Worker: public QVWorker
00096 {
00097 public:
00098 QVIPPErode3x3Worker(QString name);
00099 void iterate();
00100 };
00101
00106 template <typename TYPE, int C> class QVIPPComputeThreshold_OtsuWorker: public QVWorker
00107 {
00108 public:
00109 QVIPPComputeThreshold_OtsuWorker(QString name);
00110 void iterate();
00111 };
00112
00117 template <typename TYPE, int C> class QVIPPAddRandUniform_DirectWorker: public QVWorker
00118 {
00119 private:
00120 unsigned int seed;
00121
00122 public:
00123 QVIPPAddRandUniform_DirectWorker(QString name);
00124 void iterate();
00125 };
00126
00131 template <typename TYPE, int C> class QVIPPFilterBoxWorker: public QVWorker
00132 {
00133 public:
00134 QVIPPFilterBoxWorker(QString name);
00135 void iterate();
00136 };
00137
00142 template <typename TYPE, int C> class QVIPPFilterMedianWorker: public QVWorker
00143 {
00144 public:
00145 QVIPPFilterMedianWorker(QString name);
00146 void iterate();
00147 };
00148
00153 template <typename TYPE, int C> class QVIPPFilterMaxWorker: public QVWorker
00154 {
00155 public:
00156 QVIPPFilterMaxWorker(QString name);
00157 void iterate();
00158 };
00159
00164 template <typename TYPE, int C> class QVIPPFilterMinWorker: public QVWorker
00165 {
00166 public:
00167 QVIPPFilterMinWorker(QString name);
00168 void iterate();
00169 };
00170
00175 template <typename TYPE, int C> class QVIPPFilterGaussWorker: public QVWorker
00176 {
00177 public:
00178 QVIPPFilterGaussWorker(QString name);
00179 void iterate();
00180 };
00181
00186 template <typename TYPE, int C> class QVIPPFilterHipassWorker: public QVWorker
00187 {
00188 public:
00189 QVIPPFilterHipassWorker(QString name);
00190 void iterate();
00191 };
00192
00197 template <typename TYPE, int C> class QVIPPAddWorker: public QVWorker
00198 {
00199 public:
00200 QVIPPAddWorker(QString name);
00201 void iterate();
00202 };
00203
00208 template <typename TYPE, int C> class QVIPPAbsDiffWorker: public QVWorker
00209 {
00210 public:
00211 QVIPPAbsDiffWorker(QString name);
00212 void iterate();
00213 };
00214
00219 template <typename TYPE, int C> class QVIPPAddCWorker: public QVWorker
00220 {
00221 public:
00222 QVIPPAddCWorker(QString name);
00223 void iterate();
00224 };
00225
00230 template <typename TYPE, int C> class QVIPPCompareCWorker: public QVWorker
00231 {
00232 public:
00233 QVIPPCompareCWorker(QString name);
00234 void iterate();
00235 };
00236
00237 #endif