ImageTColor, TDepthWarpAffine Method (Mat, Int32, Int32, Inter, Warp, BorderType, TColor) |
http://www.emgu.com
Transforms source image using the specified matrix
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> WarpAffine(
Mat mapMatrix,
int width,
int height,
Inter interpolationType,
Warp warpType,
BorderType borderMode,
TColor backgroundColor
)
Public Function WarpAffine (
mapMatrix As Mat,
width As Integer,
height As Integer,
interpolationType As Inter,
warpType As Warp,
borderMode As BorderType,
backgroundColor As TColor
) As Image(Of TColor, TDepth)
public:
Image<TColor, TDepth>^ WarpAffine(
Mat^ mapMatrix,
int width,
int height,
Inter interpolationType,
Warp warpType,
BorderType borderMode,
TColor backgroundColor
)
member WarpAffine :
mapMatrix : Mat *
width : int *
height : int *
interpolationType : Inter *
warpType : Warp *
borderMode : BorderType *
backgroundColor : 'TColor -> Image<'TColor, 'TDepth>
Parameters
- mapMatrix
- Type: Emgu.CVMat
2x3 transformation matrix - width
- Type: SystemInt32
The width of the resulting image - height
- Type: SystemInt32
the height of the resulting image - interpolationType
- Type: Emgu.CV.CvEnumInter
Interpolation type - warpType
- Type: Emgu.CV.CvEnumWarp
Warp type - borderMode
- Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method - backgroundColor
- Type: TColor
A value used to fill outliers
Return Value
Type:
ImageTColor,
TDepthThe result of the transformation
See Also