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; } }
public override void Run() { HOperatorSet.RotateImage(ImageIn, out imageOut, (double)Angle % 360, "constant"); ImageIn.Dispose(); }