Table of Contents

Method Process

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Process<TElement>(IObservable<TElement[]>)

Writes all of the arrays in an observable sequence to the specified raw binary output stream.

public IObservable<TElement[]> Process<TElement>(IObservable<TElement[]> source) where TElement : unmanaged

Parameters

source IObservable<TElement[]>

The sequence of arrays to write. The elements stored in each array must be of an unmanaged type.

Returns

IObservable<TElement[]>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the arrays to a stream.

Type Parameters

TElement

Process(IObservable<byte[]>)

Writes all of the byte arrays in an observable sequence to the specified raw binary output stream.

public IObservable<byte[]> Process(IObservable<byte[]> source)

Parameters

source IObservable<byte[]>

The sequence of byte arrays to write.

Returns

IObservable<byte[]>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the arrays to a stream.

Process(IObservable<Mat>)

Writes all multi-channel matrices in an observable sequence to the specified raw binary output stream.

public IObservable<Mat> Process(IObservable<Mat> source)

Parameters

source IObservable<Mat>

The sequence of multi-channel matrices to write.

Returns

IObservable<Mat>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the matrices to a stream.