1 #ifndef PLAY_FIELD_DETECTION_MODULE_H 2 #define PLAY_FIELD_DETECTION_MODULE_H 5 #include "ModuleInterface.h" 7 #include "ThermalColor.h" 18 bool setParameters(QDomNode& config);
27 bool updateParameters();
29 uchar
calcThresh(cv::Mat histogram, uchar* ptr_peak);
30 int getMaxLoc(cv::Mat histogram);
31 void showHistogram( cv::Mat histogram,
char windowName[]);
32 void removeOutliersIQR(cv::Mat histogram,
float IQRFactor);
33 uchar
inline normalizeBothSideScale(uchar value, uchar threshold);
35 int height, width, histSize, numBins;
36 float alpha, beta, threshold;
37 bool firstTime, useMask, displayHistogram, displayFeatureMap, displayCriteriaMap;
40 uchar redThreshold, redPeak, blueThreshold, bluePeak, greenThreshold, greenPeak, grayThreshold, grayPeak, minReliability,
41 minFeature, reliability, minScale, maxScale;
42 uchar *ptr_currGrayImg, *ptr_nonField, *ptr_blueChannel, *ptr_greenChannel, *ptr_redChannel;
43 cv::Mat imgARGB32, currImgC3, currGrayImg, redHist, blueHist, greenHist, grayHist, fieldMask, structElement, nonField,
44 reliabilityNormalized, featureMap, criteriaMap, reliabilityNormalizedThermal;
50 #endif // PLAY_FIELD_DETECTION_MODULE_H Definition: ModuleInterface.h:43
Definition: PlayFieldDetectionModule.h:11
An object of this class is instantiated at main code, and this object is used by every class to push ...
Definition: Datapool.h:39
Definition: ThermalColor.h:7
uchar calcThresh(cv::Mat histogram, uchar *ptr_peak)
Definition: PlayFieldDetectionModule.cpp:488