1 / 14

Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009

Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009. Lecture 2 September 21, 2009. Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall09/dip/. Plan. Sampling & Quantization Pixel Operations Point processing Histogram equalization

llaroche
Télécharger la présentation

Digital Image Processing ECE.09.452/ECE.09.552 Fall 2009

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. Digital Image ProcessingECE.09.452/ECE.09.552Fall 2009 Lecture 2September 21, 2009 Shreekanth Mandayam ECE Department Rowan University http://engineering.rowan.edu/~shreek/fall09/dip/

  2. Plan • Sampling & Quantization • Pixel Operations • Point processing • Histogram equalization • Connectivity • Lab Project 1 individual pixels all pixels neighboring pixels

  3. DIP: Details

  4. Sampling & Quantization • Sampling demos/demo1sampling_and_quantization/demo_sampling.m • Quantization demos/demo1sampling_and_quantization/demo_quant.m

  5. Image Preprocessing Restoration Enhancement • Inverse filtering • Wiener filtering Spectral Domain Spatial Domain • Filtering • >>fft2/ifft2 • >>fftshift • Point Processing • >>imadjust • >>histeq • Spatial filtering • >>filter2

  6. Point Processing(Intensity Transformation) s(x,y) = T{ r(x,y)} Transformed Gray Level Original Gray Level Transformation Function >>imadjust

  7. L-1 0 L-1 0 Point Processing L-1 s2 g s s s1 0 r r1 r2 r L-1 0 >>imadjust

  8. Image Histogram >>imhist

  9. Histogram Equalization(Balancing) >>histeq

  10. Pixel Connectivity x (x,y-1) (x+1,y-1) (x-1,y-1) y (x+1,y) (x,y) (x-1,y) (x-1,y+1) (x,y+1) (x+1,y+1)

  11. Labeling of Connected Components Begin scan Update position (x,y) Position: (x,y) p(x,y) = 1? All positions scanned? y y p(x-1,y) = 1? class(x,y) = class(x-1,y) y p(x,y-1) = 1? class(x,y) = class(x,y-1) y End scan p(x-1,y) AND p(x,y-1) = 1 class(x-1,y) = class(x,y-1) y p(x-1,y) AND p(x,y-1) = 0 y class(x,y) = new class

  12. Image Preprocessing Restoration Enhancement • Inverse filtering • Wiener filtering Spectral Domain Spatial Domain • Filtering • >>fft2/ifft2 • >>fftshift • Point Processing • >>imadjust • >>histeq • Spatial filtering • >>filter2

  13. Lab 1: Pixel Operations http://engineering.rowan.edu/~shreek/fall09/dip/lab1.html

  14. Summary

More Related