affinetform2d
Description
An affinetform2d
object stores information about a 2-D affine
geometric transformation and enables forward and inverse transformations.
Creation
You can create an affinetform2d
object in these ways:
imregtform
— Estimate a geometric transformation that maps a moving image to a fixed image using similarity optimization.imregcorr
— Estimate a geometric transformation that maps a moving image to a fixed image using phase correlation.fitgeotform2d
— Estimate a geometric transformation that maps pairs of control points between two images.randomAffine2d
— Create a randomized 2-D affine transformation.The
affinetform2d
function described here.
Description
tform = affinetform2d
creates an affinetform2d
object that performs an identity transformation.
tform = affinetform2d(
creates an
A
)affinetform2d
object and sets the property A
as the specified 2-D affine transformation matrix.
tform = affinetform2d(
creates an
tformIn
)affinetform2d
object from another geometric transformation object,
tformIn
, that represents a valid 2-D affine 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 |