Note: This page has been translated by MathWorks. Click here to see

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

2-D polynomial geometric transformation

A `PolynomialTransformation2D`

object encapsulates a 2-D
polynomial geometric transformation.

You can create a `PolynomialTransformation2D`

object using the
following methods:

The

`fitgeotrans`

function, which estimates a geometric transformation that maps pairs of control points between two images.The

`images.geotrans.PolynomialTransformation2D`

function described here. This function creates a`PolynomialTransformation2D`

object using coordinates of fixed points and moving points, or the known polynomial coefficients for the forward and inverse transformation.

`tform = images.geotrans.PolynomialTransformation2D(movingPoints,fixedPoints,degree)`

`tform = images.geotrans.PolynomialTransformation2D(a,b)`

`tform = images.geotrans.PolynomialTransformation2D(`

creates a `movingPoints`

,`fixedPoints`

,`degree`

)`PolynomialTransformation2D`

object
and sets the `Degree`

property. The function estimates the polynomial
coefficients `A`

and `B`

from
matrices `movingPoints`

and `fixedPoints`

that define matched control points in the moving and fixed images,
respectively.

`outputLimits` | Find output spatial limits given input spatial limits |

`transformPointsInverse` | Apply inverse geometric transformation |