public MOGAlgorithmViewModel()
        {
            _mog = new BackgroundSubtractorMOG();
            _historySize = 200;
            _mixtures = 5;
            _ratio = 0.7;
            _noise = 0;

            Algorithm = Model.Enums.BackgroundSubstractionAlgorithm.MOG;

            if (Execute.InDesignMode)
                LoadDesignTimeData();
        }
 private void ResetSubstractor()
 {
     _mog = new BackgroundSubtractorMOG(_historySize, NumberOfMixtures.Value, BackgroundRatio.Value, NoiseSigma.Value);
 }