Transforms source image using the specified matrix
Namespace:
Emgu.CV
Assembly:
Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public Image<TColor, TDepth> WarpAffine<TMapDepth>(
Matrix<TMapDepth> mapMatrix,
int width,
int height,
INTER interpolationType,
WARP warpType,
TColor backgroundColor
)
where TMapDepth : new()
|
Visual Basic (Declaration) |
---|
Public Function WarpAffine(Of TMapDepth As New) ( _
mapMatrix As Matrix(Of TMapDepth), _
width As Integer, _
height As Integer, _
interpolationType As INTER, _
warpType As WARP, _
backgroundColor As TColor _
) As Image(Of TColor, TDepth) |
Visual C++ |
---|
public:
generic<typename TMapDepth>
where TMapDepth : gcnew()
Image<TColor, TDepth>^ WarpAffine(
Matrix<TMapDepth>^ mapMatrix,
int width,
int height,
INTER interpolationType,
WARP warpType,
TColor backgroundColor
) |
Type Parameters
- TMapDepth
- The depth type of mapMatrix, should be either float or double
Return Value
The result of the transformation
See Also