Detector.Motion.MotionDetector.SetNextImages C# (CSharp) Method

SetNextImages() public method

Set the next images to compare
public SetNextImages ( Image Last, Image Current ) : void
Last Image Image to compare to
Current Image Image at this moment in time
return void
        public void SetNextImages(Image Last, Image Current)
        {
            if (Last.Width != Current.Width || Last.Height != Current.Height)
                Error("Image sizes differ");
            _BadTargets = 0;
            _last_img = Last;
            _cur_img = Current;
        }