CS-565 Computer Vision Nazar Khan Lecture 4.

Slides:



Advertisements
Similar presentations
3-D Computational Vision CSc Image Processing II - Fourier Transform.
Advertisements

Spatial Filtering (Chapter 3)
Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Processing Lecture 4
Frequency Domain Filtering (Chapter 4)
EE4H, M.Sc Computer Vision Dr. Mike Spann
Multimedia communications EG 371Dr Matt Roach Multimedia Communications EG 371 and EE 348 Dr Matt Roach Lecture 6 Image processing (filters)
Lecture 4 Linear Filters and Convolution
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
CHAPTER 4 Image Enhancement in Frequency Domain
General Functions A non-periodic function can be represented as a sum of sin’s and cos’s of (possibly) all frequencies: F(  ) is the spectrum of the function.
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.
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.
CSCE 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Image Enhancement.
Computational Photography: Fourier Transform Jinxiang Chai.
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.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Basic Image Processing January 26, 30 and February 1.
02/12/02 (c) 2002 University of Wisconsin, CS 559 Filters A filter is something that attenuates or enhances particular frequencies Easiest to visualize.
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 Chapter # 4 Image Enhancement in Frequency Domain Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain.
Digital Filters. What have we seen so far?  So far we have seen… Box filterBox filter  Moving average filter  Example of a lowpass passes low frequenciespasses.
Effective Computation of Linear Filters The following properties are used to shorten the computation time f  g = g  f, f  (g  h) = (f  g)  h, f 
CS654: Digital Image Analysis
Filtering and Enhancing Images. Major operations 1. Matching an image neighborhood with a pattern or mask 2. Convolution (FIR filtering)
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.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Chapter 5: Neighborhood Processing
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain 22 June 2005 Digital Image Processing Chapter 4: Image Enhancement in the.
Image Subtraction Mask mode radiography h(x,y) is the mask.
October 7, 2014Computer Vision Lecture 9: Edge Detection II 1 Laplacian Filters Idea: Smooth the image, Smooth the image, compute the second derivative.
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.
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
Digital Image Processing Part 3 Spatial Domain Processing.
Filtering the Images.  Filtering images using low-pass filters  Filtering images using a median filter  Applying directional filters to detect edges.
Digital Filters. What are they?  Local operation (neighborhood operation in GIS terminology) by mask, window, or kernel (different words for the same.
Image Filtering with GLSL DI1.03 蔡依儒. Outline Convolution Convolution Convolution implementation using GLSL Convolution implementation using GLSL Commonly.
Frequency Domain Filtering. Frequency Domain Methods Spatial Domain Frequency Domain.
Amity School of Engineering & Technology 1 Amity School of Engineering & Technology DIGITAL IMAGE PROCESSING & PATTERN RECOGNITION Credit Units: 4 Mukesh.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Digital Image Processing , 2008
Spatial Image Enhancement
Image Subtraction Mask mode radiography h(x,y) is the mask.
Basic Principles Photogrammetry V: Image Convolution & Moving Window:
Image Pre-Processing in the Spatial and Frequent Domain
ECE 692 – Advanced Topics in Computer Vision
(C) 2002 University of Wisconsin, CS 559
Digital Image Processing
Fourier Transform: Real-World Images
Outline Linear Shift-invariant system Linear filters
Computer Vision Lecture 9: Edge Detection II
Dr. Chang Shu COMP 4900C Winter 2008
Outline Linear Shift-invariant system Linear filters
Fundamentals of Spatial Filtering
9th Lecture - Image Filters
Spatial operations and transformations
Basic Image Processing
Digital Image Processing Week IV
Linear Operations Using Masks
CS 565 Computer Vision Nazar Khan Lecture 9.
Lecture 7 Spatial filtering.
Digital Filters.
Spatial operations and transformations
Even Discrete Cosine Transform The Chinese University of Hong Kong
Presentation transcript:

CS-565 Computer Vision Nazar Khan Lecture 4

Convolution Convolution implies What is a filter? Spatial filtering Something that lets some things pass through and prevents the rest from passing through. Oil filter, Air filter, Noise filter

Convolution We have seen in Lecture 2 that convolution with an averaging mask yields a smooth version of the input signal by suppressing sharp changes (noise) The mask is also called a filter. Why? Accordingly, convolution is also called filtering. Convolution with other masks/filters can yield different results Derivative filtering for edge detection.

Applying Masks to Images Convolution Operation Mask Set of pixel positions and weights Origin of mask 1 1 1 2 4

Applying Masks to Images I1  mask = I2 Convention: I2 is the same size as I1 Mask Application: For each pixel Place mask origin on top of pixel Multiply each weight with pixel under it Sum the result and put in location of the pixel

Applying Masks to Images 1 1/9 x 40 80 1/9 6*(1/9*40)+3*(1/9*80) = 53

Applying Masks to Images Overall effect of this mask? Smoothing filter 40 53 67 80

What about edge and corner pixels? Expand image with virtual pixels Options Fill with a particular value, e.g. zeros Fill with nearest pixel value Mirrored boundary Fatalism: just ignore them (not recommended)

Frequency Interpretation Noise is the high frequency component of a signal. Convolution is equivalent to reducing the high frequency components of a signal.

Frequency Interpretation Lowpass: Reduce high frequencies. Highpass: Reduce low frequencies. Bandpass: Reduce frequencies outside a certain band.

Frequency Interpretation

Highpass Filtering H=I-Gaussian*I

Bandpass Filtering B=G1*I – G2*I

Some Properties of Convolution