Table of Contents

Class MOG

Namespace
H.Controls.Diagram.Presenters.OpenCV.NodeDatas.Video
Assembly
H.Controls.Diagram.Presenters.OpenCV.dll
[Display(Name = "前景提取", GroupName = "视频操作", Order = 0)]
public class MOG : OpenCVNodeDataBase, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, ICloneable, ITemplate, IPortDataCreator, IPortableNodeData, ILinkDataCreator, ITextNodeData, ITextable, IOpenCVNodeData, IFlowableNodeData, INodeData, IFlowablePartData, IPartData, IData, IFlowable, IDisposable, IMessageable, IStopwatchable, IVideoFlowable
Inheritance
MOG
Implements
Inherited Members
Extension Methods

Properties

BackgroundRatio

[Display(Name = "背景比例", GroupName = "数据", Description = "设置背景建模过程中前景和背景的比例")]
public double BackgroundRatio { get; set; }

Property Value

double

History

[Display(Name = "历史帧数", GroupName = "数据", Description = "设置高斯混合模型的历史帧数")]
public int History { get; set; }

Property Value

int

LearningRate

[Display(Name = "学习速率", GroupName = "数据", Description = "它决定了新帧对背景模型的影响程度")]
public double LearningRate { get; set; }

Property Value

double

NoiseSigma

[Display(Name = "噪声水平", GroupName = "数据", Description = "它决定了在背景建模过程中如何处理图像中的噪声")]
public double NoiseSigma { get; set; }

Property Value

double

UseGetBackground

[Display(Name = "提取背景", GroupName = "数据")]
public bool UseGetBackground { get; set; }

Property Value

bool

nMixtures

[Display(Name = "成分数量", GroupName = "数据", Description = "设置高斯混合模型中混合成分的数量")]
public int nMixtures { get; set; }

Property Value

int

Methods

Begin()

public void Begin()

End()

public void End()

Invoke(ISrcImageNodeData, IOpenCVNodeData, IFlowableDiagramData)

protected override FlowableResult<Mat> Invoke(ISrcImageNodeData srcImageNodeData, IOpenCVNodeData from, IFlowableDiagramData diagram)

Parameters

srcImageNodeData ISrcImageNodeData
from IOpenCVNodeData
diagram IFlowableDiagramData

Returns

FlowableResult<Mat>