Table of Contents

Class ScalarBuffer

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that generates a sequence with a single buffer where all elements are set to the same scalar value.

public class ScalarBuffer : Source<Mat>
Inheritance
ScalarBuffer
Inherited Members

Properties

Channels

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

Depth

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

Size

Gets or sets the size of the output buffer.

Value

Gets or sets the scalar value to which all elements in the output buffer will be set to.

Methods

Generate()

Generates an observable sequence with a single buffer where all 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.