1 #ifndef RELIABILITY_BG_H 2 #define RELIABILITY_BG_H 5 #include <opencv2/opencv.hpp> 6 #include "src/MathFunctions.h" 13 static uchar normalizeScale(
float value, uchar minScale, uchar maxScale);
14 static uchar normalizeScale(
float value,
float minScale,
float maxScale);
15 static uchar normalizeScaleUsingRatio(
float value,
float threshold,
float minRatio,
float maxRatio);
17 static uchar normalizeBothSideScale(
float value,
float threshold, uchar minScale, uchar maxScale);
18 static uchar normalizeBothSideScale(
float value,
float threshold,
float minScale,
float maxScale);
19 static uchar normalizeBothSideScaleUsingRatio(
float value,
float threshold,
float minRatio,
float maxRatio);
21 static uchar truncateAtMinMaxAndScale(
float difference,
float minDiff,
float maxDiff );
22 static void calcIntraVar(cv::Mat histogram, uchar threshold, uchar &leftMean, uchar &leftIntraVar,
23 uchar &rightMean, uchar &rightIntraVar );
24 static uchar negGaussian(
float value,
float threshold,
double sigma);
27 #endif // RELIABILITY_BG_H Definition: ReliabilityBg.h:8