MatrixTDepthGetDiag Method (Int32) |
http://www.emgu.com
Return the specific diagonal elements of this matrix
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.3.0.2824 (3.3.0.2824)
Syntaxpublic Matrix<TDepth> GetDiag(
int diag
)
Public Function GetDiag (
diag As Integer
) As Matrix(Of TDepth)
public:
Matrix<TDepth>^ GetDiag(
int diag
)
member GetDiag :
diag : int -> Matrix<'TDepth>
Parameters
- diag
- Type: SystemInt32
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:
MatrixTDepthThe specific diagonal elements of this matrix
See Also