Image Processing Toolbox User's Guide Previous page   Next Page

Step 6: Using XData and YData Output Values

Another approach is to compute the full extent of the registered image and use the optional imtransform syntax that returns the x- and y-coordinates that indicate the transformed image's position relative to the base image's pixel coordinates.

Display the registered image. Overlay a semi-transparent version of the base image for comparison. Adjust the axes to include the full base image. In this case, notice how the registration is evident and the full extent of both images is visible as well.


Previous page  Step 5: Using XData and YData Input Parameters Image Registration Next page

© 1994-2005 The MathWorks, Inc.