using PaintDotNet.Base; using PaintDotNet.Data.Param; using System.Collections.Generic; namespace PaintDotNet.Data.Action { /// /// 灰度化 /// public class Action5011 : ParamObject { public override OpenCvSharp.Mat PerformProcess(OpenCvSharp.Mat src) { return Adjust.AdjustIntent.Bgr2GrayFunction(src); } public Action5011() { this.MenuId = ActionType.ActionBgr2Gray; this.OpenImage = "current"; } } }