Table of Contents

Method Process

Namespace
Bonsai.Dsp
Assembly
Bonsai.Dsp.dll

Process(IObservable<Tuple<int, int>>)

Computes a sequence of two-dimensional histograms from an observable sequence of pairs of integer coordinates.

public IObservable<IplImage> Process(IObservable<Tuple<int, int>> source)

Parameters

source IObservable<Tuple<int, int>>

A sequence of pairs of integer coordinates used to calculate the two-dimensional histogram.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the two-dimensional histogram calculated from the values in the source sequence.

Process(IObservable<Tuple<float, float>>)

Computes a sequence of two-dimensional histograms from an observable sequence of pairs of single-precision floating-point coordinates.

public IObservable<IplImage> Process(IObservable<Tuple<float, float>> source)

Parameters

source IObservable<Tuple<float, float>>

A sequence of pairs of single-precision floating-point coordinates used to calculate the two-dimensional histogram.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the two-dimensional histogram calculated from the values in the source sequence.

Process(IObservable<Point>)

Computes a sequence of two-dimensional histograms from an observable sequence of 2D points with integer coordinates.

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

Parameters

source IObservable<Point>

A sequence of 2D points with integer coordinates used to calculate the two-dimensional histogram.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the two-dimensional histogram calculated from the values in the source sequence.

Process(IObservable<Point2f>)

Computes a sequence of two-dimensional histograms from an observable sequence of 2D points with single-precision floating-point coordinates.

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

Parameters

source IObservable<Point2f>

A sequence of 2D points with single-precision floating-point coordinates used to calculate the two-dimensional histogram.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the two-dimensional histogram calculated from the values in the source sequence.

Process<TArray>(IObservable<Tuple<TArray, TArray>>)

Computes a sequence of two-dimensional histograms from an observable sequence of pairs of one-dimensional arrays of coordinates.

public IObservable<IplImage> Process<TArray>(IObservable<Tuple<TArray, TArray>> source) where TArray : Arr

Parameters

source IObservable<Tuple<TArray, TArray>>

A sequence of pairs of one-dimensional arrays, where each array represents respectively the horizontal and vertical dimensions used to calculate the two-dimensional histogram.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the two-dimensional histogram calculated from the values in the source sequence.

Type Parameters

TArray

The type of the array-like objects in the source sequence.

Process(IObservable<Mat>)

Computes a sequence of two-dimensional histograms from an observable sequence of multi-channel arrays of point coordinates.

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

Parameters

source IObservable<Mat>

A sequence of two-channel arrays, or single-channel arrays with two rows, where the different elements in an array represent the horizontal and vertical dimensions used to calculate the two-dimensional histogram.

Returns

IObservable<IplImage>

A sequence of IplImage objects representing the two-dimensional histogram calculated from the values in the source sequence.