Wavelet Toolbox Previous page   Next Page

Image Fusion Using the Graphical Interface

  1. Start the Image Fusion Tool.
  1. From the MATLAB prompt, type

    to display the Wavelet Toolbox Main Menu and then click the Image Fusion menu item to display the Image Fusion Tool.

  1. Load original images.
  1. From the File menu, choose the Load Image 1 option.

    When the Load Image 1 dialog box appears, select the demo MAT-file mask.mat, which should reside in the MATLAB directory toolbox/wavelet/wavedemo. Click the OK button.

    Perform the same sequence choosing the Load Image 2 option and selecting the demo MAT-file bust.mat.

  1. Perform wavelet decompositions.
  1. Using the Wavelet and Level menus located to the upper right, determine the wavelet family, the wavelet type, and the number of levels to be used for the analysis.

    For this analysis, select the db2 wavelet at level 5.

    Click the Decompose button.

    After a pause for computation, the tool displays the two analyses.

  1. Merge two images from their decompositions.
  1. From Select Fusion Method frame, select the item mean for both Approx. and Details. Next, click the Apply button.

    The synthesized image and its decomposition (which is equal to the fusion of the two decompositions) appear. The new image produced by fusion clearly exhibits features from the two original ones.

    Let us now examine another example illustrating restoration using image fusion.

  1. Restore the image using image fusion.
  1. From the File menu, load Image 1 by selecting the demo MAT-file cathe_1.mat, and Image 2 by selecting the demo MAT-file cathe_2.mat.

  1. Using the Wavelet and Level menus, select the sym4 wavelet at level 5. Click the Decompose button.
  2. From Select Fusion Method frame, select the item max for both Approx. and Details. Next, click the Apply button.

  1. The synthesized image is a restored version of good quality of the common underlying original image.

Saving the Synthesized Image

The Image Fusion Tool lets you save the synthesized image to disk. The toolbox creates a MAT-file in the current directory with a name you choose.

To save the synthesized image from the present selection, use the menu option FileSave Synthesized Image.

A dialog box appears that lets you specify a directory and filename for storing the image. After you save the image data to the file rescathe.mat, the synthesized image is given by X and the colormap by map.


Previous page  Image Fusion Using the Command Line One-Dimensional Fractional Brownian Motion Synthesis Next page

© 1994-2005 The MathWorks, Inc.