Property this
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
this[int, int, int, int]
Extracts a rectangular submatrix.
public Mat this[int rowStart, int rowEnd, int colStart, int colEnd] { get; set; }
Parameters
rowStartintStart row of the extracted submatrix. The upper boundary is not included.
rowEndintEnd row of the extracted submatrix. The upper boundary is not included.
colStartintStart column of the extracted submatrix. The upper boundary is not included.
colEndintEnd column of the extracted submatrix. The upper boundary is not included.
Property Value
this[Range, Range]
Extracts a rectangular submatrix.
public Mat this[Range rowRange, Range colRange] { get; set; }
Parameters
rowRangeRangeStart and end row of the extracted submatrix. The upper boundary is not included. To select all the rows, use Range.All().
colRangeRangeStart and end column of the extracted submatrix. The upper boundary is not included. To select all the columns, use Range.All().
Property Value
this[Range, Range]
Extracts a rectangular submatrix.
public Mat this[Range rowRange, Range colRange] { get; set; }
Parameters
rowRangeRangeStart and end row of the extracted submatrix. The upper boundary is not included. To select all the rows, use Range.All().
colRangeRangeStart and end column of the extracted submatrix. The upper boundary is not included. To select all the columns, use Range.All().
Property Value
this[Rect]
Extracts a rectangular submatrix.
[SuppressMessage("Microsoft.Design", "CA1043: Use integral or string argument for indexers")]
public Mat this[Rect roi] { get; set; }
Parameters
roiRectExtracted submatrix specified as a rectangle.
Property Value
this[Range[]]
Extracts a rectangular submatrix.
[SuppressMessage("Microsoft.Design", "CA1043: Use integral or string argument for indexers")]
public Mat this[params Range[] ranges] { get; set; }
Parameters
rangesRange[]Array of selected ranges along each array dimension.