Method Generate
Generate()
Generates an observable sequence with a single buffer where all elements are set to the same scalar value.
public override IObservable<Mat> Generate()
Returns
- IObservable<Mat>
A sequence with a single Mat object with the specified element type and where all the elements are set to the same scalar value.
Generate<TSource>(IObservable<TSource>)
Generates an observable sequence of buffers where all elements are set to the same scalar value, and where each new buffer is emitted only when an observable sequence emits a notification.
public IObservable<Mat> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used for emitting new buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects with the specified element type and where all the elements are set to the same scalar value.
Type Parameters
TSource
The type of the elements in the
source
sequence.