Table of Contents

Class CVMotionCellsSettings

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

OpenCV motion cells.

public class CVMotionCellsSettings

Inheritance

Inherited Members

Properties

CalculateMotion

Gets or sets a value indicating whether to calculate motion.

public bool CalculateMotion { get; set; }

Property Value

bool

CellsColor

Gets or sets a color for motion cells.

public SKColor CellsColor { get; set; }

Property Value

SKColor

DataFile

Gets or sets a location of motioncells data file (empty string means no saving).

public string DataFile { get; set; }

Property Value

string

Display

Gets or sets a value indicating whether to display of motion cells on current frame.

public bool Display { get; set; }

Property Value

bool

Gap

Gets or sets an interval after which motion is considered finished and a motion finished bus message is posted.

public TimeSpan Gap { get; set; }

Property Value

TimeSpan

GridSize

Gets or sets a grid size.

public Size GridSize { get; set; }

Property Value

Size

MinimumMotionFrames

Gets or sets a minimum number of motion frames triggering a motion event.

public int MinimumMotionFrames { get; set; }

Property Value

int

MotionCellBorderThickness

Gets or sets motion cell border thickness. Set to -1 to fill motion cell.

public int MotionCellBorderThickness { get; set; }

Property Value

int

MotionCellsIdx

Gets or sets a cell description with its line and column idx separated with ":". Pass multiple cells as a comma-separated list.

public string MotionCellsIdx { get; set; }

Property Value

string

MotionMaskCellsPos

Gets or sets a cell description with its line and column idx separated with ":". Pass multiple cells as a comma-separated list.

public string MotionMaskCellsPos { get; set; }

Property Value

string

MotionMaskCoords

Gets or sets a region with its upper left and lower right x, y coordinates separated with ":". Pass multiple regions as a comma-separated list.

public string MotionMaskCoords { get; set; }

Property Value

string

PostAllMotion

Gets or sets a value indicating whether to call Motion event for every motion frame or just motion start and motion stop.

public bool PostAllMotion { get; set; }

Property Value

bool

PostNoMotion

Gets or sets a no motion flag. If non 0, call a NoMotion event if no motion is detected for the given number of seconds.

public TimeSpan PostNoMotion { get; set; }

Property Value

TimeSpan

Sensitivity

Gets or sets a motion detection sensitivity.

public double Sensitivity { get; set; }

Property Value

double

Threshold

Gets or sets a threshold value for motion [0.001..0.1]. Filter detects motion when at least this fraction of the cells have moved.

public double Threshold { get; set; }

Property Value

double

UseAlpha

Gets or sets a value indicating whether to use alpha blending on frames with motion cells.

public bool UseAlpha { get; set; }

Property Value

bool