|
| 1 | +//############################################################################# |
| 2 | +// |
| 3 | +// This file is part of ImagePlay. |
| 4 | +// |
| 5 | +// ImagePlay is free software: you can redistribute it and/or modify |
| 6 | +// it under the terms of the GNU General Public License as published by |
| 7 | +// the Free Software Foundation, either version 3 of the License, or |
| 8 | +// (at your option) any later version. |
| 9 | +// |
| 10 | +// ImagePlay is distributed in the hope that it will be useful, |
| 11 | +// but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | +// GNU General Public License for more details. |
| 14 | +// |
| 15 | +// You should have received a copy of the GNU General Public License |
| 16 | +// along with ImagePlay. If not, see <http://www.gnu.org/licenses/>. |
| 17 | +// |
| 18 | +//############################################################################# |
| 19 | + |
| 20 | +#ifndef IPLGOODFEATURESTOTRACK_H |
| 21 | +#define IPLGOODFEATURESTOTRACK_H |
| 22 | + |
| 23 | +#include "IPL_global.h" |
| 24 | +#include "IPLProcess.h" |
| 25 | +#include "IPLMatrix.h" |
| 26 | +#include "IPLOrientedImage.h" |
| 27 | + |
| 28 | +#include <string> |
| 29 | +#include <deque> |
| 30 | + |
| 31 | +#include "opencv2/core/core.hpp" |
| 32 | +#include "opencv2/imgproc/imgproc.hpp" |
| 33 | +#include "opencv2/highgui/highgui.hpp" |
| 34 | + |
| 35 | +/** |
| 36 | + * @brief The IPLGoodFeaturesToTrack class |
| 37 | + */ |
| 38 | +class IPLSHARED_EXPORT IPLGoodFeaturesToTrack : public IPLClonableProcess<IPLGoodFeaturesToTrack> |
| 39 | +{ |
| 40 | +public: |
| 41 | + IPLGoodFeaturesToTrack() : IPLClonableProcess() { init(); } |
| 42 | + ~IPLGoodFeaturesToTrack() { destroy(); } |
| 43 | + |
| 44 | + void init (); |
| 45 | + void destroy (); |
| 46 | + bool processInputData (IPLImage*, int, bool useOpenCV); |
| 47 | + IPLData* getResultData (int); |
| 48 | + |
| 49 | +protected: |
| 50 | + IPLImage* _result; |
| 51 | + IPLImage* _overlay; |
| 52 | +}; |
| 53 | + |
| 54 | +#endif // IPLGOODFEATURESTOTRACK_H |
0 commit comments