Table of Contents

Class ConvertFromArray

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that converts each managed array in the sequence into a 2D array buffer with the specified size, depth and number of channels.

[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class ConvertFromArray
Inheritance
ConvertFromArray
Inherited Members

Properties

Channels

Gets or sets the number of channels in the output array buffer.

Depth

Gets or sets the bit depth of each element in the output array buffer.

Size

Gets or sets the size of the output array buffer.

Methods

Process(IObservable<byte[]>)

Converts each byte array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.

Process(IObservable<double[]>)

Converts each double array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.

Process(IObservable<short[]>)

Converts each short array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.

Process(IObservable<int[]>)

Converts each int array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.

Process(IObservable<float[]>)

Converts each float array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.

Process(IObservable<ushort[]>)

Converts each ushort array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.

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

Converts each array of type TData in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.