CustomFrameDifferenceDetectorMotionFrame Property |
Namespace: Accord.Vision.Motion
Motion frame is a grayscale image, which shows areas of detected motion. All black pixels in the motion frame correspond to areas, where no motion is detected. But white pixels correspond to areas, where motion is detected.
Note |
---|
The property is set to after processing of the first video frame by the algorithm in the case if custom background frame was not set manually by using SetBackgroundFrame(Bitmap) method (it will be not after second call in this case). If correct custom background was set then the property should bet set to estimated motion frame after ProcessFrame(UnmanagedImage) method call. |