http://www.emgu.com
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
Transforms source image using the specified matrix
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.3.0.1416 (2.3.0.1416)
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 |
---|
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 ) |
Parameters
- mapMatrix
- Type: Emgu.CV..::..Matrix<(Of <(<'TMapDepth>)>)>
2x3 transformation matrix
- width
- Type: System..::..Int32
The width of the resulting image
- height
- Type: System..::..Int32
the height of the resulting image
- interpolationType
- Type: Emgu.CV.CvEnum..::..INTER
Interpolation type
- warpType
- Type: Emgu.CV.CvEnum..::..WARP
Warp type
- backgroundColor
- Type: TColor
A value used to fill outliers
Type Parameters
- TMapDepth
- The depth type of mapMatrix, should be either float or double