Object Detection  5.0
Image Processing Using Qt and Opencv
dilate.h
1 #ifndef DILATE_H
2 #define DILATE_H
3 
4 #include "ImageProcessor/abstractimageprocessor.h"
5 
6 #include <QObject>
7 #include <headers.h>
8 namespace ImageProcessor {
9  class IMG_PROC_LIB Dilate;
10 }
11 using namespace ImageProcessor;
12 
14 {
15  Q_OBJECT
16 private:
17  class _DilateImpl;
18  std::unique_ptr<_DilateImpl> _pimpl;
19 public:
20  explicit Dilate(QObject *parent = nullptr);
21  void dialteImg();
22  int getDilationSize() const;
23  virtual ~Dilate();
24  cv::MorphShapes getShap() const;
25 
26 signals:
27 
28 public slots:
29  void setDilationSize(int value);
30  void setShap(const cv::MorphShapes &value);
31 
32  // ImageProcessor::AbstractImageProcessor interface
33 public:
34  virtual QVariant processImage() override;
35 };
36 
37 #endif // DILATE_H
virtual QVariant processImage() override
Pure Virtual Function representes the operation to be done on the Image to be processed.
Definition: dilate.cpp:46
The ImageProcessor::AbstractImageProcessor is an Abstract Base Class For All Image Processor Classes...
void setDilationSize(int value)
sets the Dilation Size of the Morphological Operation
Definition: dilate.cpp:26
int getDilationSize() const
returns the dilation Size
Definition: dilate.cpp:13
void setShap(const cv::MorphShapes &value)
sets The Shape of the Dialtion pixels
Definition: dilate.cpp:41
Common Namespace for all Image Processor Algorithms.
this Class is used to perform morphological dilate operation on image see Morphological Operation...
Definition: dilate.h:13