Table of Contents

Class CreateIntrinsics

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that creates a set of parameters specifying the camera intrinsics.

public class CreateIntrinsics : Source<Intrinsics>
Inheritance
CreateIntrinsics
Inherited Members

Properties

FocalLength

Gets or sets the focal length of the camera, in units of pixels.

public Point2d FocalLength { get; set; }

Property Value

Point2d

ImageSize

Gets or sets the image size, in pixels, for the camera intrinsics.

[TypeConverter(typeof(NumericRecordConverter))]
public Size? ImageSize { get; set; }

Property Value

Size?

PrincipalPoint

Gets or sets the principal point of the camera, in pixels, usually at the image center.

public Point2d PrincipalPoint { get; set; }

Property Value

Point2d

RadialDistortion

Gets or sets the radial distortion coefficients.

public Point3d RadialDistortion { get; set; }

Property Value

Point3d

TangentialDistortion

Gets or sets the tangential distortion coefficients.

public Point2d TangentialDistortion { get; set; }

Property Value

Point2d

Methods

Generate()

Generates an observable sequence that contains the camera intrinsics using the specified focal length and distortion parameters.

public override IObservable<Intrinsics> Generate()

Returns

IObservable<Intrinsics>

A sequence containing the created Intrinsics structure.

Generate<TSource>(IObservable<TSource>)

Generates an observable sequence of camera intrinsics using the specified focal length and distortion parameters, and where each Intrinsics object is emitted 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 emitting new camera intrinsics.

Returns

IObservable<Intrinsics>

The sequence of created Intrinsics objects.

Type Parameters

TSource

The type of the elements in the source sequence.