12345678910111213141516171819202122232425262728 |
- using PaintDotNet.Data.Param;
- namespace PaintDotNet.Data.Action
- {
- /// <summary>
- /// 加强轮廓
- /// </summary>
- 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);
- }
- }
- }
|