Action5021.cs 771 B

12345678910111213141516171819202122232425262728
  1. using PaintDotNet.Data.Param;
  2. namespace PaintDotNet.Data.Action
  3. {
  4. /// <summary>
  5. /// 加强轮廓
  6. /// </summary>
  7. public class Action5021 : ParamObject
  8. {
  9. public override OpenCvSharp.Mat PerformProcess(OpenCvSharp.Mat src)
  10. {
  11. return Adjust.AdjustIntent.EnhanceContourFunction(src, this.Lists);
  12. }
  13. public Action5021()
  14. {
  15. this.MenuId = ActionType.ActionEnhanceContour;
  16. this.OpenImage = "current";
  17. IntegerNumber three = new IntegerNumber(1, 32);
  18. three.key = "Strength";
  19. three.name = PdnResources.GetString("Menu.strength.text");
  20. three.initialValue = 1;
  21. three.value = 1;
  22. lists.Add(three);
  23. }
  24. }
  25. }