VisioForge (c) 2025

Search Results for

    Class MotionDetectionExSettings

    Object detection settings.

    Inheritance
    object
    MotionDetectionExSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: VisioForge.Core.Types.VideoProcessing
    Assembly: VisioForge.Core.dll
    Syntax
    public class MotionDetectionExSettings

    Constructors

    MotionDetectionExSettings()

    Initializes a new instance of the MotionDetectionExSettings class.

    Declaration
    public MotionDetectionExSettings()

    Properties

    DetectorType

    Gets or sets object detection detector type.

    Declaration
    public MotionDetectorType DetectorType { get; set; }
    Property Value
    Type Description
    MotionDetectorType

    DifferenceThreshold

    Gets or sets difference threshold value, [1 - 255].

    Declaration
    public int DifferenceThreshold { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The value Gets or sets the amount off difference between pixels, which is treated as motion pixel. Default value is set to 15. Applicable for all detectors.

    GridHeight

    Gets or sets height of motion grid, [2, 64].

    Declaration
    public int GridHeight { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The property Gets or sets motion grid's height - number of grid rows. Default value is set to 16. Applicable for Grid Motion Area processor.

    GridWidth

    Gets or sets width of motion grid, [2, 64].

    Declaration
    public int GridWidth { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The property Gets or sets motion grid's width - number of grid columns. Default value is set to 16. Applicable for Grid Motion Area processor.

    HighlightColor

    Gets or sets object detection highlight color, used to highlight motion regions.

    Declaration
    public Color HighlightColor { get; set; }
    Property Value
    Type Description
    Color
    Remarks

    Default value is set to red color. Applicable for all processors.

    HighlightMotionGrid

    Gets or sets a value indicating whether motion grid will be highlighted.

    Declaration
    public bool HighlightMotionGrid { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    The property Gets or sets if motion grid should be highlighted - if cell, which have motion level above the specified value, should be highlighted. Default value is set to true. Turning the value on leads to additional processing time of video frame. Applicable for Grid Motion Area processor.

    HighlightMotionRegions

    Gets or sets a value indicating whether motion regions will be highlighted.

    Declaration
    public bool HighlightMotionRegions { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    The property Gets or sets if detected moving objects should be highlighted with rectangle or not. Default value is set to true. Turning the value on leads to additional processing time of video frame. Applicable for Blob Counting Objects processor.

    KeepObjectsEdges

    Gets or sets a value indicating whether objects edges will be restored after noise suppression.

    Declaration
    public bool KeepObjectsEdges { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    The value Gets or sets if additional filtering should be done to restore objects edges after noise suppression by applying 3x3 dilatation image processing filter. Default value is set to false. Turning the value on leads to more processing time of video frame. Applicable for Simple Background Modeling Detector and Custom Frame Difference Detector.

    MinObjectsHeight

    Gets or sets minimum height of acceptable object.

    Declaration
    public int MinObjectsHeight { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The property sets minimum height of an object to count and highlight. If objects have smaller height, they are not counted and are not highlighted. Default value is set to 10. Applicable for Blob Counting Objects processor.

    MinObjectsWidth

    Gets or sets minimum width of acceptable object.

    Declaration
    public int MinObjectsWidth { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The property sets minimum width of an object to count and highlight. If objects have smaller width, they are not counted and are not highlighted. Default value is set to 10. Applicable for Blob Counting Objects processor.

    MotionAmountToHighlight

    Gets or sets motion amount to highlight cell.

    Declaration
    public float MotionAmountToHighlight { get; set; }
    Property Value
    Type Description
    float
    Remarks

    The property Gets or sets motion level threshold for highlighting grid's cells. If motion level of a certain cell is higher than this value, then the cell is highlighted. Default value is set to 0.15. Applicable for Grid Motion Area processor.

    ProcessorType

    Gets or sets object detection processor type.

    Declaration
    public MotionProcessorType ProcessorType { get; set; }
    Property Value
    Type Description
    MotionProcessorType

    SuppressNoise

    Gets or sets a value indicating whether noise will be suppresed.

    Declaration
    public bool SuppressNoise { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    The value Gets or sets if additional filtering should be done to suppress standalone noisy pixels by applying 3x3 erosion image processing filter. See KeepObjectsEdges property, if it is required to restore edges of objects, which are not noise. Default value is set to true. Applicable for all detectors.