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
Mat knownForegroundMask = _knownForegroundMask.getMat();
468
+
if(!_knownForegroundMask.empty())
469
+
{
470
+
CV_Error( Error::StsNotImplemented, "Known Foreground Masking has not been implemented for this specific background subtractor, falling back to subtraction without known foreground");
471
+
}
472
+
apply(_image, _fgmask, learningRate);
473
+
}
474
+
464
475
Ptr<BackgroundSubtractorMOG> createBackgroundSubtractorMOG(int history, int nmixtures,
Mat knownForegroundMask = _knownForegroundMask.getMat();
479
+
if(!_knownForegroundMask.empty())
480
+
{
481
+
CV_Error( Error::StsNotImplemented, "Known Foreground Masking has not been implemented for this specific background subtractor, falling back to subtraction without known foreground");
Mat knownForegroundMask = _knownForegroundMask.getMat();
800
+
if(!_knownForegroundMask.empty())
801
+
{
802
+
CV_Error( Error::StsNotImplemented, "Known Foreground Masking has not been implemented for this specific background subtractor, falling back to subtraction without known foreground");
Mat knownForegroundMask = _knownForegroundMask.getMat();
944
+
if(!_knownForegroundMask.empty())
945
+
{
946
+
CV_Error( Error::StsNotImplemented, "Known Foreground Masking has not been implemented for this specific background subtractor, falling back to subtraction without known foreground");
Mat knownForegroundMask = _knownForegroundMask.getMat();
416
+
if(!_knownForegroundMask.empty())
417
+
{
418
+
CV_Error( Error::StsNotImplemented, "Known Foreground Masking has not been implemented for this specific background subtractor, falling back to subtraction without known foreground");
419
+
}
420
+
apply(_image, _fgmask, learningRate);
421
+
}
412
422
413
423
Ptr<BackgroundSubtractorCNT> createBackgroundSubtractorCNT(int minPixelStability, bool useHistory, int maxStability, bool isParallel)
0 commit comments