Fourier Transforms and the Frequency Domain

Similar documents
1.Discuss the frequency domain techniques of image enhancement in detail.

Digital Image Processing

Frequency Domain Enhancement

Smoothing frequency domain filters

Transforms and Frequency Filtering

Digital Image Processing. Filtering in the Frequency Domain (Application)

Lecture #10. EECS490: Digital Image Processing

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain

TDI2131 Digital Image Processing

Smoothing frequency domain filters

Digital Image Processing. Image Enhancement: Filtering in the Frequency Domain

8. Lecture. Image restoration: Fourier domain

DIGITAL IMAGE PROCESSING UNIT III

Digital Image Processing. Frequency Domain Filtering

Head, IICT, Indus University, India

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

Midterm Review. Image Processing CSE 166 Lecture 10

SYLLABUS CHAPTER - 2 : INTENSITY TRANSFORMATIONS. Some Basic Intensity Transformation Functions, Histogram Processing.

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

IMAGE PROCESSING (RRY025) THE CONTINUOUS 2D FOURIER TRANSFORM

2D Discrete Fourier Transform

Examples of image processing

Image Enhancement. DD2423 Image Analysis and Computer Vision. Computational Vision and Active Perception School of Computer Science and Communication

Digital Image Processing

Chapter 3 Image Enhancement in the Spatial Domain. Chapter 3 Image Enhancement in the Spatial Domain

Image acquisition. Midterm Review. Digitization, line of image. Digitization, whole image. Geometric transformations. Interpolation 10/26/2016

Investigation of Optimal Denoising Filter for MRI Images

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

Digital Image Processing. Lecture 5 (Enhancement) Bu-Ali Sina University Computer Engineering Dep. Fall 2009

Chapter 2 Image Enhancement in the Spatial Domain

Computer Vision, Lecture 3

Table of contents. Vision industrielle 2002/2003. Local and semi-local smoothing. Linear noise filtering: example. Convolution: introduction

Practical Image and Video Processing Using MATLAB

Image Enhancement. Image Enhancement

Lecture 12: Image Processing and 2D Transforms

ELEC Dr Reji Mathew Electrical Engineering UNSW

Subband coring for image noise reduction. Edward H. Adelson Internal Report, RCA David Sarnoff Research Center, Nov

Filtering in the spatial domain (Spatial Filtering)

LAB MANUAL SUBJECT: IMAGE PROCESSING BE (COMPUTER) SEM VII

The Fourier Transform

Lecture - 10 Image Enhancement in the Frequency Domain

Chrominance Assisted Sharpening of Images

Reading Instructions Chapters for this lecture. Computer Assisted Image Analysis Lecture 2 Point Processing. Image Processing

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

Digital Image Processing

Vision Review: Image Processing. Course web page:

Digital Image Processing

Image Processing for feature extraction

Digital Image Processing

!"!#"#$% Lecture 2: Media Creation. Some materials taken from Prof. Yao Wang s slides RECAP

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

COMPREHENSIVE EXAMINATION WEIGHTAGE 40%, MAX MARKS 40, TIME 3 HOURS, DATE Note : Answer all the questions

Image Sampling. Moire patterns. - Source: F. Durand

Lecture 3: Linear Filters

Robert Collins CSE486, Penn State. Lecture 3: Linear Operators

Fourier Transform. Any signal can be expressed as a linear combination of a bunch of sine gratings of different frequency Amplitude Phase

Filip Malmberg 1TD396 fall 2018 Today s lecture

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Introduction. Computer Vision. CSc I6716 Fall Part I. Image Enhancement. Zhigang Zhu, City College of New York

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Prof. Vidya Manian Dept. of Electrical and Comptuer Engineering

Achim J. Lilienthal Mobile Robotics and Olfaction Lab, AASS, Örebro University

Numerical Derivatives See also T&V, Appendix A.2 Gradient = vector of partial derivatives of image I(x,y) = [di(x,y)/dx, di(x,y)/dy]

Filtering. Image Enhancement Spatial and Frequency Based

Analysis of Image Enhancement Techniques Used in Remote Sensing Satellite Imagery

