12345678910111213141516171819202122232425 |
- using PaintDotNet.Adjust;
- using PaintDotNet.Base;
- using PaintDotNet.Base.Functionodel;
- using PaintDotNet.Data.Param;
- using System.Collections.Generic;
- namespace PaintDotNet.Data.Action
- {
- /// <summary>
- /// 抽骨架
- /// </summary>
- 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";
- }
- }
- }
|