Click or drag to resize
Accord.NET (logo)

CustomFrameDifferenceDetectorMotionFrame Property

Motion frame containing detected areas of motion.

Namespace:  Accord.Vision.Motion
Assembly:  Accord.Vision (in Accord.Vision.dll) Version: 3.8.0
Syntax
public UnmanagedImage MotionFrame { get; }
Request Example View Source

Property Value

Type: UnmanagedImage

Implements

IMotionDetectorMotionFrame
Remarks

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 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.

See Also