1 #ifndef DETECTCOLORIMPL_H 2 #define DETECTCOLORIMPL_H 4 #include "ImageProcessor/detectcolor.h" 9 class ImageProcessor::DetectColor::_DetectColorImpl{
11 cv::Scalar minColor = cv::Scalar(20, 100, 100);
12 cv::Scalar maxColor = cv::Scalar(30, 255, 255);
16 _DetectColorImpl(
const _DetectColorImpl&) =
default;
25 #endif // DETECTCOLOR_H void setMinColor(const cv::Scalar &value)
sets The Minimum hsv color for the Detector
cv::Scalar getMinColor() const
returns the Minimum HSV Color space Of Threshold Detector
this class is used to Detect Color given it's range(min, max) of hsv colors.
void setMaxColor(const cv::Scalar &value)
sets The maximum hsv color for the Detector
void detectColor()
Helper Function Used To Detect Color.
virtual QVariant processImage() override
Pure Virtual Function representes the operation to be done on the Image to be processed.
cv::Scalar getMaxColor() const
returns the maximum HSV Color space Of Threshold Detector