Property this
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
this[int, int]
Gets or sets the element at the specified 2-D position.
public TElem this[int row, int col] { get; set; }
Parameters
Property Value
- TElem
this[int, int, int, int]
Extracts a rectangular submatrix.
public Mat<TElem> 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
- Mat<TElem>
this[Range, Range]
Extracts a rectangular submatrix.
public Mat<TElem> 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
- Mat<TElem>
this[Rect]
Extracts a rectangular submatrix.
[SuppressMessage("Microsoft.Design", "CA1043: Use integral or string argument for indexers")]
public Mat<TElem> this[Rect roi] { get; set; }
Parameters
roiRectExtracted submatrix specified as a rectangle.
Property Value
- Mat<TElem>
this[Range[]]
Extracts a rectangular submatrix.
public Mat<TElem> this[params Range[] ranges] { get; set; }
Parameters
rangesRange[]Array of selected ranges along each array dimension.
Property Value
- Mat<TElem>