Table of Contents

Class LoadExtrinsics

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that loads a set of camera extrinsics from a YML file.

public class LoadExtrinsics : Source<Extrinsics>
Inheritance
LoadExtrinsics
Inherited Members

Properties

FileName

Gets or sets the name of the camera extrinsics file.

[FileNameFilter("YML Files (*.yml)|*.yml|All Files|*.*")]
public string FileName { get; set; }

Property Value

string

Methods

Generate()

Generates an observable sequence that contains the camera extrinsics loaded from the specified YML file.

public override IObservable<Extrinsics> Generate()

Returns

IObservable<Extrinsics>

A sequence containing a single Extrinsics object representing the camera extrinsics loaded from the specified YML file.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of camera extrinsics loaded from the specified YML file, and where each Extrinsics object is loaded only when an observable sequence emits a notification.

public IObservable<Extrinsics> Generate<TSource>(IObservable<TSource> source)

Parameters

source IObservable<TSource>

The sequence containing the notifications used for loading new camera extrinsics.

Returns

IObservable<Extrinsics>

The sequence of Extrinsics objects loaded from the specified YML file. The most current file name is used to load the parameters after each notification in the source sequence.

Type Parameters

TSource

The type of the elements in the source sequence.