示例#1
0
        public override void Run()
        {
            switch (MirrorType)
            {
            case EnumMirrorType.MirrorX:
                HOperatorSet.MirrorImage(ImageIn, out imageOut, "row");
                ImageIn.Dispose();
                break;

            case EnumMirrorType.MirrorY:
                HOperatorSet.MirrorImage(ImageIn, out imageOut, "column");
                ImageIn.Dispose();
                break;

            default:
                break;
            }
        }
示例#2
0
 public override void Run()
 {
     HOperatorSet.RotateImage(ImageIn, out imageOut, (double)Angle % 360, "constant");
     ImageIn.Dispose();
 }