1234567891011121314151617181920212223 |
- using PaintDotNet.Base;
- using PaintDotNet.Data.Param;
- using System.Collections.Generic;
- namespace PaintDotNet.Data.Action
- {
- /// <summary>
- /// 灰度化
- /// </summary>
- 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";
- }
- }
- }
|