Click or drag to resize

MatDiag Method (MatDiagType)

Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public Mat Diag(
	MatDiagType d = MatDiagType.Main
)

Parameters

d (Optional)
Type: OpenCvSharpMatDiagType
Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:

Return Value

Type: Mat
See Also