Class Blur
- Assembly
- H.Controls.Diagram.Presenters.OpenCV.dll
[Display(Name = "基础滤波", GroupName = "用于图像的平滑、去噪、边缘检测等任务", Order = 0)]
public class Blur : FilterOpenCVNodeDataBase, INotifyPropertyChanged, ICloneable, ITemplate, IPortDataCreator, IPortableNodeData, ILinkDataCreator, ITextNodeData, ITextable, IOpenCVNodeData, IFlowableNodeData, IFlowablePartData, IFlowable, IDisposable, IMessageable, IStopwatchable, IFilterOpenCVNodeData, INodeData, IPartData, IData, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable
- Inheritance
-
Blur
- Implements
- 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
KSize
[Display(Name = "核大小", GroupName = "数据", Description = "核的大小决定了滤波的范围。核越大,平滑效果越强,但计算量也会增加")]
public Size KSize { get; set; }
Property Value
- Size
Methods
Invoke(ISrcImageNodeData, IOpenCVNodeData, IFlowableDiagramData)
protected override FlowableResult<Mat> Invoke(ISrcImageNodeData srcImageNodeData, IOpenCVNodeData from, IFlowableDiagramData diagram)
Parameters
srcImageNodeData
ISrcImageNodeDatafrom
IOpenCVNodeDatadiagram
IFlowableDiagramData
Returns
- FlowableResult<Mat>
LoadDefault()
加载默认值。
public override void LoadDefault()