Image Processing Toolbox User's Guide Previous page   Next Page

Using Predefined Filter Types

The fspecial function produces several kinds of predefined filters, in the form of correlation kernels. After creating a filter with fspecial, you can apply it directly to your image data using imfilter. This example illustrates applying an unsharp masking filter to an grayscale image. The unsharp masking filter has the effect of making edges and fine detail in the image more crisp.


Previous page  Filtering Using imfilter Filter Design Next page

© 1994-2005 The MathWorks, Inc.