Object Detection  5.0
Image Processing Using Qt and Opencv
dilateimpl.h
1 #ifndef DILATEIMPL_H
2 #define DILATEIMPL_H
3 
4 #include "ImageProcessor/dilate.h"
5 
6 #include <QObject>
7 #include <headers.h>
8 class ImageProcessor::Dilate::_DilateImpl{
9  cv::MorphShapes shap = cv::MORPH_RECT;
10  int dilationSize = 4;
11  Dilate *const _ptr;
12 public:
13  _DilateImpl(Dilate *const);
14  int getDilationSize() const;
15  void setDilationSize(int value);
16  cv::MorphShapes getShap() const;
17  void setShap(const cv::MorphShapes &value);
18  void dilateImg();
19  QVariant processImage();
20 };
21 #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
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
this Class is used to perform morphological dilate operation on image see Morphological Operation...
Definition: dilate.h:13