General 2-D Spatial Transformations in MATLAB

MATLAB has changed the protocol for 2-D Spatial Transformations. The original protocol used cp2tform and imtransform. The new protocol uses fitgeotrans and imwarp.

Example 1

MATLAB code:

The code demonstrates a 3D projective transformation to rectify an oblique view of a planar object. (Download planar.zip)

Documentation of Original Protocol

MATLAB Functions

imtransform
maketform

Image Registration


Maintained by John Loomis, last updated 11 March 2015