simtform3d
R2026bDescription
A simtform3d object stores information about a nonreflective 3-D
similarity geometric transformation and enables forward and inverse
transformations.
Creation
Syntax
Description
creates a
tform = simtform3dsimtform3d object that performs an identity transformation.
creates a tform = simtform3d(s,eulerAngles,t)simtform3d object that performs a similarity transformation
based on the specified scale factor s, Euler angles, and amount of
translation t.
Input Arguments
Output 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 |
Examples
Tips
The
simtform3dobject does not support reflection. To create a geometric transformation that includes reflection, use anaffinetform3dobject instead. To check for reflection, calculate the determinant of the rotation matrixrotMator the upper‑left 3-by-3 submatrix of the similarity transformation matrix,simMat. A negative determinant indicates that the transformation includes a reflection.You can the apply the rigid transformation saved in the
simtform3dobject to an image by using theimwarpfunction.