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)
Syntaxpublic Image<TColor, TDepth> Rotate(
double angle,
PointF center,
Inter interpolationMethod,
TColor background,
bool crop
)
Public Function Rotate (
angle As Double,
center As PointF,
interpolationMethod As Inter,
background As TColor,
crop As Boolean
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ Rotate(
double angle,
PointF center,
Inter interpolationMethod,
TColor background,
bool crop
)
member Rotate :
angle : float *
center : PointF *
interpolationMethod : Inter *
background : 'TColor *
crop : bool -> Image<'TColor, 'TDepth>
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,
TDepthThe rotated image
See Also