simtform2d
Description
A simtform2d
object stores information about a 2-D similarity
geometric transformation and enables forward and inverse transformations.
Creation
You can create a simtform2d
object in these ways:
fitgeotform2d
— Estimate a geometric transformation that maps pairs of control points between two images.The
simtform2d
function described here.
Syntax
Description
tform = simtform2d
creates a simtform2d
object
that performs the identity transformation.
tform = simtform2d(Scale,RotationAngle,Translation)
creates a
simtform2d
object that performs a similarity transformation based on
the specified values of the Scale
, RotationAngle
, and Translation
properties. These
properties specify the scale factor, rotation angle, and the amount of translation in the
x- and y-directions, respectively.
tform = simtform2d(Scale,R,Translation)
creates a
simtform2d
object that performs a similarity transformation based on
the specified values of the Scale
, R
, and Translation
properties. These
properties indicate the scale factor, rotation matrix, and the amounts of translation in
the x- and y-directions.
tform = simtform2d(A)
creates a simtform2d
object and sets the property A
as the specified 2-D similarity
transformation matrix.
tform = simtform2d(
creates a
tformIn
)simtform2d
object from another geometric transformation object,
tformIn
, that represents a valid 2-D similarity geometric
transformation.
Input Arguments
Properties
Object Functions
invert | Invert geometric transformation |
outputLimits | Find output spatial limits given input spatial limits |
transformPointsForward | Apply forward geometric transformation |
transformPointsInverse | Apply inverse geometric transformation |