Digital Image Processing. Image Enhancement in the Frequency Domain

Similar documents
Digital Image Processing. Lecture 6

Lecture 5: Frequency Domain Transformations

Image processing in frequency Domain

Computer Vision and Graphics (ee2031) Digital Image Processing I

Image restoration. Lecture 14. Milan Gavrilovic Centre for Image Analysis Uppsala University

Point and Spatial Processing

Fourier Transform in Image Processing. CS/BIOEN 6640 U of Utah Guido Gerig (slides modified from Marcel Prastawa 2012)

Lecture 2: 2D Fourier transforms and applications

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi

Computer Vision I. Announcements. Fourier Tansform. Efficient Implementation. Edge and Corner Detection. CSE252A Lecture 13.

Relationship between Fourier Space and Image Space. Academic Resource Center

Biomedical Image Analysis. Spatial Filtering

The 2D Fourier transform & image filtering

Texture. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors. Frequency Descriptors

Digital Image Processing. Prof. P. K. Biswas. Department of Electronic & Electrical Communication Engineering

Texture. Outline. Image representations: spatial and frequency Fourier transform Frequency filtering Oriented pyramids Texture representation

Transportation Informatics Group, ALPEN-ADRIA University of Klagenfurt. Transportation Informatics Group University of Klagenfurt 12/24/2009 1

Fourier transforms and convolution

PSD2B Digital Image Processing. Unit I -V

Examination in Image Processing

Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Classification of image operations. Image enhancement (GW-Ch. 3) Point operations. Neighbourhood operation

Using a Scalable Parallel 2D FFT for Image Enhancement

Tutorial 5. Jun Xu, Teaching Asistant March 2, COMP4134 Biometrics Authentication

Image Processing. Filtering. Slide 1

CHAPTER 5 GLOBAL AND LOCAL FEATURES FOR FACE RECOGNITION

Computer Vision: 4. Filtering. By I-Chen Lin Dept. of CS, National Chiao Tung University

What will we learn? Neighborhood processing. Convolution and correlation. Neighborhood processing. Chapter 10 Neighborhood Processing

Review for Exam I, EE552 2/2009

Image Restoration. Yao Wang Polytechnic Institute of NYU, Brooklyn, NY 11201

Module 9 : Numerical Relaying II : DSP Perspective

An educational software package for digital image processing

Advanced Computer Graphics. Aliasing. Matthias Teschner. Computer Science Department University of Freiburg

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT.

Announcements. Image Matching! Source & Destination Images. Image Transformation 2/ 3/ 16. Compare a big image to a small image

Assignment 3: Edge Detection

Lecture 11 : Discrete Cosine Transform

Digital Image Processing

To Do. Advanced Computer Graphics. Discrete Convolution. Outline. Outline. Implementing Discrete Convolution

Computer Vision. Fourier Transform. 20 January Copyright by NHL Hogeschool and Van de Loosdrecht Machine Vision BV All rights reserved

Templates, Image Pyramids, and Filter Banks

Lecture 6: Edge Detection

Image Segmentation Image Thresholds Edge-detection Edge-detection, the 1 st derivative Edge-detection, the 2 nd derivative Horizontal Edges Vertical

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

convolution shift invariant linear system Fourier Transform Aliasing and sampling scale representation edge detection corner detection

Computer Vision for VLFeat and more...

INTENSITY TRANSFORMATION AND SPATIAL FILTERING

Lab Assignment 3 - CSE 377/594, Fall 2007

Lab 1: Basic operations on images in Matlab

Copyright 2005 Center for Imaging Science Rochester Institute of Technology Rochester, NY

EECS490: Digital Image Processing. Lecture #16

CHAPTER 3 DIFFERENT DOMAINS OF WATERMARKING. domain. In spatial domain the watermark bits directly added to the pixels of the cover

JNTUWORLD. 4. Prove that the average value of laplacian of the equation 2 h = ((r2 σ 2 )/σ 4 ))exp( r 2 /2σ 2 ) is zero. [16]

Types of Edges. Why Edge Detection? Types of Edges. Edge Detection. Gradient. Edge Detection

Filtering. -If we denote the original image as f(x,y), then the noisy image can be denoted as f(x,y)+n(x,y) where n(x,y) is a cosine function.

BME I5000: Biomedical Imaging

Frequency analysis, pyramids, texture analysis, applications (face detection, category recognition)

Scaled representations

Image processing. Reading. What is an image? Brian Curless CSE 457 Spring 2017

EEM 561 Machine Vision. Week 3: Fourier Transform and Image Pyramids

2.161 Signal Processing: Continuous and Discrete Fall 2008

Module 9 AUDIO CODING. Version 2 ECE IIT, Kharagpur

Central Slice Theorem

Image Processing. Application area chosen because it has very good parallelism and interesting output.

Filters and Fourier Transforms

Two Dimensional Wavelet and its Application

Sampling functions and sparse reconstruction methods

Basics. Sampling and Reconstruction. Sampling and Reconstruction. Outline. (Spatial) Aliasing. Advanced Computer Graphics (Fall 2010)

C2: Medical Image Processing Linwei Wang

Digital Signal Processing. Soma Biswas

Image Enhancement Techniques for Fingerprint Identification

COMP 9517 Computer Vision

Statistical Image Compression using Fast Fourier Coefficients

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

SYDE 575: Introduction to Image Processing

