38 #pragma warning(push, 0) // no warnings from includes 43 #ifdef DLL_CORE_EXPORT 44 #define DllCoreExport Q_DECL_EXPORT 46 #define DllCoreExport Q_DECL_IMPORT 59 virtual QString toString()
const override;
72 bool isEmpty()
const override;
73 bool compute()
override;
74 QSharedPointer<SuperPixelFeatureConfig>
config()
const;
76 cv::Mat draw(
const cv::Mat& img)
const;
77 QString toString()
const override;
79 cv::Mat features()
const;
89 bool checkInput()
const override;
90 void syncSuperPixels(
const std::vector<cv::KeyPoint>& keyPointsOld,
const std::vector<cv::KeyPoint>& keyPointsNew);
98 virtual QString toString()
const override;
100 void setClassifierPath(
const QString& path);
101 QString classifierPath()
const;
107 void load(
const QSettings& settings)
override;
108 void save(QSettings& settings)
const override;
116 bool isEmpty()
const override;
117 bool compute()
override;
118 QSharedPointer<SuperPixelClassifierConfig>
config()
const;
120 cv::Mat draw(
const cv::Mat& img)
const;
121 QString toString()
const override;
123 void setModel(
const QSharedPointer<SuperPixelModel>& model);
129 QSharedPointer<SuperPixelModel> mModel;
131 bool checkInput()
const override;
Definition: SuperPixelClassification.h:111
Definition: SuperPixelClassification.h:93
Definition: BaseModule.h:63
QString mClassifierPath
Definition: SuperPixelClassification.h:105
#define DllCoreExport
Definition: BaseImageElement.h:43
PixelSet stores and manipulates pixel collections.
Definition: PixelSet.h:172
config
Definition: DependencyCollector.py:271
Definition: SuperPixelClassification.h:54
Definition: SuperPixelClassification.h:67
DllCoreExport bool save(const QImage &img, const QString &savePath, int compression=-1)
Saves the specified QImage img.
Definition: Image.cpp:180
DllCoreExport QImage load(const QString &path, bool *ok=0)
Definition: Image.cpp:152
This is the base class for all modules. It provides all functions which are implemented by the module...
Definition: BaseModule.h:126
Definition: Algorithms.cpp:45