Class CVMotionCellsSettings
- Namespace
- VisioForge.Core.Types.X.OpenCV
- Assembly
- VisioForge.Core.dll
OpenCV motion cells.
public class CVMotionCellsSettingsInheritance
Inherited Members
Properties
CalculateMotion
Gets or sets a value indicating whether to calculate motion.
public bool CalculateMotion { get; set; }Property Value
CellsColor
Gets or sets a color for motion cells.
public SKColor CellsColor { get; set; }Property Value
DataFile
Gets or sets a location of motioncells data file (empty string means no saving).
public string DataFile { get; set; }Property Value
Display
Gets or sets a value indicating whether to display of motion cells on current frame.
public bool Display { get; set; }Property Value
Gap
Gets or sets an interval after which motion is considered finished and a motion finished bus message is posted. Valid range is 1 to 60 seconds (inclusive). Values outside this range are clamped to the nearest bound; sub-second values are rounded to the nearest whole second (and clamped to 1 second minimum).
public TimeSpan Gap { get; set; }Property Value
GridSize
Gets or sets the motion-detection cell grid size. Valid range is 8 to 32 per axis (inclusive). Out-of-range values are silently ignored and the property keeps its previous value (10x10 on a freshly created instance).
public Size GridSize { get; set; }Property Value
MinimumMotionFrames
Gets or sets a minimum number of motion frames triggering a motion event.
public int MinimumMotionFrames { get; set; }Property Value
MotionCellBorderThickness
Gets or sets motion cell border thickness. Set to -1 to fill motion cell.
public int MotionCellBorderThickness { get; set; }Property Value
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
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
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
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
PostNoMotion
Gets or sets the no-motion event interval. When non-zero, a NoMotion event is raised after motion has been absent for the given number of seconds. Valid range is 0 to 180 seconds (inclusive); 0 disables the event. Values outside this range are clamped to the nearest bound; sub-second positive values are rounded to the nearest whole second (so values below 0.5s round down to 0 = disabled).
public TimeSpan PostNoMotion { get; set; }Property Value
Sensitivity
Gets or sets a motion detection sensitivity.
public double Sensitivity { get; set; }Property Value
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
UseAlpha
Gets or sets a value indicating whether to use alpha blending on frames with motion cells.
public bool UseAlpha { get; set; }