Table of Contents

Class WarpPerspective

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Represents an operator that applies a perspective transformation to each image in the sequence.

public class WarpPerspective : Transform<IplImage, IplImage>
Inheritance
WarpPerspective
Inherited Members

Properties

Destination

Gets or sets the coordinates of the four corresponding quadrangle vertices in the output image.

public Point2f[] Destination { get; set; }

Property Value

Point2f[]

FillValue

Gets or sets the value to which all outlier pixels will be set to.

public Scalar FillValue { get; set; }

Property Value

Scalar

Flags

Gets or sets a value specifying the interpolation and operation flags for the image warp.

public WarpFlags Flags { get; set; }

Property Value

WarpFlags

Source

Gets or sets the coordinates of the four source quadrangle vertices in the input image.

public Point2f[] Source { get; set; }

Property Value

Point2f[]

Methods

Process(IObservable<IplImage>)

Applies a perspective transformation to each image in an observable sequence.

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

Parameters

source IObservable<IplImage>

The sequence of images to warp.

Returns

IObservable<IplImage>

The sequence of warped images.