1 / 16

Laboratory of Image Processing

Laboratory of Image Processing. Pier Luigi Mazzeo pierluigi.mazzeo@cnr.it July 23, 2014. Filtering. Neighbourhood processing. Mean. Filtering in MatLab. filter2. f ilter2 (cont.). fspecial ( low pass filters ).

fauna
Télécharger la présentation

Laboratory of Image Processing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Laboratory of Image Processing Pier Luigi Mazzeo pierluigi.mazzeo@cnr.it July 23, 2014

  2. Filtering

  3. Neighbourhood processing

  4. Mean

  5. Filtering in MatLab

  6. filter2

  7. filter2 (cont.)

  8. fspecial (low pass filters) Produce an Averagefiltering image using 9x9 filter and a 25x25 filter

  9. fspecial (low pass filters) >> hsize = 10; >> sigma = 5; >> h = fspecial(‘gaussian’ hsize, sigma); >> mesh(h); >> imagesc(h); >> outim = imfilter(c, h); >> imshow(outim);

  10. fspecial (low pass filters) for sigma=1:3:10 h = fspecial('gaussian‘, fsize, sigma); out = imfilter(c, h); imshow(out); pause; end

  11. Noise >> noise = randn(size(c)).*sigma; >> output = c+ noise; Periodicnoise

  12. Cleaning salt and pepper noise

  13. fspecial (high pass filters)

  14. fspecial (high pass filters)

  15. Unsharpmasking >> My = fspecial(‘sobel’); >> outim = imfilter(double(c), My); >> imagesc(outim); >> colormap gray; Find the image ‘pelicans.tif’ from internet and use u filter

  16. Cannyedge detector MATLAB: edge(c, ‘canny’); >>help edge I = imread('circuit.tif'); BW1 = edge(I,'prewitt'); BW2 = edge(I,'canny'); figure, imshow(BW1) figure, imshow(BW2)

More Related