using PaintDotNet.Base; using PaintDotNet.Base.Enum; using PaintDotNet.Base.Functionodel; using PaintDotNet.Data.Param; using System.Collections.Generic; namespace PaintDotNet.Data.Action { /// /// 实时图像拼接 /// public class Action411 : ParamObject { public override OpenCvSharp.Mat PerformProcess(OpenCvSharp.Mat src) { return Adjust.AdjustIntent.RealTimeStitchingFunction(src, this.Lists); } public Action411() { this.MenuId = ActionType.RealTimeStitching; this.OpenImage = "current"; //第一个参数 InputMatObject one = new InputMatObject(); one.key = "Src2"; one.name = PdnResources.GetString("Menu.intoimage.Text")+"2"; one.FriendlyName = PdnResources.GetString("Untitled.FriendlyName");//待修改中文资源-scc备注 20200717 //one.FilePath = null; lists.Add(one); } } }