next up previous
Next: Graphical User Interface Up: Geometrical Correction for Taken Previous: Step 2: Making geometric

Step 3: Transform Image

This is final step to get geometrical correction of distorted image. imtransform can do that. Note that the choice of `XData' and `YData' values ensures the registered image will be aligned with the orthophoto.
im1  = imread('image1.bmp');
info = imfinfo('image1.bmp');
registered = imtransform(im1,t_concord,...
                         'XData',[1 info.Width], 'YData',[1 info.Height]);
You can do Step 1-4 once. After that, t_concord can be used repeatably.

The original source of this procedure is written by help of Image Processing Toolbox in MATLAB. Please look and check in detail as you like.




2006-12-08