| 123456789101112131415161718192021222324252627282930 |
- using Resources;
- using SmartCoalApplication.Core;
- using SmartCoalApplication.Core.Param;
- namespace SmartCoalApplication.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);
- }
- }
- }
|