Line 2: | Line 2: | ||
<math> | <math> | ||
− | h(k,l)=\begin{array}{ccc}1& 2 & 1\\ | + | h(k,l)=\frac{1}{16}\left[ \begin{array}{ccc}1& 2 & 1\\ |
2 &4 &2 \\ | 2 &4 &2 \\ | ||
1 & 2 & 1 | 1 & 2 & 1 | ||
\end{array} | \end{array} | ||
+ | \right] | ||
</math> | </math> | ||
[[Image:averagefilterfrequencyresponse.png]] | [[Image:averagefilterfrequencyresponse.png]] | ||
+ | |||
+ | Plot of the frequency response of the filter: | ||
+ | |||
+ | <math> | ||
+ | h(k,l)=\frac{1}{9}\left[\begin{array}{ccc}-1& -1 & -1\\ | ||
+ | -1 &8 &-1 \\ | ||
+ | -1 & -1 & -1 | ||
+ | \end{array} | ||
+ | \right] | ||
+ | </math> | ||
+ | with <math>\lambda = 0.5</math>. | ||
[[Image:edgedetectfilterfrequencyresponse.png]] | [[Image:edgedetectfilterfrequencyresponse.png]] | ||
+ | |||
+ | Plot of the frequency response of the filter: | ||
+ | |||
+ | <math> | ||
+ | h(k,l)=\frac{1}{9}\left[\begin{array}{ccc}-\lambda & -\lambda & -\lambda\\ | ||
+ | -\lambda &9+8 \lambda & -\lambda \\ | ||
+ | -\lambda & -\lambda & -\lambda | ||
+ | \end{array} | ||
+ | \right] | ||
+ | </math> | ||
[[Image:unsharpmaskfrequencyresponse.png]] | [[Image:unsharpmaskfrequencyresponse.png]] | ||
[http://en.wikipedia.org/wiki/Unsharp_masking Link to example of unsharp masking] | [http://en.wikipedia.org/wiki/Unsharp_masking Link to example of unsharp masking] |
Revision as of 11:44, 28 April 2009
Plot of the frequency response of the average filter:
$ h(k,l)=\frac{1}{16}\left[ \begin{array}{ccc}1& 2 & 1\\ 2 &4 &2 \\ 1 & 2 & 1 \end{array} \right] $
Plot of the frequency response of the filter:
$ h(k,l)=\frac{1}{9}\left[\begin{array}{ccc}-1& -1 & -1\\ -1 &8 &-1 \\ -1 & -1 & -1 \end{array} \right] $ with $ \lambda = 0.5 $.
Plot of the frequency response of the filter:
$ h(k,l)=\frac{1}{9}\left[\begin{array}{ccc}-\lambda & -\lambda & -\lambda\\ -\lambda &9+8 \lambda & -\lambda \\ -\lambda & -\lambda & -\lambda \end{array} \right] $