Rotate this image the specified angle

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public Image<TColor, TDepth> Rotate(
	double angle,
	TColor background,
	bool crop
)
Public Function Rotate ( _
	angle As Double, _
	background As TColor, _
	crop As Boolean _
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ Rotate(
	double angle, 
	TColor background, 
	bool crop
)

Parameters

angle
Double
The angle of rotation in degrees.
background
TColor
The color with wich to fill the background
crop
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