| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Wavelet Toolbox |
| Contents | Index |
This section takes you through the features of two-dimensional extension or truncation using one of the Wavelet Toolbox™ utilities. This section is short since it is very similar to One-Dimensional Extension.
Two-Dimensional Extension Using the Command Line
The function wextend performs image extension. For more information, see its reference page.
Two-Dimensional Extension Using the Graphical Interface
The tool displays the original image delimited by a red box and the transformed image delimited by a yellow box. The image has been extended by zero padding. The right part of the window allows you to control the parameters of the extension/truncation process for the vertical and horizontal directions, respectively. The possibilities are similar to the one-dimensional ones described in One-Dimensional Extension.
To see some more extension cases, look at the general demos of the toolbox (using the wavedemo command).
Importing and Exporting Information from the
Graphical Interface
This tool lets you save the transformed image to disk. The toolbox creates a MAT-file in the current folder with a name you choose.
To save the transformed image, use the menu option File > Save Transformed Image.
A dialog box appears that lets you specify a folder and filename for storing the image. Type the name woman2. After saving the image data to the file woman2.mat, load the variable into your workspace:
load woman2 whos
| Name |
Size |
Bytes |
Class |
| woman2 |
200x220 |
352000 |
double array |
| map |
253x3 |
6120 |
double array |
The transformed image is stored together with its colormap.
| Provide feedback about this page |
![]() | One-Dimensional Extension | Image Fusion | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |