Class Split
Represents an operator that splits the channels of each array in the sequence into separate arrays.
[Combinator]
[WorkflowElementCategory(ElementCategory.Transform)]
public class Split
- Inheritance
-
Split
- Inherited Members
Methods
Process(IObservable<IplImage>)
Splits the channels of each image in an observable sequence into separate images.
public IObservable<Tuple<IplImage, IplImage, IplImage, IplImage>> Process(IObservable<IplImage> source)
Parameters
source
IObservable<IplImage>A sequence of image values.
Returns
- IObservable<Tuple<IplImage, IplImage, IplImage, IplImage>>
A sequence of tuples of image values, where each image represents a different channel from the original matrix. If the image has less than four channels, the remaining elements in the tuple after the last channel will be set to null.
Process(IObservable<Mat>)
Splits the channels of each matrix in an observable sequence into separate matrices.
public IObservable<Tuple<Mat, Mat, Mat, Mat>> Process(IObservable<Mat> source)
Parameters
source
IObservable<Mat>A sequence of 2D matrix values.