PerspectiveTransform class

This class implements a perspective transform in two dimensions. Given four source and four destination points, it will compute the transformation implied between them. The code is based directly upon section 3.4.2 of George Wolberg's "Digital Image Warping"; see pages 54-56.

@author Sean Owen

Properties

a11 double
final
a12 double
final
a13 double
final
a21 double
final
a22 double
final
a23 double
final
a31 double
final
a32 double
final
a33 double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildAdjoint() PerspectiveTransform
Adjoint is the transpose of the cofactor matrix:
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
times(PerspectiveTransform other) PerspectiveTransform
toString() String
A string representation of this object.
inherited
transformPoints(List<double> points) → void
transformPointsPair(List<double> xValues, List<double> yValues) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

quadrilateralToQuadrilateral(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, double x0p, double y0p, double x1p, double y1p, double x2p, double y2p, double x3p, double y3p) PerspectiveTransform
quadrilateralToSquare(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3) PerspectiveTransform
Here, the adjoint serves as the inverse:
squareToQuadrilateral(double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3) PerspectiveTransform