CvArrGetDiag Method (CvMat, DiagType) OpenCvSharp Class Library
Returns one of array diagonals

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

public CvMat GetDiag(
	out CvMat submat,
	DiagType diag
)

Parameters

submat
Type: OpenCvSharpCvMat
Reference to the resulting sub-array header.
diag
Type: OpenCvSharpDiagType
Array diagonal. Zero corresponds to the main diagonal, -1 corresponds to the diagonal above the main etc., 1 corresponds to the diagonal below the main etc.

Return Value

Type: CvMat

[Missing <returns> documentation for "M:OpenCvSharp.CvArr.GetDiag(OpenCvSharp.CvMat@,OpenCvSharp.DiagType)"]

See Also

Reference