Table of Contents

Class ImageWriter

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that writes each image in the sequence to the specified stream.

public class ImageWriter : StreamSink<IplImage, BinaryWriter>
Inheritance
ImageWriter
Inherited Members

Methods

CreateWriter(Stream)

Creates the BinaryWriter object that will be responsible for writing the image data to the specified Stream.

protected override BinaryWriter CreateWriter(Stream stream)

Parameters

stream Stream

The stream on which the image data should be written.

Returns

BinaryWriter

The BinaryWriter object that will be used to write image data into the stream.

Write(BinaryWriter, IplImage)

Writes a new image to the binary output stream.

protected override void Write(BinaryWriter writer, IplImage input)

Parameters

writer BinaryWriter

A BinaryWriter object used to write raw image data to the output stream.

input IplImage

The image frame containing the raw binary data to write into the output stream.