Click or drag to resize

MatEye Method

http://www.emgu.com
Returns an identity matrix of the specified size and type.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.Platform.NetStandard (in Emgu.CV.Platform.NetStandard.dll) Version: 4.3.0.3890
Syntax
public static Mat Eye(
	int rows,
	int cols,
	DepthType type,
	int channels
)

Parameters

rows
Type: SystemInt32
Number of rows.
cols
Type: SystemInt32
Number of columns.
type
Type: Emgu.CV.CvEnumDepthType
Mat element type
channels
Type: SystemInt32
Number of channels

Return Value

Type: Mat
An identity matrix of the specified size and type.
See Also