Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof

Slides:



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

The Fourier Transform I
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.
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer The Fourier Transform II.
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny Prof.dr.ir. Marcel Breeuwer dr. Anna Vilanova Histogram equalization.
Lecture 4 Linear Filters and Convolution
6/9/2015Digital Image Processing1. 2 Example Histogram.
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
1 Image filtering Hybrid Images, Oliva et al.,
7. Neighbourhood operations A single pixel considered in isolation conveys information on the intensity and colour at a single location in an image, but.
CS 376b Introduction to Computer Vision 02 / 27 / 2008 Instructor: Michael Eckmann.
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.
CS443: Digital Imaging and Multimedia Filters Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring 2008 Ahmed Elgammal Dept.
Basic Image Processing January 26, 30 and February 1.
Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr. Marcel Breeuwer Noise and Filtering.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
Filtering Course web page: vision.cis.udel.edu/cv March 5, 2003  Lecture 9.
CS 376b Introduction to Computer Vision 02 / 26 / 2008 Instructor: Michael Eckmann.
Spatial Filtering: Basics
Digital Image Processing
Basis beeldverwerking (8D040) dr. Andrea Fuster Prof.dr. Bart ter Haar Romeny dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Convolution.
Introduction to Image Processing Grass Sky Tree ? ? Sharpening Spatial Filters.
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
Convolution and Filtering
Chapter 5: Neighborhood Processing
Course Website: Digital Image Processing Image Enhancement (Spatial Filtering 1)
CSC508 Convolution Operators. CSC508 Convolution Arguably the most fundamental operation of computer vision It’s a neighborhood operator –Similar to the.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
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 Lecture 16: Segmentation: Detection of Discontinuities May 2, 2005 Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part I.
Sharpening Spatial Filters ( high pass)  Previously we have looked at smoothing filters which remove fine detail  Sharpening spatial filters seek to.
Digital Image Processing CSC331
Sliding Window Filters Longin Jan Latecki October 9, 2002.
Filters– Chapter 6. Filter Difference between a Filter and a Point Operation is that a Filter utilizes a neighborhood of pixels from the input image to.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Miguel Tavares Coimbra
Basic Principles Photogrammetry V: Image Convolution & Moving Window:
Digital Image Processing CSC331
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
All about convolution.
Digital Image Processing
Dr. Chang Shu COMP 4900C Winter 2008
Lecture 10 Image sharpening.
CIS 350 – 3 Image ENHANCEMENT SPATIAL DOMAIN
Lecture 3 (2.5.07) Image Enhancement in Spatial Domain
Geometric and Point Transforms
9th Lecture - Image Filters
Digital Image Processing
Digital Image Processing
Image Segmentation Image analysis: First step:
Lecture: Image manipulations (2) Filters and kernels
Basic Image Processing
Digital Image Processing Week IV
Interesting article in the March, 2006 issue of Wired magazine
Lecture 2: Image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Lecture 7 Spatial filtering.
All about convolution.
Fundamentals of Spatial Filtering
Image Enhancement in Spatial Domain: Neighbourhood Processing
Presentation transcript:

Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof Basis beeldverwerking (8D040) dr. Andrea Fuster dr. Anna Vilanova Prof.dr.ir. Marcel Breeuwer Convolution

Contents Spatial filtering Correlation Convolution Filters: Smoothing filters Sharpening filters Borders Basis beeldverwerking 8D040

Spatial filtering Input image , use a filter to obtain processed image Filter consists of Neighbourhood (rectangular) Mostly odd dimensions Predefined operation Create new pixel value in center of neighbourhood Basis beeldverwerking 8D040

Spatial filtering Filter operation (3x3 filter) More compact notation - filter Basis beeldverwerking 8D040

Intuition to filtering Basis beeldverwerking 8D040

Move filter over image Basis beeldverwerking 8D040

Basis beeldverwerking 8D040

Basis beeldverwerking 8D040

Basis beeldverwerking 8D040

Basis beeldverwerking 8D040

