AForge.Vision.Motion.CustomFrameDifferenceDetector.SetBackgroundFrame C# (CSharp) Method

SetBackgroundFrame() public method

Set background frame.

The method sets background frame, which will be used to calculate difference with.

public SetBackgroundFrame ( BitmapData backgroundFrame ) : void
backgroundFrame System.Drawing.Imaging.BitmapData Background frame to set.
return void
        public void SetBackgroundFrame( BitmapData backgroundFrame )
        {
            SetBackgroundFrame( new UnmanagedImage( backgroundFrame ) );
        }

Same methods

CustomFrameDifferenceDetector::SetBackgroundFrame ( Bitmap backgroundFrame ) : void
CustomFrameDifferenceDetector::SetBackgroundFrame ( UnmanagedImage backgroundFrame ) : void