Click or drag to resize

ImageTColor, TDepthRotate Method (Double, PointF, Inter, TColor, Boolean)

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

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public Image<TColor, TDepth> Rotate(
	double angle,
	PointF center,
	Inter interpolationMethod,
	TColor background,
	bool crop
)

Parameters

angle
Type: SystemDouble
The angle of rotation in degrees. Positive means clockwise.
center
Type: System.DrawingPointF
The center of rotation
interpolationMethod
Type: Emgu.CV.CvEnumInter
The interpolation method
background
Type: TColor
The color with with to fill the background
crop
Type: SystemBoolean
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

Type: ImageTColor, TDepth
The rotated image
See Also