PARP Research Group University of Murcia, Spain


src/qvip/qvipp/qvippworkers.h

00001 /*
00002  *      Copyright (C) 2007, 2008. PARP Research Group.
00003  *      <http://perception.inf.um.es>
00004  *      University of Murcia, Spain.
00005  *
00006  *      This file is part of the QVision library.
00007  *
00008  *      QVision is free software: you can redistribute it and/or modify
00009  *      it under the terms of the GNU Lesser General Public License as
00010  *      published by the Free Software Foundation, version 3 of the License.
00011  *
00012  *      QVision is distributed in the hope that it will be useful,
00013  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *      GNU Lesser General Public License for more details.
00016  *
00017  *      You should have received a copy of the GNU Lesser General Public
00018  *      License along with QVision. If not, see <http://www.gnu.org/licenses/>.
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



QVision framework. PARP research group, copyright 2007, 2008.