Table of Contents

Class MotionDetectionBlockSettings

Namespace
VisioForge.Core.Types.X.VideoEffects
Assembly
VisioForge.Core.dll

Settings for the VisioForge.Core.MediaBlocks.VideoProcessing.MotionDetectionBlock. Uses frame differencing for motion detection without any OpenCV dependency.

public class MotionDetectionBlockSettings

Inheritance

Inherited Members

Properties

CompareBlue

Gets or sets a value indicating whether the blue channel is compared when VisioForge.Core.Types.X.VideoEffects.MotionDetectionBlockSettings.CompareGreyscale is false.

public bool CompareBlue { get; set; }

Property Value

bool

CompareGreen

Gets or sets a value indicating whether the green channel is compared when VisioForge.Core.Types.X.VideoEffects.MotionDetectionBlockSettings.CompareGreyscale is false.

public bool CompareGreen { get; set; }

Property Value

bool

CompareGreyscale

Gets or sets a value indicating whether to compare frames using greyscale conversion. When true, RGB channels are averaged for comparison (more efficient). When false, the channels selected by VisioForge.Core.Types.X.VideoEffects.MotionDetectionBlockSettings.CompareRed, VisioForge.Core.Types.X.VideoEffects.MotionDetectionBlockSettings.CompareGreen and VisioForge.Core.Types.X.VideoEffects.MotionDetectionBlockSettings.CompareBlue are compared: each pixel's change is the mean of their absolute changes.

public bool CompareGreyscale { get; set; }

Property Value

bool

CompareRed

Gets or sets a value indicating whether the red channel is compared when VisioForge.Core.Types.X.VideoEffects.MotionDetectionBlockSettings.CompareGreyscale is false.

public bool CompareRed { get; set; }

Property Value

bool

GridHeight

Gets or sets the number of vertical grid cells for the motion matrix.

public int GridHeight { get; set; }

Property Value

int

GridWidth

Gets or sets the number of horizontal grid cells for the motion matrix.

public int GridWidth { get; set; }

Property Value

int

MotionThreshold

Gets or sets the motion level threshold (0-100). Motion levels at or above this value are considered significant motion.

public int MotionThreshold { get; set; }

Property Value

int