Method RowSpan
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
RowSpan<T>(int)
Returns a Span<T> over a single row of this matrix without allocating a submatrix object. Padding bytes between rows are excluded from the span. For iterating all rows in a loop, prefer AsRows<T>() which captures the step once.
public Span<T> RowSpan<T>(int row) where T : unmanaged
Parameters
rowintZero-based row index.
Returns
- Span<T>
A span covering the
row-th row.
Type Parameters
TElement type. Must match the matrix element type.