Method Process
Process(IObservable<byte[]>)
Converts each byte array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.
public IObservable<Mat> Process(IObservable<byte[]> source)
Parameters
sourceIObservable<byte[]>A sequence of 8-bit unsigned integer arrays to convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Process(IObservable<short[]>)
Converts each short array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.
public IObservable<Mat> Process(IObservable<short[]> source)
Parameters
sourceIObservable<short[]>A sequence of 16-bit signed integer arrays to convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Process(IObservable<ushort[]>)
Converts each ushort array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.
public IObservable<Mat> Process(IObservable<ushort[]> source)
Parameters
sourceIObservable<ushort[]>A sequence of 16-bit unsigned integer arrays to convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Process(IObservable<int[]>)
Converts each int array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.
public IObservable<Mat> Process(IObservable<int[]> source)
Parameters
sourceIObservable<int[]>A sequence of 32-bit signed integer arrays to convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Process(IObservable<float[]>)
Converts each float array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.
public IObservable<Mat> Process(IObservable<float[]> source)
Parameters
sourceIObservable<float[]>A sequence of 32-bit floating-point arrays to convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Process(IObservable<double[]>)
Converts each double array in an observable sequence into a 2D array buffer with the specified size, depth and number of channels.
public IObservable<Mat> Process(IObservable<double[]> source)
Parameters
sourceIObservable<double[]>A sequence of 64-bit floating-point arrays to convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Process<TData>(IObservable<TData[]>)
Converts each array of type TData in an observable
sequence into a 2D array buffer with the specified size, depth and number
of channels.
public IObservable<Mat> Process<TData>(IObservable<TData[]> source) where TData : struct
Parameters
sourceIObservable<TData[]>A sequence of arrays of type
TDatato convert into a sequence of sample buffers.
Returns
- IObservable<Mat>
A sequence of Mat objects containing a copy of the managed array data reinterpreted as a 2D array buffer with the specified size, depth and number of channels.
Type Parameters
TDataThe type of the values stored in each array.