Mat<TElem, TInherit> .SubMat Method (Int32, Int32, Int32, Int32)
|
Extracts a rectangular submatrix.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic TInherit SubMat(
int rowStart,
int rowEnd,
int colStart,
int colEnd
)
Public Function SubMat (
rowStart As Integer,
rowEnd As Integer,
colStart As Integer,
colEnd As Integer
) As TInherit
public:
TInherit SubMat(
int rowStart,
int rowEnd,
int colStart,
int colEnd
)
member SubMat :
rowStart : int *
rowEnd : int *
colStart : int *
colEnd : int -> 'TInherit
function SubMat(rowStart, rowEnd, colStart, colEnd);
Parameters
- rowStart
- Type: System.Int32
Start row of the extracted submatrix. The upper boundary is not included. - rowEnd
- Type: System.Int32
End row of the extracted submatrix. The upper boundary is not included. - colStart
- Type: System.Int32
Start column of the extracted submatrix. The upper boundary is not included. - colEnd
- Type: System.Int32
End column of the extracted submatrix. The upper boundary is not included.
Return Value
Type:
TInherit
See Also