http://www.emgu.com
Assembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Rotates an image around the origin (0,0) and then shifts it.
Namespace: Emgu.CV.GPUAssembly: Emgu.CV.GPU (in Emgu.CV.GPU.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public static void Rotate( IntPtr src, IntPtr dst, double angle, double xShift, double yShift, INPAINT_TYPE interpolation, IntPtr stream ) |
Visual Basic |
---|
Public Shared Sub Rotate ( _ src As IntPtr, _ dst As IntPtr, _ angle As Double, _ xShift As Double, _ yShift As Double, _ interpolation As INPAINT_TYPE, _ stream As IntPtr _ ) |
Visual C++ |
---|
public: static void Rotate( IntPtr src, IntPtr dst, double angle, double xShift, double yShift, INPAINT_TYPE interpolation, IntPtr stream ) |
Parameters
- src
- Type: System..::..IntPtr
Source image. Supports 1, 3 or 4 channels images with Byte, UInt16 or float depth
- dst
- Type: System..::..IntPtr
Destination image with the same type as src. Must be pre-allocated
- angle
- Type: System..::..Double
Angle of rotation in degrees
- xShift
- Type: System..::..Double
Shift along the horizontal axis
- yShift
- Type: System..::..Double
Shift along the verticle axis
- interpolation
- Type: Emgu.CV.CvEnum..::..INPAINT_TYPE
Interpolation method. Only INTER_NEAREST, INTER_LINEAR, and INTER_CUBIC are supported.
- stream
- Type: System..::..IntPtr
Use a Stream to call the function asynchronously (non-blocking) or IntPtr.Zero to call the function synchronously (blocking).