1 #ifndef OBJECTDETECTIONIMPL_H 2 #define OBJECTDETECTIONIMPL_H 6 #include <ImageProcessor/objectdetection.h> 7 #include <ImageProcessor/detectcircle.h> 8 #include <ImageProcessor/detectcolor.h> 9 #include <ImageProcessor/abstractimageprocessor.h> 10 #include <ImageProcessor/dilate.h> 13 class ImageProcessor::ObjectDetection::_ObjectDetectionImpl
21 std::vector<PluginSharedPointer> _filters;
34 QVariant getResults()
const;
35 void setResults(
const QVariant &value);
36 std::vector<PluginSharedPointer> getFilters()
const;
37 void setFilters(
const std::vector<PluginSharedPointer> &value);
42 #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.
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.
void setDiler(Dilate *diler)
ObjectDetection::setDiler sets the dilate object.
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.