Object Detection  5.0
Image Processing Using Qt and Opencv
erodeplugin.h
1 #ifndef ERODEPLUGIN_H
2 #define ERODEPLUGIN_H
3 #include <QObject>
4 #include <imageprocessorpluginiface.h>
5 #define ErodePlugin_iid "CircleDetectorPlugins.MorphoLogical.ErodePlugin"
6 namespace MorphoLogical {
8  {
9  Q_OBJECT
11  Q_PLUGIN_METADATA(IID ErodePlugin_iid)
12  public:
13  ErodePlugin(QObject *parent = 0);
14  QString filterName() const;
15  cv::Mat filter(cv::Mat src) const;
16  virtual QString filterDescription() const;
17  virtual QString author() const;
18 
19  };
20 }
21 
22 
23 #endif // ERODEPLUGIN_H
The ImageProcessorPluginIFace is and interface used to apply filters to Images.
cv::Mat filter(cv::Mat src) const
filter this member function is used to apply a filter on an image
Definition: erodeplugin.cpp:14
virtual QString filterDescription() const
filterDescription used to describe filter description
Definition: erodeplugin.cpp:23
QString filterName() const
filterName used to describe the filter name
Definition: erodeplugin.cpp:9
virtual QString author() const
author used to describe the author of the plugin
Definition: erodeplugin.cpp:28