http://www.emgu.com
Rotate this image the specified angle

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

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.
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

Return Value

The rotated image

See Also