Table of Contents

Class SaveImage

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that writes each image in the sequence to a file.

public class SaveImage : Sink<IplImage>
Inheritance
SaveImage
Inherited Members

Properties

FileName

Gets or sets the name of the file on which to write the images.

[FileNameFilter("PNG Files (*.png)|*.png|BMP Files (*.bmp)|*.bmp|JPEG Files (*.jpg;*.jpeg)|*.jpg;*.jpeg|TIFF Files (*.tif)|*.tif")]
public string FileName { get; set; }

Property Value

string

Suffix

Gets or sets the optional suffix used to generate file names.

public PathSuffix Suffix { get; set; }

Property Value

PathSuffix

Methods

Process(IObservable<IplImage>)

Writes each image in an observable sequence to a file.

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

Parameters

source IObservable<IplImage>

The sequence of images to write.

Returns

IObservable<IplImage>

An observable sequence that is identical to the source sequence but where there is an additional side effect of writing the images to the specified file.