Noise and Restoration of Images

Signal processing preliminaries

Image Enhancement using Histogram Equalization and Spatial Filtering

EE482: Digital Signal Processing Applications

Image preprocessing in spatial domain

Prof. Feng Liu. Winter /10/2019

Introduction Approach Work Performed and Results

Sampling Theory. CS5625 Lecture Steve Marschner. Cornell CS5625 Spring 2016 Lecture 7

Digital Image Processing 3/e

CSE 564: Visualization. Image Operations. Motivation. Provide the user (scientist, t doctor, ) with some means to: Global operations:

Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

Introduction to Wavelet Transform. Chapter 7 Instructor: Hossein Pourghassem

Digital Signal Processing

TDI2131 Digital Image Processing (Week 4) Tutorial 3

Midterm is on Thursday!

Filters. Materials from Prof. Klaus Mueller

Announcements. Image Processing. What s an image? Images as functions. Image processing. What s a digital image?

PHYS 352. FFT Convolution. More Advanced Digital Signal Processing Techniques

Image Enhancement II: Neighborhood Operations

Spatial Domain Processing and Image Enhancement

SECTION I - CHAPTER 2 DIGITAL IMAGING PROCESSING CONCEPTS

Image Processing. Image Processing. What is an Image? Image Resolution. Overview. Sources of Error. Filtering Blur Detect edges

Admin Deblurring & Deconvolution Different types of blur

Digital Imaging Systems for Historical Documents

USE OF FT IN IMAGE PROCESSING IMAGE PROCESSING (RRY025)

Image Restoration. Lecture 7, March 23 rd, Lexing Xie. EE4830 Digital Image Processing

Images and Filters. EE/CSE 576 Linda Shapiro

UNIVERSITY OF WEST BOHEMIA

Stochastic Image Denoising using Minimum Mean Squared Error (Wiener) Filtering

GUJARAT TECHNOLOGICAL UNIVERSITY

Chapter 2: Signal Representation

Chessboard and 1/2[1 0 1] filter

קורס גרפיקה ממוחשבת 2008 סמסטר ב' Image Processing 1 חלק מהשקפים מעובדים משקפים של פרדו דוראנד, טומס פנקהאוסר ודניאל כהן-אור

Teaching Scheme. Credits Assigned (hrs/week) Theory Practical Tutorial Theory Oral & Tutorial Total

Transcription:

Fourier Transforms and the Frequency Domain Lecture 11 Magnus Gedda magnus.gedda@cb.uu.se Centre for Image Analysis Uppsala University Computer Assisted Image Analysis 04/27/2006 Gedda (Uppsala University) Fourier Transforms Image Analysis 1 / 18

Reading Instructions and Assignment Chapters and Assignment for This Lecture Chapters 4.3 4.6 in Gonzales-Woods. There is no assignment for this lecture. Gedda (Uppsala University) Fourier Transforms Image Analysis 2 / 18

