Table of Contents

Class ReferenceChannels

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that subtracts a reference channel from all the individual rows in a 2D array sequence.

public class ReferenceChannels : Transform<Mat, Mat>
Inheritance
ReferenceChannels
Inherited Members

Properties

Channels

Gets or sets the indices of the channels to use as reference. If not specified, the average of all the array channels is used.

[TypeConverter(typeof(UnidimensionalArrayConverter))]
public int[] Channels { get; set; }

Property Value

int[]

Methods

Process(IObservable<Mat>)

Subtracts a reference channel from all the individual rows in an observable sequence of 2D array values.

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

Parameters

source IObservable<Mat>

A sequence of 2D array values.

Returns

IObservable<Mat>

A sequence of 2D array values, where the reference channel for each array has been subtracted from every row.