Table of Contents

Class RetrieveImage

Namespace
Bonsai.Shaders
Assembly
Bonsai.Shaders.dll

Represents an operator that reads the pixel data from each texture in the sequence to an image.

public class RetrieveImage : Transform<Texture, IplImage>
Inheritance
RetrieveImage
Inherited Members

Properties

Channels

Gets or sets the number of channels in the retrieved image.

public int Channels { get; set; }

Property Value

int

Depth

Gets or sets the bit depth of each pixel in the retrieved image.

public IplDepth Depth { get; set; }

Property Value

IplDepth

FlipMode

Gets or sets a value specifying the flip mode applied to the retrieved image.

public FlipMode? FlipMode { get; set; }

Property Value

FlipMode?

Methods

Process(IObservable<Texture>)

Reads the pixel data from each texture in an observable sequence to an image.

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

Parameters

source IObservable<Texture>

The sequence of texture objects from which to retrieve the pixel data.

Returns

IObservable<IplImage>

A sequence of IplImage objects containing the pixel data for each texture in the source sequence.