using PaintDotNet.Adjust; using PaintDotNet.Base; using PaintDotNet.Base.Functionodel; using PaintDotNet.Data.Param; using System.Collections.Generic; namespace PaintDotNet.Data.Action { /// /// 抽骨架 /// public class Action912 : ParamObject { public override OpenCvSharp.Mat PerformProcess(PhaseModel phaseModel, double rule) { return new MorphologyIntent().ImageSkeleton(phaseModel.mat, this.Lists, phaseModel.color); } public Action912() { this.MenuId = ActionType.ActionSkeleton; this.OpenImage = "currentPhase"; } } }