You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::vector<Ptr<Mat> > backgroundModel;// The vector represents the background template T0---TK of reference paper.
239
243
// Matrices are two-channel matrix. In the first layer there are the B (background value)
240
244
// for each pixel. In the second layer, there are the C (efficacy) value for each pixel
241
245
Mat potentialBackground;// Two channel Matrix. For each pixel, in the first level there are the Ba value (potential background value)
242
246
// and in the secon level there are the Ca value, the counter for each potential value.
243
-
Mat epslonPixelsValue; // epslon threshold
247
+
Mat epslonPixelsValue;// epslon threshold
248
+
249
+
Mat activityPixelsValue;// Activity level of each pixel
250
+
251
+
//vector<Mat> noisePixelMask; // We define a ‘noise-pixel’ as a pixel that has been classified as a foreground pixel during the full resolution
252
+
Mat noisePixelMask;// We define a ‘noise-pixel’ as a pixel that has been classified as a foreground pixel during the full resolution
253
+
//detection process,however, after the low resolution detection, it has become a
254
+
// background pixel. The matrix is two-channel matrix. In the first layer there is the mask ( the identified noise-pixels are set to 1 while other pixels are 0)
255
+
// for each pixel. In the second layer, there is the value of activity level A for each pixel.
244
256
245
257
//fixed parameter
258
+
bool activityControlFlag;
246
259
bool neighborhoodCheck;
247
260
int N_DS;// Number of template to be downsampled and used in lowResolutionDetection function
248
261
CV_PROP_RW int imageWidth;// Width of input image
@@ -257,6 +270,13 @@ class CV_EXPORTS_W MotionSaliencyBinWangApr2014 : public MotionSaliency
257
270
// long-term template, regardless of any subsequent background changes. A relatively large (eg gamma=3) will
258
271
//restrain the generation of ghosts.
259
272
273
+
uchar Ainc;// Activity Incrementation;
274
+
int Bmax;// Upper-bound value for pixel activity
275
+
int Bth;// Max activity threshold
276
+
int Binc, Bdec;// Threshold for pixel-level decision threshold (epslon) adaptation
277
+
float deltaINC, deltaDEC;// Increment-decrement value for epslon adaptation
278
+
int epslonMIN, epslonMAX;// Range values for epslon threshold
279
+
260
280
};
261
281
262
282
/************************************ Specific Objectness Specialized Classes ************************************/
@@ -417,38 +437,38 @@ class CV_EXPORTS_W ObjectnessBING : public Objectness
417
437
int _Clr;//
418
438
staticconstchar* _clrName[3];
419
439
420
-
// Names and paths to read model and to store results
440
+
// Names and paths to read model and to store results
0 commit comments