| 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
)
Public Shared Function Diag (
d As Mat
) As Mat
public:
static Mat^ Diag(
Mat^ d
)
static member Diag :
d : Mat -> Mat
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