Table of Contents

Class SelectChannels

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that selects a subset of the input channels or reorganizes channel layout for each array in the sequence.

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

Properties

Channels

Gets or sets the indices of the channels to include in the output buffer. Reordering and duplicating channels is allowed.

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

Property Value

int[]

Methods

Process(IObservable<Mat>)

Selects a subset of the input channels or reorganizes channel layout for each array in an observable sequence.

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 data for each row is selected from the specified channels of the original multi-dimensional data.