http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Rotate this image the specified angle
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.2.1777 (2.4.2.1777)
Syntax
C# |
---|
public Image<TColor, TDepth> Rotate( double angle, PointF center, INTER interpolationMethod, TColor background, bool crop ) |
Visual Basic |
---|
Public Function Rotate ( _ angle As Double, _ center As PointF, _ interpolationMethod As INTER, _ background As TColor, _ crop As Boolean _ ) As Image(Of TColor, TDepth) |
Visual C++ |
---|
public: Image<TColor, TDepth>^ Rotate( double angle, PointF center, INTER interpolationMethod, TColor background, bool crop ) |
Parameters
- angle
- Type: System..::..Double
The angle of rotation in degrees. Positive means clockwise.
- center
- Type: System.Drawing..::..PointF
The center of rotation
- interpolationMethod
- Type: Emgu.CV.CvEnum..::..INTER
The intepolation method
- background
- Type: TColor
The color with wich to fill the background
- crop
- Type: System..::..Boolean
If set to true the image is cropped to its original size, possibly losing corners information. If set to false the result image has different size than original and all rotation information is preserved