Click or drag to resize

MatDiag Method (Mat)

Extracts a diagonal from a matrix, or creates a diagonal matrix.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Mat Diag(
	Mat d
)

Parameters

d
Type: OpenCvSharpMat
One-dimensional matrix that represents the main diagonal.

Return Value

Type: Mat

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

See Also