Correlation While moving the filter, at each position Multiply values of overlapping locations Sum all multiplication results Basis beeldverwerking 8D040

Correlation vs. Convolution Discrete Correlation 2D Discrete Convolution 2D - Equivalent to first rotate the filter 180 degrees and correlate- Basis beeldverwerking 8D040

Example See blackboard ☺ (or figure 3.30 Gonzalez and Woods) Basis beeldverwerking 8D040

Correlation vs. Convolution Correlation and convolution give the same result if the filter used is symmetric! Basis beeldverwerking 8D040 25-03-2009

Convolution – 1D cont. case Imagine a system with input signal transfer function output signal then Basis beeldverwerking 8D040

system transfer function Definition input output system transfer function Basis beeldverwerking 8D040

Dirac delta function (unit impulse) Definition Constraint Sifting property Specifically for t=0 Basis beeldverwerking 8D040

Convolution Let We saw this already in the discrete case Basis beeldverwerking 8D040

Properties of convolution Commutative Associative Distributive Basis beeldverwerking 8D040

Convolution is commutative Proof Let Q.E.D. Basis beeldverwerking 8D040

Convolution is associative - 1 Proof Basis beeldverwerking 8D040

Convolution is associative - 2 Basis beeldverwerking 8D040

Convolution is associative - 3 Let Basis beeldverwerking 8D040

Convolution is associative - 4 Q.E.D. Basis beeldverwerking 8D040

Convolution is distributive - 1 Proof Basis beeldverwerking 8D040

Convolution is distributive - 2 Q.E.D. Basis beeldverwerking 8D040

Discrete convolution 1D 2D Basis beeldverwerking 8D040

Discrete convolution Formulas take summation from to Filters have a limited size, e.g., 1D 2a + 1 2D (2a + 1, 2b + 1) Basis beeldverwerking 8D040

Filter Kernels Kernel Basis beeldverwerking 8D040

Filters Idea: correlate or convolve image with different filters in order to obtain different results, i.e., processed images Basis beeldverwerking 8D040

Smoothing filters Average intensities – result is blurred image, less details Response: (z’s image intensities) … NxN filter Basis beeldverwerking 8D040

Smoothing filters Note that: Sum of filter coefficients is 1 (normalized filter) Correlation = convolution (symmetric filter) Filter size effect? Basis beeldverwerking 8D040

Smoothing filters - example Original 3x3 smoothing filter NxN filter (see figure 3.33 in Gonzalez and Woods!) Basis beeldverwerking 8D040

Effect of normalized smoothing kernel non- normalized Basis beeldverwerking 8D040

Sharpening filters Enhance parts of the image where intensities change rapidly, such as edges Basic derivative filters Measure change of intensity in x or y direction Basis beeldverwerking 8D040

Example Basis beeldverwerking 8D040

Arbitrary angle derivative Given and Basis beeldverwerking 8D040

Arbitrary angle derivative Basis beeldverwerking 8D040

Prewitt gradient kernel Derivative in one direction, smoothing in the perpendicular direction Basis beeldverwerking 8D040

Example Prewitt Basic derivative Basis beeldverwerking 8D040 25-03-2009

Sobel kernel Basis beeldverwerking 8D040

Example (Thanks to Wikipedia☺)

Derivative filters Note that coefficients in all of the previous filters sum to zero, i.e., zero response in area of constant intensity Also: gradient, Laplacian, … Basis beeldverwerking 8D040

Borders Do you see any problems at image borders? Try position (0,0) Basis beeldverwerking 8D040

Border problems How to handle? No border handling Padding Border is not filtered Padding Put values outside image border Cyclic padding Use values from the other side of the image Basis beeldverwerking 8D040

Zero padding Basis beeldverwerking 8D040

Cyclic padding Basis beeldverwerking 8D040

Padding Remember: padding is artificial! The values chosen outside the border influence the outcome image Basis beeldverwerking 8D040

End of part 2 Thanks and see you Tuesday 21! Basis beeldverwerking 8D040