Action5021.cs 839 B

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