Table of Contents

Method Generate

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Generate()

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

public override IObservable<Intrinsics> Generate()

Returns

IObservable<Intrinsics>

A sequence containing a single Intrinsics object representing the camera intrinsics loaded from the specified YML file.

Generate<TSource>(IObservable<TSource>)

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

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

Parameters

source IObservable<TSource>

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

Returns

IObservable<Intrinsics>

The sequence of Intrinsics 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.