Table of Contents

Class DecodeImage

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that decodes an image from each byte buffer in the sequence.

public class DecodeImage : Transform<Mat, IplImage>
Inheritance
DecodeImage
Inherited Members

Properties

Mode

Gets or sets a value specifying optional conversions applied to the decoded image.

public LoadImageFlags Mode { get; set; }

Property Value

LoadImageFlags

Methods

Process(IObservable<Mat>)

Decodes an image from each byte buffer in an observable sequence.

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

Parameters

source IObservable<Mat>

The sequence of array-like objects storing the memory buffers to be decoded.

Returns

IObservable<IplImage>

The sequence of decoded images.

Process(IObservable<byte[]>)

Decodes an image from each byte array in an observable sequence.

public IObservable<IplImage> Process(IObservable<byte[]> source)

Parameters

source IObservable<byte[]>

The sequence of array objects storing the image data to be decoded.

Returns

IObservable<IplImage>

The sequence of decoded images.