Table of Contents

Class MorphologyOpenCVNodeDataBase

Namespace
H.Controls.Diagram.Presenters.OpenCV.Base
Assembly
H.Controls.Diagram.Presenters.OpenCV.dll
[Icon("")]
public abstract class MorphologyOpenCVNodeDataBase : OpenCVNodeDataBase, INotifyPropertyChanged, ICloneable, ITemplate, IPortDataCreator, IPortableNodeData, ILinkDataCreator, ITextNodeData, ITextable, IOpenCVNodeData, IFlowableNodeData, IFlowablePartData, IFlowable, IDisposable, IMessageable, IStopwatchable, IMorphologyOpenCVNodeData, INodeData, IPartData, IData, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable
Inheritance
MorphologyOpenCVNodeDataBase
Implements
Derived
Inherited Members
Extension Methods

Properties

Anchor

[Display(Name = "锚点", GroupName = "数据", Description = "内核的锚点,表示内核的参考点。null 表示使用内核的中心作为锚点")]
public Point? Anchor { get; set; }

Property Value

Point?

BorderType

[Display(Name = "界处理方式", GroupName = "数据", Description = "该参数用于指定在形态学操作过程中如何处理图像边界")]
public BorderTypes BorderType { get; set; }

Property Value

BorderTypes

Iterations

[Display(Name = "迭代次数", GroupName = "数据", Description = "形态学操作的迭代次数。表示操作将重复执行的次数")]
public int Iterations { get; set; }

Property Value

int

KernelCols

[Display(Name = "内核列数", GroupName = "数据", Description = "定义了形态学操作内核的列数")]
public int KernelCols { get; set; }

Property Value

int

KernelRows

[Display(Name = "内核行数", GroupName = "数据", Description = "定义了形态学操作内核的行数")]
public int KernelRows { get; set; }

Property Value

int

KernelValues

[Display(Name = "内核参数", GroupName = "数据", Description = "允许用户自定义内核的形状和大小,从而影响形态学操作的结果")]
public Int32Collection KernelValues { get; set; }

Property Value

Int32Collection

UseKernel

[Display(Name = "使用内核", GroupName = "数据", Description = "用于控制是否在形态学操作中使用内核")]
public bool UseKernel { get; set; }

Property Value

bool

Methods

GetMorphType()

protected abstract MorphTypes GetMorphType()

Returns

MorphTypes

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>

LoadDefault()

加载默认值。

public override void LoadDefault()