Class Submatrix
Represents an operator that extracts a submatrix from each array in the sequence.
public class Submatrix : Transform<Mat, Mat>
- Inheritance
-
Submatrix
- Inherited Members
Properties
EndCol
Gets or sets the last column of the submatrix. If it is not specified, the submatrix will end at the last column of the array.
public int? EndCol { get; set; }
Property Value
- int?
EndRow
Gets or sets the last row of the submatrix. If it is not specified, the submatrix will end at the last row of the array.
public int? EndRow { get; set; }
Property Value
- int?
StartCol
Gets or sets the first column of the submatrix.
public int StartCol { get; set; }
Property Value
StartRow
Gets or sets the first row of the submatrix.
public int StartRow { get; set; }
Property Value
Methods
Process(IObservable<Mat>)
Extracts a submatrix from each array in an observable sequence.
public override IObservable<Mat> Process(IObservable<Mat> source)
Parameters
source
IObservable<Mat>A sequence of 2D matrix values.
Returns
- IObservable<Mat>
A sequence of 2D matrix values, where each matrix stores the range of rows and columns specified by the submatrix.