Table of Contents

Class SaveExtrinsics

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that writes a sequence of camera extrinsics to a YML file.

public class SaveExtrinsics : Sink<Extrinsics>
Inheritance
SaveExtrinsics
Inherited Members

Properties

FileName

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

[FileNameFilter("YML Files (*.yml)|*.yml|All Files|*.*")]
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<Extrinsics>)

Writes an observable sequence of camera extrinsic properties to the specified YML file.

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

Parameters

source IObservable<Extrinsics>

The sequence of camera extrinsic properties to write.

Returns

IObservable<Extrinsics>

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