ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.

Slides:



Advertisements
Similar presentations
Spatial Filtering (Chapter 3)
Advertisements

Image Processing Lecture 4
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Spatial Filtering.
Local Enhancement Histogram processing methods are global processing, in the sense that pixels are modified by a transformation function based on the gray-level.
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Chapter 3 Image Enhancement in the Spatial Domain.
Lecture 6 Sharpening Filters
Image Pre-Processing Image pre-processing (předzpracování obrazu) –transformations of the input image leading to noise reduction, image improvement or.
ECE 472/572 - Digital Image Processing Lecture 7 - Image Restoration - Noise Models 10/04/11.
EE 4780 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing
ECE 472/572 - Digital Image Processing
Image Enhancement in the Spatial Domain II Jen-Chang Liu, 2006.
Digital Image Processing
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Digital Image Processing
Chapter 3: Image Enhancement in the Spatial Domain
ECE 472/572 - Digital Image Processing Lecture 5 - Image Enhancement - Frequency Domain Filters 09/13/11.
6/9/2015Digital Image Processing1. 2 Example Histogram.
Machine Vision and Dig. Image Analysis 1 Prof. Heikki Kälviäinen CT50A6100 Lectures 6&7: Image Enhancement Professor Heikki Kälviäinen Machine Vision and.
2007Theo Schouten1 Enhancements Techniques for editing an image such that it is more suitable for a specific application than the original image. Spatial.
Digital Image Processing
1 Vladimir Botchko Lecture 4. Image Enhancement Lappeenranta University of Technology (Finland)
Digital Image Processing
Image Enhancement.
2-D, 2nd Order Derivatives for Image Enhancement
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
Lecture 2. Intensity Transformation and Spatial Filtering
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part II.
Chapter 3 Image Enhancement in the Spatial Domain.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
ECE 472/572 – Digital Image Processing Lecture 2 – Elements of Visual Perception and Image Formation 08/25/11.
Chap2 Image enhancement (Spatial domain)
Digital Image Processing Lecture 4 Image Restoration and Reconstruction Second Semester Azad University Islamshar Branch
Introduction to Image Processing Grass Sky Tree ? ? Review.
Presentation Image Filters
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Spatial Filtering: Basics
Digital Image Processing Image Enhancement Part IV.
CS654: Digital Image Analysis Lecture 17: Image Enhancement.
Chapter 3 Image Enhancement in the Spatial Domain.
CIS 601 Image ENHANCEMENT in the SPATIAL DOMAIN Dr. Rolf Lakaemper.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Introduction to Image Processing
Image Processing is replacing Original Pixels by new Pixels using a Transform rst uvw xyz Origin x y Image f (x, y) e processed = v *e + r *a + s *b +
Image Restoration Chapter 5.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods  Process an image so that the result will be more suitable.
Chapter 5: Neighborhood Processing
Spatial Filtering.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Digital Image Processing EEE415 Lecture 3
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
ECE 472/572 - Digital Image Processing Lecture 6 – Geometric and Radiometric Transformation 09/27/11.
Lecture Reading  3.1 Background  3.2 Some Basic Gray Level Transformations Some Basic Gray Level Transformations  Image Negatives  Log.
EE 7730 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 3 Image Enhancement in the Spatial Domain Chapter.
Digital Image Processing Lecture - 6 Autumn 2009.
Image Enhancement by Spatial Domain Filtering
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Fundamentals of Spatial Filtering:
ECE 692 – Advanced Topics in Computer Vision
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Image Enhancement – Simple Intensity Processing
Image Enhancement in the Spatial Domain
Presentation transcript:

ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11

2 Roadmap  Introduction –Image format (vector vs. bitmap) –IP vs. CV vs. CG –HLIP vs. LLIP –Image acquisition  Perception –Structure of human eye rods vs. conss (Scotopic vision vs. photopic vision) Fovea and blind spot Flexible lens (near-sighted vs. far-sighted) –Brightness adaptation and Discrimination Weber ratio Dynamic range –Image resolution Sampling vs. quantization  Image enhancement –Enhancement vs. restoration –Spatial domain methods Point-based methods –Negative –Log transformation –Power-law –Contrast stretching –Gray-level slicing –Bit plane slicing –Histogram –Averaging Mask-based (neighborhood- based) methods - spatial filter –Frequency domain methods

