Method Generate
Generate()
Generates an observable sequence that reads a block of pixels from the framebuffer and returns the data as an image object.
public override IObservable<IplImage> Generate()
Returns
- IObservable<IplImage>
An observable sequence with a single IplImage object storing the pixels read from the framebuffer at the next state update.
Generate<TSource>(IObservable<TSource>)
Reads a block of pixels from the framebuffer whenever an observable sequence emits a notification.
public IObservable<IplImage> Generate<TSource>(IObservable<TSource> source)
Parameters
source
IObservable<TSource>The sequence containing the notifications used to read a block of pixels from the framebuffer.
Returns
- IObservable<IplImage>
A sequence of IplImage objects storing the pixels read from the framebuffer whenever the
source
sequence emits a notification.
Type Parameters
TSource
The type of the elements in the
source
sequence.