spatialTransformRigid edit page

one displacement, the same everywhere

The whole frame moved and nothing within it changed shape. Fitted as the weighted mean of the measured displacements, so a tile that correlated weakly counts for little.

Syntax

T = spatialTransformRigid(u)
T = spatialTransformRigid.fit(posA,posB)
T = spatialTransformRigid.fit(posA,posB,'weights',w)

Input

u vector3d, the displacement
posA, posB vector3d, the same points in the two frames
w double, one weight per point

Output

T spatialTransformRigid

Class Properties

u vector3d, the displacement added to every position

See also

spatialTransform spatialTransformShift