MatDiag Method (Mat) OpenCvSharp Class Library
Extracts a diagonal from a matrix, or creates a diagonal matrix.

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

public static Mat Diag(
	Mat d
)

Parameters

d
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="d"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.Diag(OpenCvSharp.CPlusPlus.Mat)"]

Return Value

Type: Mat

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

See Also

Reference