Object Detection  5.0
Image Processing Using Qt and Opencv
imageprocessorpluginiface.h
1 #ifndef IMAGEPROCESSORPLUGINIFACE_H
2 #define IMAGEPROCESSORPLUGINIFACE_H
3 
4 #include <QString>
5 #include <QtPlugin>
6 #include <opencv2/core.hpp>
7 
8 //TODO fix Files
39  {
40  public:
46  virtual QString filterName() const = 0;
52  virtual cv::Mat filter(cv::Mat src) const = 0;
57  virtual QString filterDescription() const = 0;
62  virtual QString author() const = 0;
63  virtual ~ImageProcessorPluginIFace(){
64 
65  }
66  };
67 
68 }
69 
71 using PluginSharedPointer = QSharedPointer<PluginIFace>;
72 using PluginSharedPointerList = QList<PluginSharedPointer>;
74 #define ImageProcessorPluginIFace_iid "CircleDetector.Utilities.ImageProcessorPluginIFace_iid"
75 
76 Q_DECLARE_INTERFACE(CircleDetectorPlugins::ImageProcessorPluginIFace, ImageProcessorPluginIFace_iid)
77 
78 #endif // IMAGEPROCESSORPLUGINIFACE_H
The ImageProcessorPluginIFace is and interface used to apply filters to Images.
virtual QString filterDescription() const =0
filterDescription used to describe filter description
virtual cv::Mat filter(cv::Mat src) const =0
filter this member function is used to apply a filter on an image
virtual QString author() const =0
author used to describe the author of the plugin
Common namespace For all Plugins interfaces.
virtual QString filterName() const =0
filterName used to describe the filter name