This chapter gave you a rather detailed tool of two-dimensional filtering in MATLAB. The basic mathematic ideas behind image filtering were explained and practical examples were given. You got to see various techniques for using two-dimensional filtering in everyday problems such as removing noise from images, or enhancing areas that are blurred. You also learned some artistic effects caused by image filtering and practiced on ways to use them in your images. More specifically, this chapter covered:
An introduction to neighborhood-based operations on an image
An explanation of what convolution is and why it is important
The alternative way to perform filtering, by using correlation
The usage of
imfilter
for performing image filteringHow you make kernels with
fspecial
, for image filtering usageHow to blur images and why it is important
How to create artistic effects using blurring
How to remove noise using blurring
How to enhance edges in an image, why it is important, and how it is connected...