Action5010.cs 543 B

1234567891011121314151617181920212223
  1. using PaintDotNet.Base;
  2. using PaintDotNet.Data.Param;
  3. using System.Collections.Generic;
  4. namespace PaintDotNet.Data.Action
  5. {
  6. /// <summary>
  7. /// 反色
  8. /// </summary>
  9. public class Action5010 : ParamObject
  10. {
  11. public override OpenCvSharp.Mat PerformProcess(OpenCvSharp.Mat src)
  12. {
  13. return Adjust.AdjustIntent.ReverseColorFunction(src);
  14. }
  15. public Action5010()
  16. {
  17. this.MenuId = ActionType.ActionRevertColor;
  18. this.OpenImage = "current";
  19. }
  20. }
  21. }