1 Lecture III Shobhit Niranjan Gaurav Gupta. 2 Convolution Definition: For discrete functions: Properties Commutativity Associativity Distributivity.

Slides:



Advertisements
Similar presentations
Image Enhancement in the Frequency Domain (2)
Advertisements

November 12, 2013Computer Vision Lecture 12: Texture 1Signature Another popular method of representing shape is called the signature. In order to compute.
Image Processing Lecture 4
Image Enhancement in the Frequency Domain Part III
Fourier Transform (Chapter 4)
Fourier Transform – Chapter 13. Image space Cameras (regardless of wave lengths) create images in the spatial domain Pixels represent features (intensity,
Chapter Four Image Enhancement in the Frequency Domain.
Chap 4 Image Enhancement in the Frequency Domain.
Sliding Window Filters and Edge Detection Longin Jan Latecki Computer Graphics and Image Processing CIS 601 – Fall 2004.
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 4 Image Enhancement in the Frequency Domain.
Chap 4-2. Frequency domain processing Jen-Chang Liu, 2006.
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.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 3: Sampling and Reconstruction Ravi Ramamoorthi
Image Enhancement in the Frequency Domain Part I Image Enhancement in the Frequency Domain Part I Dr. Samir H. Abdul-Jauwad Electrical Engineering Department.
CSCE 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Introduction to Computer Vision CS / ECE 181B  Handout #4 : Available this afternoon  Midterm: May 6, 2004  HW #2 due tomorrow  Ack: Prof. Matthew.
Image Enhancement.
CPSC 641 Computer Graphics: Fourier Transform Jinxiang Chai.
Computational Photography: Fourier Transform Jinxiang Chai.
Chapter 4 Image Enhancement in the Frequency Domain.
Transforms: Basis to Basis Normal Basis Hadamard Basis Basis functions Method to find coefficients (“Transform”) Inverse Transform.
DREAM PLAN IDEA IMPLEMENTATION Introduction to Image Processing Dr. Kourosh Kiani
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 3 Ravi Ramamoorthi
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Fourier Transform Basic idea.
Outline 2-D Fourier transforms The sampling theorem Sampling Aliasing
Presentation Image Filters
Image Processing Fourier Transform 1D Efficient Data Representation Discrete Fourier Transform - 1D Continuous Fourier Transform - 1D Examples.
Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain Digital Image Processing Chapter # 4 Image Enhancement in Frequency Domain.
EE D Fourier Transform. Bahadir K. Gunturk EE Image Analysis I 2 Summary of Lecture 2 We talked about the digital image properties, including.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
CS654: Digital Image Analysis
Chapter 7: The Fourier Transform 7.1 Introduction
University of Texas at Austin CS384G - Computer Graphics Fall 2010 Don Fussell Image processing.
Filtering Robert Lin April 29, Outline Why filter? Filtering for Graphics Sampling and Reconstruction Convolution The Fourier Transform Overview.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Digital Image Processing Chapter 4 Image Enhancement in the Frequency Domain Part I.
Digital Image Processing CSC331 Image Enhancement 1.
ENG4BF3 Medical Image Processing Image Enhancement in Frequency Domain.
Image Transforms and Image Enhancement in Frequency Domain Lecture 5, Feb 25 th, 2008 Lexing Xie thanks to G&W website, Mani Thomas, Min Wu and Wade Trappe.
Chapter 5: Neighborhood Processing
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 2
Image Subtraction Mask mode radiography h(x,y) is the mask.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
Autonomous Robots Vision © Manfred Huber 2014.
Lecture 7 Transformations in frequency domain 1.Basic steps in frequency domain transformation 2.Fourier transformation theory in 1-D.
Image processing Honza Černocký, ÚPGM. 1D signal 2.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Fourier Transform.
Image Enhancement (Frequency Domain)
Computer Graphics & Image Processing Chapter # 4 Image Enhancement in Frequency Domain 2/26/20161.
G52IIP, School of Computer Science, University of Nottingham 1 Image Transforms Basic idea Input Image, I(x,y) (spatial domain) Mathematical Transformation.
Computer vision. Applications and Algorithms in CV Tutorial 3: Multi scale signal representation Pyramids DFT - Discrete Fourier transform.
TOPIC 12 IMAGE SEGMENTATION & MORPHOLOGY. Image segmentation is approached from three different perspectives :. Region detection: each pixel is assigned.
Digital Image Processing Lecture 9: Filtering in Frequency Domain Prof. Charlene Tsai.
Fourier Transform (Chapter 4) CS474/674 – Prof. Bebis.
Digital Image Processing Lecture 8: Fourier Transform Prof. Charlene Tsai.
Image Enhancement in the
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.
ENG4BF3 Medical Image Processing
Outline Linear Shift-invariant system Linear filters
2D Fourier transform is separable
Outline Linear Shift-invariant system Linear filters
4. Image Enhancement in Frequency Domain
Digital Image Processing
LECTURE 18: FOURIER ANALYSIS OF CT SYSTEMS
Lecture 4 Image Enhancement in Frequency Domain
Fundamentals of Spatial Filtering
Presentation transcript:

1 Lecture III Shobhit Niranjan Gaurav Gupta

2 Convolution Definition: For discrete functions: Properties Commutativity Associativity Distributivity

3 Convolution The convolution is performed by sliding the mask over the image Convolution can be used to implement many different operators, particularly spatial filters and feature detectors. Examples include Gaussian smoothing and Sobel edge detector The animation graphically illustrate the convolution of two Gaussians functions. The green curve shows the convolution of the blue and red curves and the position is indicated by the vertical green line. The gray region indicates the product f(n)g(m-n) as a function of m, so its area as a function of is precisely the convolution.

4 2 D Convolution

5 Masks - Convolution Kernels Convolution operation in spatial domain is also called masking a=(m-1)/2 and b=(n-1)/2, m x n (odd numbers) For x=0,1,…,M-1 and y=0,1,…,N-1

6 Convolution Kernels for Image Enhancement

7 Correlation It is used to measure the similarity between images or parts of images. Definition: The greater the similarity between the template and the image in a particular location, the greater the value resulting from the correlation.

8 Correlation If the two functions f and g contain similar features, but at a different position, the correlation function will have a large value at a vector corresponding to the shift in the position of the feature.

9 Fourier Transforms and Applications

10 Fourier Transform Processing images by looking at the grey level at each point in the image – Spatial Processing Alternative representations that are more amenable for certain types of analysis Most common image transform takes spatial data and transforms it into frequency data

11 What is frequency in Images ? FT expresses a function in terms of the sum of its projections onto a set of basis functions In images we are concerned with spatial frequency, that is, the rate at which brightness in the image varies across the image

12

13 Fourier Transform Discrete Fourier Transform (DFT)  sampled Fourier Transform and therefore does not contain all frequencies forming an image  is complicated to work out as it involves many additions and multiplications involving complex numbers.

14 Fourier Transform In many applications phase information is discarded In case of images, phase information must not be ignored – phase carries major information

15

16 Why is phase important !

17 Qualitative Filters  FG =   = = H Low-pass High-pass Band-pass

18 Low-Pass Filtered Image

19 High-Pass Filtered Image

20 low-pass filter high-pass filter no filter

21 band-pass filter no filter

22 Summary: Distance or size in spatial domain correlates inversely with frequency in frequency domain. Consequently, small structures in an image are said to have high spatial frequency, and the resolution capability of a camera is often expressed by means of the Nyquist frequency, that is, the highest frequency that the system can “see.” Understanding that low frequencies correspond to large, uniform objects and that high frequencies correspond to small objects or sudden variations in count levels (e.g., at the edge of an object), one realizes the desirability of developing tools that enhance or deemphasize specific characteristics of an image. Filters are such tools.

23 Brainstorming Try installing OpenCV as mentioned in last lecture. In the meantime, try playing around with inbuilt MATLAB demos on topic covered till now. So as to be able to apply concepts to practical problems, you need to have your concepts fine-tuned. Matlab demos would be of great help. Try changing parameters, observe variations in results, and try to understand why !