\Zxing\CommonPerspectiveTransform

<p>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.</p>

Summary

Methods
Properties
Constants
quadrilateralToQuadrilateral()
quadrilateralToSquare()
buildAdjoint()
squareToQuadrilateral()
times()
transformPoints()
transformPoints_()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
__construct()
$a11
$a12
$a13
$a21
$a22
$a23
$a31
$a32
$a33
N/A

Properties

$a11

$a11

$a12

$a12

$a13

$a13

$a21

$a21

$a22

$a22

$a23

$a23

$a31

$a31

$a32

$a32

$a33

$a33

Methods

quadrilateralToQuadrilateral()

quadrilateralToQuadrilateral(mixed  $x0, mixed  $y0, mixed  $x1, mixed  $y1, mixed  $x2, mixed  $y2, mixed  $x3, mixed  $y3, mixed  $x0p, mixed  $y0p, mixed  $x1p, mixed  $y1p, mixed  $x2p, mixed  $y2p, mixed  $x3p, mixed  $y3p) : mixed

Parameters

mixed $x0
mixed $y0
mixed $x1
mixed $y1
mixed $x2
mixed $y2
mixed $x3
mixed $y3
mixed $x0p
mixed $y0p
mixed $x1p
mixed $y1p
mixed $x2p
mixed $y2p
mixed $x3p
mixed $y3p

Returns

mixed —

quadrilateralToSquare()

quadrilateralToSquare(mixed  $x0, mixed  $y0, mixed  $x1, mixed  $y1, mixed  $x2, mixed  $y2, mixed  $x3, mixed  $y3) : mixed

Parameters

mixed $x0
mixed $y0
mixed $x1
mixed $y1
mixed $x2
mixed $y2
mixed $x3
mixed $y3

Returns

mixed —

buildAdjoint()

buildAdjoint() : mixed

Returns

mixed —

squareToQuadrilateral()

squareToQuadrilateral(mixed  $x0, mixed  $y0, mixed  $x1, mixed  $y1, mixed  $x2, mixed  $y2, mixed  $x3, mixed  $y3) : mixed

Parameters

mixed $x0
mixed $y0
mixed $x1
mixed $y1
mixed $x2
mixed $y2
mixed $x3
mixed $y3

Returns

mixed —

times()

times(mixed  $other) : mixed

Parameters

mixed $other

Returns

mixed —

transformPoints()

transformPoints(mixed  $points, mixed  $yValues) : mixed

Parameters

mixed $points
mixed $yValues

Returns

mixed —

transformPoints_()

transformPoints_(mixed  $xValues, mixed  $yValues) : mixed

Parameters

mixed $xValues
mixed $yValues

Returns

mixed —

__construct()

__construct(mixed  $a11, mixed  $a21, mixed  $a31, mixed  $a12, mixed  $a22, mixed  $a32, mixed  $a13, mixed  $a23, mixed  $a33) : mixed

Parameters

mixed $a11
mixed $a21
mixed $a31
mixed $a12
mixed $a22
mixed $a32
mixed $a13
mixed $a23
mixed $a33

Returns

mixed —