Table of Contents

Class AffineTransform

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that creates an affine transformation matrix specified by a translation, rotation and scale.

[WorkflowElementCategory(ElementCategory.Source)]
public class AffineTransform : Combinator<Mat>
Inheritance
AffineTransform
Inherited Members

Constructors

AffineTransform()

Initializes a new instance of the AffineTransform class.

Properties

Pivot

Gets or sets the pivot around which to scale or rotate the image.

Rotation

Gets or sets the rotation angle around the pivot, in radians.

Scale

Gets or sets the scale factor to apply to individual image dimensions.

Translation

Gets or sets the translation vector to apply to the image.

Methods

Process()

Generates an observable sequence that contains an affine transformation matrix specified by a translation, rotation and scale.

Process<TSource>(IObservable<TSource>)

Generates an observable sequence of affine transformation matrices using the specified translation, rotation and scale, and where each matrix is emitted only when an observable sequence emits a notification.