Action5056.cs 507 B

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