An Intuitive Explanation of Fourier Theory

FFT and Spectrum Analyzer

Image Filtering, Warping and Sampling

Assignment 2. Due Feb 3, 2012

Computational Aspects of MRI

ECE 484 Digital Image Processing Lec 12 - Mid Term Review

Lecture 4: Image Processing

EECS 556 Image Processing W 09. Image enhancement. Smoothing and noise removal Sharpening filters

Intensification Of Dark Mode Images Using FFT And Bilog Transformation

Digital Image Processing. Image Enhancement - Filtering

Image Sampling and Quantisation

Outline. Sampling and Reconstruction. Sampling and Reconstruction. Foundations of Computer Graphics (Fall 2012)

Image Sampling & Quantisation

Biomedical Image Processing

Lecture 2 Image Processing and Filtering

Aliasing. Can t draw smooth lines on discrete raster device get staircased lines ( jaggies ):

Comparison of Digital Image Watermarking Algorithms. Xu Zhou Colorado School of Mines December 1, 2014

Analysis of Planar Anisotropy of Fibre Systems by Using 2D Fourier Transform

Spatial Enhancement Definition

Separation of speech mixture using time-frequency masking implemented on a DSP

Image Reconstruction from Projection

EXAM SOLUTIONS. Image Processing and Computer Vision Course 2D1421 Monday, 13 th of March 2006,

Object Recognition using Particle Swarm Optimization on Fourier Descriptors

Performance Evaluation of Monitoring System Using IP Camera Networks

Equation to LaTeX. Abhinav Rastogi, Sevy Harris. I. Introduction. Segmentation.

Transcription:

Digital Image Processing Image Enhancement in the Frequency Domain

Topics Frequency Domain Enhancements Fourier Transform Convolution High Pass Filtering in Frequency Domain Low Pass Filtering in Frequency Domain

Frequency Domain A frequency-domain graph shows how much of the signal lies within each given frequency band over a range of frequencies. A frequency-domain representation can also include information on the phase shift that must be applied to each sinusoid in order to be able to recombine the frequency components to recover the original time signal. A given function or signal can be converted between the time and frequency domains with a pair of mathematical operators called a transform

Frequency Domain

Fourier Transform Fourier transform is given by Inverse Fourier transform is

Two Dimensional Fourier Transform Forward Fourier Transform is: Inverse Fourier Transform is:

Discrete Fourier Transform 1D forward transform 1D inverse transform

Fourier Transform Properties From Euler s Equation we have: Hence by replacing we get

Magnitude, Phase, and Power Spectrum of Fourier Transform Magnitude of Fourier transform is found by: Phase is given by: Power Spectrum is:

Sample Functions and their Fourier Transforms

Fourier Transform Usage The Fourier Transform is used if we want to access the geometric characteristics of a spatial domain image. Because the image in the Fourier domain is decomposed into its sinusoidal components, it is easy to examine or process certain frequencies of the image, thus influencing the geometric structure in the spatial domain. In most implementations the Fourier image is shifted in such a way that the DC-value (i.e. the image mean) F(0,0) is displayed in the center of the image. The further away from the center an image point is, the higher is its corresponding frequency.

Sample Frequency Domain Processing

Phase image (left), Inverse Fourier transform without phase information (right)

f=fmax/2

Removing Additive Noise Assuming the noisy image is the result of adding noise to the original image as shown below: We can remove the noise by filtering out the noise effect

Frequency Filtering

Sample Fourier Analysis

Convolution In 2D continuous space, convolution is defined by: In 2D discrete space convolution is given by:

Convolution

Filtering in Frequency Domain Basic Steps of Filtering in Frequency Domain Are: Compute F(u,v), the DFT of the input image Multiply F(u,v) by a filter function H(u,v) Compute inverse DFT of the result Obtain real part of the inverse DFT

Filtering in Frequency Domain

Spatial Masks in Time Domain

Convolving Mask with Image in Time Domain Convolving mask with image is carried out by sliding the mask over the image, multiplying mask values with the pixel values falling beneath them and obtaining the sum. The convolution is converted to multiplication in frequency domain

Sample Frequency Domain Filters Notch Filter: Changes the average value of an image to zero

Low Pass Filters

Ideal Low Pass Filter

Some Low Pass Filters Gaussian low pass filter (GLPF) D(u,v) is the distance from the origin of the Fourier transform.

Result of Filtering with GLPF

Low Pass Filter Example

High Pass Filter

High Pass Filters Simplest high pass filter is the complement of low pass filter Ideal high pass filter is given by:

High Pass Filters Gaussian high pass filter is given by: D 0 is the distance from the center to cut-off frequency D(u,v) is the distance from any point (u,v) to the center given by

Example Results with D 0 = 15, 30 and 80

Ideal and Gaussian High Pass Filters

MATLAB Implementations Use fft(.) function for 1D Fourier transform and fft2(.) for 2D transform. Use ifft and ifft2 for inverse Fourier transforms Example: I = imread( test.jpg ); FI = fft2(i); FI2 = log(abs(fi)); imshow( FI2, [-1 5], 'InitialMagnification','fit')

Fast Convolution Read the image Create the mask (or read it) Find the Fourier transforms of the Image and the mirror of the mask (rotate by 180 degrees) Multiply the transformed image and the transformed mask Find the inverse Fourier transform of the result