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: 1.0.0
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

[Missing <returns> documentation for "M:OpenCvSharp.Mat.Diag(OpenCvSharp.MatDiagType)"]

See Also