3 Questions  Smoothing vs. Sharpening filters –Characteristics of the masks –Visual effect  Linear vs. Nonlinear smoothing filters  Averaging vs. Weighted averaging  Unsharp masking  1st vs. 2nd derivative –Principle –Design

4 Spatial filtering  Use spatial filters (masks) for linear and nonlinear image enhancement  How to use mask? –1D (the mask is 3 2 1) –2D z1z1 z2z2 z3z3 z4z4 z5z5 z6z6 z7z7 z8z8 z9z9 f1f1 f2f2 f3f3 f4f4 f5f5 f6f6 f7f7 f8f8 f9f9 maskimage

5 Spatial filters  Purpose: –Blur or noise reduction  Lowpass/Smoothing spatial filtering –Sum of the mask coefficients is 1 –Visual effect: reduced noise but blurred edge as well  Smoothing linear filters –Averaging filter –Weighted average (e.g., Gaussian)  Smoothing nonlinear filters –Order statistics filters (e.g., median filter)  Purpose –Highlight fine detail or enhance detail blurred  Highpass/Sharpening spatial filter –Sum of the mask coefficients is 0 –Visual effect: enhanced edges on a dark background  High-boost filtering and unsharp masking  Derivative filters –1st –2nd

6 Smoothing filters  Purpose: –Blur or noise reduction  Smoothing linear filtering (lowpass spatial filter) –Neighborhood (weighted) averaging –Can use different size of masks –Sum of the mask coefficients is 1 –Drawback:  Order-statistic nonlinear filters –Response is determined by ordering the pixels contained in the image area covered by the mask –Median filtering The gray level of each pixel is replaced by the median of its neighbor. Good at denoising (salt-and-pepper noise/impulse noise) –Max filter –Min filter /9 x /16

7 Averaging filter Median filter

8 Median filterAveraging filter

9 Sharpening filters  Purpose –Highlight fine detail or enhance detail that has been blurred  Basic highpass spatial filter –Sum of the mask coefficients is 0 –Visual effect: enhanced edges on a dark background  Unsharp masking and High-boost filtering  Derivatives –1st derivative –2nd derivative 8 1/9 x

10 Unsharp masking and high-boost filters  Unsharp masking –To generate the mask: Subtract a blurred version of the image from itself –Add the mask to the original  Highboost: –k>1 –Application: input image is very dark g mask (x,y) = f(x,y) - f(x,y) g(x,y) = f(x,y) + k*g mask (x,y)

11 Derivative filters

12 Derivative filters

13 Filters - 1st derivative  Roberts filter  Prewitt filter  Sobel filter

14 Spatial filters

15 2 nd Derivatives – The Laplacian

16 The Laplacian - Masks To recover the image:

17 Roberts Prewitt Sobel

18 Roberts Prewitt Sobel

19 Comparison laplaciansobel Unsharp masking (3x3, 9x9)

20 Perfect image Corrupted image Laplacian|Prewitt|Sobel|Roberts Marr-Hildreth|Canny

21 Laplacian|Prewitt|Sobel|Roberts Same with threshold Marr-Hildreth|Canny|Angiogram

22 Example 1 - Unsharp Mask Examples taken from

23 Example 2 - Sharpening filter Examples from

24 Spatial filters  Purpose: –Blur or noise reduction  Lowpass/Smoothing spatial filtering –Sum of the mask coefficients is 1 –Visual effect: reduced noise but blurred edge as well  Smoothing linear filters –Averaging filter –Weighted average (e.g. Gaussian)  Smoothing nonlinear filters –Order statistics filters (e.g. median filter)  Purpose –Highlight fine detail or enhance detail that has been blurred  Highpass/Sharpening spatial filter –Sum of the mask coefficients is 0 –Visual effect: enhanced edges on a dark background  High-boost filtering and unsharp masking  Derivative filters –1st –2nd