using PaintDotNet.Data.Param; namespace PaintDotNet.Data.Action { /// /// 加强轮廓 /// public class Action5021 : ParamObject { public override OpenCvSharp.Mat PerformProcess(OpenCvSharp.Mat src) { return Adjust.AdjustIntent.EnhanceContourFunction(src, this.Lists); } public Action5021() { this.MenuId = ActionType.ActionEnhanceContour; this.OpenImage = "current"; IntegerNumber three = new IntegerNumber(1, 32); three.key = "Strength"; three.name = PdnResources.GetString("Menu.strength.text"); three.initialValue = 1; three.value = 1; lists.Add(three); } } }