Image Processing Toolbox User's Guide Previous page   Next Page

Step 5: Using XData and YData Input Parameters

One way to ensure that the registered image appears registered with the base image is to truncate the registered image by discarding any areas that would extrapolate beyond the extent of the base image. You use the 'XData' and 'YData' parameters to do this.

Display the registered image, overlaying a semitransparent version of the base image for comparison. The registration is evident, but part of the unregistered image has been discarded. The next step provides another solution in which the entire registered image is visible.

Registered Image Truncated with Base Image Overlay

Previous page  Step 4: Transform the Unregistered Image Step 6: Using XData and YData Output Values Next page

© 1994-2005 The MathWorks, Inc.