Rotate the image the specified angle cropping the result to the original size

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

Syntax

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

Parameters

angle
Double
The angle of rotation in degrees.
background
TColor
The color with wich to fill the background

Return Value

The image rotates by the specific angle

See Also