Table of Contents

Method Generate

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Generate()

Generates an observable sequence with a single image where all pixels are set to the same color value.

public override IObservable<IplImage> Generate()

Returns

IObservable<IplImage>

A sequence with a single IplImage object with the specified pixel format and where all pixels are set to the same color value.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of images where all pixels are set to the same color value, and where each new image is emitted only when an observable sequence emits a notification.

public IObservable<IplImage> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for emitting new images.

Returns

IObservable<IplImage>

A sequence of IplImage objects with the specified pixel format and where all pixels are set to the same color value.

Type Parameters

TSource

The type of the elements in the source sequence.