ImageTColor, TDepthWarpPerspectiveTMapDepth Method (MatrixTMapDepth, 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> WarpPerspective<TMapDepth>(
Matrix<TMapDepth> mapMatrix,
Inter interpolationType,
Warp warpType,
BorderType borderMode,
TColor backgroundColor
)
where TMapDepth : new()
Public Function WarpPerspective(Of TMapDepth As New) (
mapMatrix As Matrix(Of TMapDepth),
interpolationType As Inter,
warpType As Warp,
borderMode As BorderType,
backgroundColor As TColor
) As Image(Of TColor, TDepth)
public:
generic<typename TMapDepth>
where TMapDepth : gcnew()
Image<TColor, TDepth>^ WarpPerspective(
Matrix<TMapDepth>^ mapMatrix,
Inter interpolationType,
Warp warpType,
BorderType borderMode,
TColor backgroundColor
)
member WarpPerspective :
mapMatrix : Matrix<'TMapDepth> *
interpolationType : Inter *
warpType : Warp *
borderMode : BorderType *
backgroundColor : 'TColor -> Image<'TColor, 'TDepth> when 'TMapDepth : new()
Parameters
- mapMatrix
- Type: Emgu.CVMatrixTMapDepth
3x3 transformation matrix - 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
Type Parameters
- TMapDepth
- The depth type of mapMatrix, should be either float or double
Return Value
Type:
ImageTColor,
TDepthThe result of the transformation
See Also