1 #ifndef OBJECTDETECTION_H 2 #define OBJECTDETECTION_H 6 #include <ImageProcessor/detectcircle.h> 7 #include <ImageProcessor/detectcolor.h> 8 #include <ImageProcessor/abstractimageprocessor.h> 9 #include <ImageProcessor/dilate.h> 10 #include "imageprocessorpluginiface.h" 21 class _ObjectDetectionImpl;
22 std::unique_ptr<_ObjectDetectionImpl> _pimpl;
29 QVariant getResults()
const;
38 std::vector<PluginSharedPointer> getFilters()
const;
39 void setFilters(
const std::vector<PluginSharedPointer> &value);
42 void setResults(QVariant res);
49 #endif // OBJECTDETECTION_H this class is used to detect a a colored circle object(s)
void addFilter(PluginSharedPointer proc)
ObjectDetection::addFilter adds a filter from a plugin.
std::vector< cv::Vec3f > getCircles()
ObjectDetection::getCircles.
virtual QVariant processImage() override
Pure Virtual Function representes the operation to be done on the Image to be processed.
The ImageProcessor::AbstractImageProcessor is an Abstract Base Class For All Image Processor Classes...
this class is used To Detect circles in an image
this class is used to Detect Color given it's range(min, max) of hsv colors.
void setCirDetector(DetectCircle *cirDetector)
ObjectDetection::setCirDetector sets the circleDetector.
DetectColor * getColDetector() const
ObjectDetection::getColDetector.
DetectCircle * getCirDetector() const
ObjectDetection::getCirDetector.
ObjectDetection(QObject *parent=nullptr)
ObjectDetection::ObjectDetection.
void setDiler(Dilate *diler)
ObjectDetection::setDiler sets the dilate object.
Common Namespace for all Image Processor Algorithms.
Dilate * getDiler() const
ObjectDetection::getDiler.
this Class is used to perform morphological dilate operation on image see Morphological Operation...
cv::Mat applyFilters(cv::Mat dst) const
ObjectDetection::applyFilters applies filters to the image.