Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

invert

Class: affine3d

Invert geometric transformation

Syntax

invtform = invert(tform)

Description

invtform = invert(tform) returns the inverse of the geometric transformation tform.

Input Arguments

tform

Geometric transformation, specified as an affine3d geometric transformation object.

Output Arguments

invtform

Inverse of the geometric transformation, returned as an affine3d geometric transformation object

Examples

expand all

Create an affine3d object that defines a different scale factor in each dimension.

Sx = 1.2;
Sy = 1.6;
Sz = 2.4;
tform = affine3d([Sx 0 0 0; 0 Sy 0 0; 0 0 Sz 0; 0 0 0 1]);
tform = 

  affine3d with properties:

                 T: [4x4 double]
    Dimensionality: 3

Invert the geometric transformation.

invtform = invert(tform)
invtform = 

  affine3d with properties:

                 T: [4x4 double]
    Dimensionality: 3
Was this topic helpful?