Motion processing algorithm, which highlights border of motion areas.

Namespace:  AForge.Vision.Motion
Assembly:  AForge.Vision (in AForge.Vision.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public class MotionBorderHighlighting : IMotionProcessing

Remarks

The aim of this motion processing algorithm is to highlight borders of motion areas with the specified color.

Note:The motion processing algorithm is supposed to be used only with motion detection algorithms, which are based on finding difference with background frame (see SimpleBackgroundModelingDetector and CustomFrameDifferenceDetector as simple implementations) and allow extract moving objects clearly.

Sample usage:

CopyC#
// create motion detector
MotionDetector detector = new MotionDetector(
    /* motion detection algorithm */,
    new MotionBorderHighlighting( ) );

// continuously feed video frames to motion detector
while ( ... )
{
    // process new video frame
    detector.ProcessFrame( videoFrame );
}

Inheritance Hierarchy

System..::.Object
  AForge.Vision.Motion..::.MotionBorderHighlighting

See Also