Digital Image Processing CSC331

Slides:



Advertisements
Similar presentations
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Filtering.
Advertisements

Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Digital Image Processing
Image Processing Lecture 4
Spatial Filtering.
Lecture 6 Sharpening Filters
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
6/9/2015Digital Image Processing1. 2 Example Histogram.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
Digital Image Processing
2-D, 2nd Order Derivatives for Image Enhancement
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part II.
MSU CSE 803 Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute some result.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Digital Image Processing
Digital Image Processing CCS331 Basic Transformations 1.
Digital Image Processing CCS331 Image Interpolation 1.
Digital Image Processing CCS331
Digital Image Processing CSC331
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
Digital Image Processing CCS331 Relationships of Pixel 1.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
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 +
Digital Image Processing CSC331 Image Enhancement 1.
Chapter 5: Neighborhood Processing
Spatial Filtering.
Image Enhancement ارتقاء تصویر Enhancement Spatial Domain Frequency Domain.
Digital Image Processing, 3rd ed. © 1992–2008 R. C. Gonzalez & R. E. Woods Gonzalez & Woods Chapter 3 Intensity Transformations.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Digital Image Processing CSC331 Image restoration 1.
Digital Image Processing CSC331 Morphological image processing 1.
Sharpening Filters To highlight fine detail or to enhance blurred detail. –smoothing ~ integration –sharpening ~ differentiation Categories of sharpening.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Digital Image Processing CSC331 Image Enhancement 1.
Digital Image Processing CSC331 Image restoration 1.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods.
Digital Image Processing Lecture - 6 Autumn 2009.
Sharpening Spatial Filters ( high pass)  Previously we have looked at smoothing filters which remove fine detail  Sharpening spatial filters seek to.
Digital Image Processing Week V Thurdsak LEAUHATONG.
Digital Image Processing CSC331
Lecture Seven Figures from Gonzales and Woods, Digital Image Processing, Copyright 2002.
Digital Image Processing CCS331 Relationships of Pixel 1.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Miguel Tavares Coimbra
Fundamentals of Spatial Filtering:
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Linear Filters T-11 Computer Vision University of Houston
ECE 692 – Advanced Topics in Computer Vision
IMAGE PROCESSING INTENSITY TRANSFORMATION AND SPATIAL FILTERING
Math 3360: Mathematical Imaging
Spatial Filtering - Enhancement
Digital Image Processing
Digital Image Processing
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
a kind of filtering that leads to useful features
Digital Image Processing
a kind of filtering that leads to useful features
Linear Operations Using Masks
Lecture 7 Spatial filtering.
Image Enhancement in the Spatial Domain
Image Sharpening using Laplacian
Presentation transcript:

Digital Image Processing CSC331 Image Enhancement

Summery of previous lecture Mask processing Linear smoothing operation Median filter Sharpening spatial filter

Todays lecture 1st and 2nd order derivatives Laplacian filter Unsharp masking and high-boost filtering

Smoothing linear filters with different mask size

Salt-and-pepper noise

Sharpening The term sharpening is referred to the techniques suited for enhancing the intensity transitions. In images, the borders between objects are perceived because of the intensity change: more crisp the intensity transitions, more sharp the image. The intensity transitions between adjacent pixels are related to the derivatives of the image. Hence, operators (possibly expressed as linear filters) able to compute the derivatives of a digital image are very interesting

Sharpening spatial filter By averaging over an image, then the image becomes blurred or the details in the image are removed. Now, this averaging operation is equivalent to integration operation. The opposite differentiation operation or derivative operations will make the image sharp. We need derivative operations

First derivative of an image Since the image is a discrete function, the traditional definition of derivative cannot be applied. Hence, a suitable operator have to be defined such that it satisfies the main properties of the first derivative: 1. it is equal to zero in the regions where the intensity is constant; 2. it is different from zero for an intensity transition; 3. it is constant on ramps where the intensity transition is constant. The natural derivative operator is the difference between the intensity of neighboring pixels (spatial differentiation).

Second derivative of an image This operator satisfies the following properties: 1. it is equal to zero where the intensity is constant; 2. it is different from zero at the begin of a step (or a ramp) of the intensity; 3. it is equal to zero on the constant slope ramps.

Observations 1st order derivatives produce thicker edges 2nd order derivatives have stronger response to finer details 1st order derivatives have stronger response to gray level step 2nd order derivatives produce double response to step changes Both 1st and 2nd order derivatives produce negative pixel values Shift output image for display Some applications use only the absolute value overall 2nd order is better for most of the cases

Laplacian operator Usually the sharpening filters make use of the second order operators. A second order operator is more sensitive to intensity variations than a first order operator. Besides, partial derivatives has to be considered for images The derivative in a point depends on the direction along which it is computed. Operators that are invariant to rotation are called isotropic. Rotate and differentiate (or filtering) has the same effects of differentiate and rotate. The Laplacian is the simpler isotropic derivative operator (wrt. the principal directions):  

Laplacian filter

(a) and (c): Isotropic results for increments of 90o (b) and (d): Isotropic results for increments of 45o

Unsharp masking and high-boost filtering The technique known as unsharp masking is a method of common use in graphics for making the images sharper. It consists of: 1. defocusing the original image; 2. obtaining the mask as the difference between the original image and its defocused copy; 3. adding the mask to the original image.

Mask of High Boost

Summery of the lecture 1st and 2nd order derivatives Laplacian filter Unsharp masking and high-boost filtering

References Prof .P. K. Biswas Department of Electronics and Electrical Communication Engineering Indian Institute of Technology, Kharagpur Gonzalez R. C. & Woods R.E. (2008). Digital Image Processing. Prentice Hall. Forsyth, D. A. & Ponce, J. (2011).Computer Vision: A Modern Approach. Pearson Education.