Click or drag to resize
ImageTColor, TDepthWarpPerspectiveTMapDepth Method (MatrixTMapDepth, Int32, Int32, Inter, Warp, BorderType, TColor)
http://www.emgu.com
Transforms source image using the specified matrix

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public Image<TColor, TDepth> WarpPerspective<TMapDepth>(
	Matrix<TMapDepth> mapMatrix,
	int width,
	int height,
	Inter interpolationType,
	Warp warpType,
	BorderType borderType,
	TColor backgroundColor
)
where TMapDepth : new()

Parameters

mapMatrix
Type: Emgu.CVMatrixTMapDepth
3x3 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
borderType
Type: Emgu.CV.CvEnumBorderType
Border type
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, TDepth
The result of the transformation
See Also