ECE 692 – Advanced Topics in Computer Vision

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.
CS & CS Multimedia Processing Lecture 2. Intensity Transformation and Spatial Filtering Spring 2009.
Spatial Filtering.
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Lecture 6 Sharpening Filters
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
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.
Digital Image Processing
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
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
2-D, 2nd Order Derivatives for Image Enhancement
Lecture 2. Intensity Transformation and Spatial Filtering
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.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Presentation Image Filters
Computer Vision – Enhancement(Part II) Hanyang University Jong-Il Park.
Spatial Filtering: Basics
Digital Image Processing Image Enhancement Part IV.
Digital Image Processing
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 +
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.
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.
Sejong Univ. CH3. Area Processes Convolutions Blurring Sharpening Averaging vs. Median Filtering.
Image enhancement Last update Heejune Ahn, SeoulTech.
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.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part I.
Digital Image Processing Lecture - 6 Autumn 2009.
Image Enhancement by Spatial Domain Filtering
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.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
Miguel Tavares Coimbra
Image Subtraction Mask mode radiography h(x,y) is the mask.
Fundamentals of Spatial Filtering:
Digital Image Processing CSC331
Filtering – Part I Gokberk Cinbis Department of Computer Engineering
Spatial Filtering - Enhancement
Digital Image Processing
Lecture 10 Image sharpening.
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Image Enhancement in the Spatial Domain
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
9th Lecture - Image Filters
Digital Image Processing
Linear Operations Using Masks
Enhancement.
Image Enhancement – Simple Intensity Processing
Department of Computer Engineering
Lecture 2: Image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Image Enhancement in the Spatial Domain
DIGITAL IMAGE PROCESSING Elective 3 (5th Sem.)
Presentation transcript:

ECE 692 – Advanced Topics in Computer Vision Lecture 2 – Kernel Operators 01/14/16

What do discuss/clarify? What is a linear operator? How to apply and effect? How is the kernel derived? Using kernel to estimate derivatives Derivative estimation by function fitting A kernel as a sampled differentiable function

Spatial filtering Use spatial filters (masks) for linear and nonlinear image enhancement How to use mask? 1D (the mask is 3 2 1) 2D z1 z2 z3 f1 f2 f3 z4 z5 z6 f4 f5 f6 z7 z8 z9 f7 f8 f9 mask image

Spatial filters Purpose: Lowpass/Smoothing spatial filtering 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

Smoothing filters 1 1/9 x 1 2 4 1/16 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 1 2 4 1/16

Averaging filter Median filter

Median filter Averaging filter

Sharpening filters -1 8 Purpose Basic highpass spatial filter 1/9 x 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

Unsharp masking and high-boost filters 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 gmask(x,y) = f(x,y) - f(x,y) g(x,y) = f(x,y) + k*gmask(x,y)

Derivative filters

Derivative filters

Filters - 1st derivative Roberts filter Prewitt filter Sobel filter 1 1 -1 -1 -1 -1 -1 -1 1 -1 1 1 1 1 -1 1 -1 -2 -1 -1 1 -2 2 1 2 1 -1 1

Spatial filters

2nd Derivatives – The Laplacian

The Laplacian - Masks To recover the image: 1 1 1 1 1 -4 1 1 -8 1 1 1 1 1 1 1 To recover the image: 1 -4 1 1 -8 1 1 1 1 1 -1 -1 -1 -1 -1 4 -1 -1 8 1 -1 -1 -1 -1

Roberts Prewitt Sobel

Roberts Prewitt Sobel

Comparison Unsharp masking (3x3, 9x9) laplacian sobel

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

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