Matlab:Image enhancement techniques
FilteringFiltering is a technique for modifying or enhancing an image. Image processing operations implemented with filtering include smoothing, sharpening, and edge enhancement.
Filtering an Image with Predefined Filter TypesThe ‘fspecial’ function produces several kinds of predefined filters. After creating a filter with ‘fspecial’, we can apply it directly to our image data using ‘imfilter’.I = imread('moon.tif');
h = fspecial('unsharp');
 I2 = imfilter(I,h);
imshow(I), title('Original Image')
 figure,  imshow(I2), title('Filtered Image')Filtering an Image with Predefined Filter Types
Filtering an Image with Predefined Filter TypesPredefined filters provided by ‘fspecial’
average’ 	Averaging filter
'disk’ 		Circular averaging filter (pillbox)
'gaussian’	Gaussian lowpass filter
'laplacian’	Approximates the two-dimensional Laplacian operator

Matlab Image Enhancement Techniques