affine2d
2-D affine geometric transformation
Description
An affine2d
object stores information about a 2-D affine
geometric transformation and enables forward and inverse transformations.
Creation
You can create an affine2d
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.fitgeotrans
— Estimate a geometric transformation that maps pairs of control points between two images.randomAffine2d
— Create a randomized 2-D affine transformation.The
affine2d
function described here.
Description
tform = affine2d
creates an affine2d
object with default property settings that correspond to the identity
transformation.
tform = affine2d(
sets the
property T
)T
as the specified valid affine transformation
matrix.
Properties
Object Functions
invert | Invert geometric transformation |
isRigid | Determine if transformation is rigid transformation |
isSimilarity | Determine if transformation is similarity transformation |
isTranslation | Determine if transformation is pure translation |
outputLimits | Find output spatial limits given input spatial limits |
transformPointsForward | Apply forward geometric transformation |
transformPointsInverse | Apply inverse geometric transformation |