MatDiag Method (MatDiagType) OpenCvSharp Class Library
Single-column matrix that forms a diagonal matrix or index of the diagonal, with the following values:

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public Mat Diag(
	MatDiagType d = MatDiagType.Main
)

Parameters

d (Optional)
Type: OpenCvSharp.CPlusPlusMatDiagType
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.CPlusPlus.Mat.Diag(OpenCvSharp.CPlusPlus.MatDiagType)"]

See Also

Reference