Class Shift
Represents an operator that shifts the elements of each array in the sequence by a specified offset.
public class Shift : Transform<Mat, Mat>
- Inheritance
-
Shift
- Inherited Members
Properties
BorderType
Gets or sets a value specifying the method used to generate values on the border of the shift.
public IplBorder BorderType { get; set; }
Property Value
FillValue
Gets or sets the value to which constant border pixels will be set to.
public Scalar FillValue { get; set; }
Property Value
Offset
Gets or sets the offset by which to shift the input buffer in the horizontal and vertical direction.
public Point Offset { get; set; }
Property Value
Methods
Process(IObservable<IplImage>)
Shifts the elements of each image in an observable sequence by a specified offset.
public IObservable<IplImage> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>A sequence of image values.
Returns
- IObservable<IplImage>
A sequence of image values, where the elements in each image are shifted by the specified offset in the horizontal and vertical direction.
Process(IObservable<Mat>)
Shifts the elements of each matrix in an observable sequence by a specified offset.
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 the elements in each matrix are shifted by the specified offset in the horizontal and vertical direction.