ManagedCuda.NPP.NPPImage_8uC3.Rotate C# (CSharp) Method

Rotate() public method

Rotate images.
public Rotate ( NPPImage_8uC3 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation ) : void
dest NPPImage_8uC3 Destination image
nAngle double The angle of rotation in degrees.
nShiftX double Shift along horizontal axis
nShiftY double Shift along vertical axis
eInterpolation InterpolationMode Interpolation mode
return void
        public void Rotate(NPPImage_8uC3 dest, double nAngle, double nShiftX, double nShiftY, InterpolationMode eInterpolation)
        {
            status = NPPNativeMethods.NPPi.GeometricTransforms.nppiRotate_8u_C3R(_devPtr, _sizeRoi, _pitch, new NppiRect(_pointRoi, _sizeRoi),
                dest.DevicePointer, dest.Pitch, new NppiRect(dest.PointRoi, dest.SizeRoi), nAngle, nShiftX, nShiftY, eInterpolation);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiRotate_8u_C3R", status));
            NPPException.CheckNppStatus(status, this);
        }
NPPImage_8uC3