Image Processing Toolbox User's Guide Previous page   Next Page

Step 4: Transform the Unregistered Image

Use imtransform to perform the transformations necessary to register the unregistered image with the base image. This code uses the optional FillValues input parameter to specify a fill value (white). This fill value helps when the example overlays the transformed image, registered, on the base image to check the registration in a later step.

Step 5: Overlay Registered Image Over Base Image

Overlay a semitransparent version of the registered image over the base image. Notice how the two images appear misregistered because the example assumes that the images are in the same spatial coordinate system. The next steps provide two ways to remedy this display problem.

Registered Image with Base Image Overlay

Previous page  Step 3: Create a TFORM Structure Step 5: Using XData and YData Input Parameters Next page

© 1994-2005 The MathWorks, Inc.