Action5058.cs 494 B

123456789101112131415161718192021
  1. using PaintDotNet.Data.Param;
  2. namespace PaintDotNet.Data.Action
  3. {
  4. /// <summary>
  5. /// 图像间操作-指数
  6. /// </summary>
  7. public class Action5058 : ParamObject
  8. {
  9. public override OpenCvSharp.Mat PerformProcess(OpenCvSharp.Mat src)
  10. {
  11. return Adjust.InterImageIntent.ImageIndex(src);
  12. }
  13. public Action5058()
  14. {
  15. this.MenuId = ActionType.ActionImageIndex;
  16. this.OpenImage = "current";
  17. }
  18. }
  19. }