Table of Contents

Class Reshape

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Represents an operator that changes the shape of each array in the sequence without copying data.

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

Properties

Channels

Gets or sets the new number of channels. Zero means the number of channels will not change.

public int Channels { get; set; }

Property Value

int

Rows

Gets or sets the new number of rows. Zero means the number of rows will not change.

public int Rows { get; set; }

Property Value

int

Methods

Process(IObservable<IplImage>)

Changes the shape of each image in an observable sequence without copying data.

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

Parameters

source IObservable<IplImage>

The sequence of images to be reshaped.

Returns

IObservable<IplImage>

The sequence of reshaped images.

Process(IObservable<Mat>)

Changes the shape of each matrix in an observable sequence without copying data.

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

Parameters

source IObservable<Mat>

The sequence of multi-channel matrices to be reshaped.

Returns

IObservable<Mat>

The sequence of reshaped multi-channel matrices.