Ideal Lowpass Filters and Ringing In the frequency domain, define a cut-off radius D 0. Ideal Lowpass Filter (ILPF) { 1 if D (u, v) D0 ; H (u, v) = 0 if D (u, v) > D 0. To find h(x, y): 1 Centering: H(u, v) ( 1) u+v 2 Inverse Fourier transform (FT) 3 Multiply real part by ( 1) x+y Gedda (Uppsala University) Fourier Transforms Image Analysis 3 / 18

Ideal Lowpass Filters and Ringing Properties of h(x, y): 1 It has a central dominant circular component (providing the blurring) 2 It has concentric circular components (rings) giving rise to the ringing effect. Example of h(x) from the inverse FT of a disc (ILPF) with radius 5. Gedda (Uppsala University) Fourier Transforms Image Analysis 4 / 18

Ideal Lowpass Filters and Ringing Original image (top left) and filtered images with ILPF of radius 5, 15 and 30, removing 8, 5.4 and 3.6% of the total power. This type of artefacts are not acceptable in e.g. medical imaging. Gedda (Uppsala University) Fourier Transforms Image Analysis 5 / 18

Reduce Ringing with Non-Ideal Lowpass Filters Butterworth Lowpass Filter (BLPF) H (u, v) = 1 + 1 ( ) 2n D(u,v) D 0 n is the order of the filter A high n will cause ringing (approaching ILPF) No sharp discontinuity Gedda (Uppsala University) Fourier Transforms Image Analysis 6 / 18

Butterworth Lowpass Filter BLPF ringing effects for different values of n. In general, BLPFs of order 2 are a good compromise between effective lowpass filtering and acceptable ringing characteristics. Gedda (Uppsala University) Fourier Transforms Image Analysis 7 / 18

Gaussian Lowpass Filter Gaussian Lowpass Filter (GLPF) D 2 (u,v) 2D H (u, v) = e 0 2 D 0 is the standard deviation (σ), or the spread of the Gaussian. The inverse FT of a Gaussian is also a Gaussian, meaning a Gaussian smoothing in the spatial domain. Guarantees no ringing. Gedda (Uppsala University) Fourier Transforms Image Analysis 8 / 18

Highpass Filters Ideal Highpass Filter (IHPF) { 0 if D (u, v) D0 ; H (u, v) = 1 if D (u, v) > D 0. Butterworth Highpass Filter (BHPF) H (u, v) = Gaussian Highpass Filter (GHPF) 1 1 + ( D0 D(u,v) ) 2n D 2 (u,v) 2D H (u, v) = 1 e 0 2 Same ringing effect as for the lowpass filters. Gedda (Uppsala University) Fourier Transforms Image Analysis 9 / 18

Highpass Filters Spatial representation of different highpass filters (ideal, Butterworth and Gaussian). Ringing effect noticable in ideal and Butterworth filters. Gedda (Uppsala University) Fourier Transforms Image Analysis 10 / 18

Unsharp Masking, High-Boost Filtering and High-Freq Emphasis Unsharp Masking High-Boost Filtering (general) f HP (x, y) = f (x, y) f LP (x, y) f HB (x, y) = (A 1) f (x, y) + f HP (x, y) where A 1 H HB (u, v) = (A 1) + H HP (u, v) High-Frequency Emphasis H HFE (u, v) = a + b H HP (u, v) Gedda (Uppsala University) Fourier Transforms Image Analysis 11 / 18

High-Boost Filtering Result of high-boost filtering (original, highpass, A = 2 and A = 2.7). Gedda (Uppsala University) Fourier Transforms Image Analysis 12 / 18

High-Frequency Emphasis Filtering Result of high-frequency emphasis filtering (original, highpass, high-freq emphasis and histogram equalization). Gedda (Uppsala University) Fourier Transforms Image Analysis 13 / 18

Periodicity and Padding Consider image of size M N. Periodicity: F(u, v) = F(u + M, v) = F (u, v + N) = F (u + M, v + N) Symmetry: F(u, v) = F ( u, v) Gedda (Uppsala University) Fourier Transforms Image Analysis 14 / 18

Padding in the Spatial Domain (SD) Padding When introducing identical periods at convolution to avoid wrap-around error. Gedda (Uppsala University) Fourier Transforms Image Analysis 15 / 18

Padding in the Frequency Domain (FD) Padding is important in the frequency domain as well. Convolution in SD is multiplication in FD. The filter and the image must have the same size at multiplication! The padding is removed after the filtering. When padding, the image borders (if not black) become sharp edges, leading to ringing at the image borders after filtering using ideal filters. Gedda (Uppsala University) Fourier Transforms Image Analysis 16 / 18

Correlation Correlation Function f (x, y) h (x, y) = 1 MN M 1 N 1 m=0 n=0 f (m, n) h (x + m, y + n) f is the complex conjugate of f (for images f = f ). Positive summation; h not mirrored about origin. Correlation Theorem f (x, y) h (x, y) F (u, v) H (u, v) f (x, y) h (x, y) F (u, v) H (u, v) Gedda (Uppsala University) Fourier Transforms Image Analysis 17 / 18

Correlation There is a strong similarity between convolution and correlation. Gedda (Uppsala University) Fourier Transforms Image Analysis 18 / 18