Smoothing frequency domain filters

Similar documents
Smoothing frequency domain filters

Digital Image Processing

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

Fourier Transforms and the Frequency Domain

Frequency Domain Enhancement

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

Transforms and Frequency Filtering

Filtering in the spatial domain (Spatial Filtering)

DIGITAL IMAGE PROCESSING UNIT III

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

TDI2131 Digital Image Processing

Image Processing Lecture 4

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad

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

CoE4TN4 Image Processing. Chapter 4 Filtering in the Frequency Domain

Lecture #10. EECS490: Digital Image Processing

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

Head, IICT, Indus University, India

8. Lecture. Image restoration: Fourier domain

Analysis of Image Enhancement Techniques Used in Remote Sensing Satellite Imagery

Digital Image Processing. Frequency Domain Filtering

Image Enhancement. Image Enhancement

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

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

Module 3: Video Sampling Lecture 18: Filtering operations in Camera and display devices. The Lecture Contains: Effect of Temporal Aperture:

8.2 IMAGE PROCESSING VERSUS IMAGE ANALYSIS Image processing: The collection of routines and

Enhancement. Degradation model H and noise must be known/predicted first before restoration. Noise model Degradation Model

UNIVERSITY OF WEST BOHEMIA

Image Enhancement using Histogram Equalization and Spatial Filtering

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

Chessboard and 1/2[1 0 1] filter

Digital Signal Processing

Investigation of Optimal Denoising Filter for MRI Images

ZÁPADOČESKÁ UNIVERZITA V PLZNI

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

Biosignal filtering and artifact rejection. Biosignal processing, S Autumn 2012

Biosignal filtering and artifact rejection. Biosignal processing I, S Autumn 2017

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

IIR Filter Design Chapter Intended Learning Outcomes: (i) Ability to design analog Butterworth filters

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

Digital Image Processing

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Lecture - 10 Image Enhancement in the Frequency Domain

PQ ANALYSIS RESULTS. Text

2D Signal Processing

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

Brief Introduction to Signals & Systems. Phani Chavali

Low Spatial Frequency Noise Reduction with Applications to Light Field Moment Imaging

(i) Understanding of the characteristics of linear-phase finite impulse response (FIR) filters

Using the Advanced Sharpen Transformation

Lecture 17 Date: Parallel Resonance Active and Passive Filters

Electronics and Signal Processing in Four Parts Stoll, Che380. Part I Basic Electronics

Low wavenumber reflectors

Continuous-Time Analog Filters

Chrominance Assisted Sharpening of Images

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

Using the isppac 80 Programmable Lowpass Filter IC

NO-REFERENCE PERCEPTUAL QUALITY ASSESSMENT OF RINGING AND MOTION BLUR IMAGE BASED ON IMAGE COMPRESSION

Guided Image Filtering for Image Enhancement

Filters. Phani Chavali

ROAD TO THE BEST ALPR IMAGES

Examples of image processing

CVPR Easter School. Michael S. Brown. School of Computing National University of Singapore

A Review on Image Enhancement Technique for Biomedical Images

Filters. Materials from Prof. Klaus Mueller

IMAGE ENHANCEMENT IN SPATIAL DOMAIN

Neurophysiology. The action potential. Why should we care? AP is the elemental until of nervous system communication

Image Enhancement contd. An example of low pass filters is:

Midterm Review. Image Processing CSE 166 Lecture 10

Image Processing for feature extraction

Introduction Approach Work Performed and Results

Part Numbering System

IAJIT First Online Publication

EE482: Digital Signal Processing Applications

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

Image analysis. CS/CME/BioE/Biophys/BMI 279 Oct. 31 and Nov. 2, 2017 Ron Dror

Final Exam Solutions June 7, 2004

CG401 Advanced Signal Processing. Dr Stuart Lawson Room A330 Tel: January 2003

Review of Filter Types

Digital Image Processing 3/e

Application Note #5 Direct Digital Synthesis Impact on Function Generator Design

Sampling and reconstruction

Sampling and pixels. CS 178, Spring Marc Levoy Computer Science Department Stanford University. Begun 4/23, finished 4/25.

Miniature Effect With Tilt-Shift In Photoshop CS6

Lecture # 01. Introduction

June 30 th, 2008 Lesson notes taken from professor Hongmei Zhu class.

Chapter 6. [6]Preprocessing

Analog Lowpass Filter Specifications

Sampling and reconstruction. CS 4620 Lecture 13

Advanced Digital Signal Processing Part 2: Digital Processing of Continuous-Time Signals

A New Scheme for No Reference Image Quality Assessment

Introduce cascaded first-order op-amp filters. Faculty of Electrical and Electronic Engineering

Filtering. Image Enhancement Spatial and Frequency Based

Digital Processing of Continuous-Time Signals

Eulerian Video Magnification Baby Monitor. Nik Cimino

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

Transmitter Identification Experimental Techniques and Results

Signal Processing Toolbox

ASN Filter Designer Professional/Lite Getting Started Guide

ECC419 IMAGE PROCESSING

Transcription:

Smoothing frequency domain filters Ideal Lowpass Filter (ILPF) ILPF is the simplest lowpass filter that cuts off all high frequency components of the DFT that are at a distance greater than a specified distance D 0 from the origin of the (centered) transform. The transfer function of this filter is: 1 (, ) (, ) = 0 (, ) > where D 0 is the cutoff frequency, and (, ) = ( /2) + ( /2) (c) Figure 8.1 ILPF transfer function. ILPF as an image. (c) ILPF radial cross section The ILPF indicates that all frequencies inside a circle of radius D 0 are passed with no attenuation, whereas all frequencies outside this circle are completely attenuated. The next figure shows a gray image with its Fourier spectrum. The circles superimposed on the spectrum represent cutoff frequencies 5, 15, 30, 80 and 230. Asst. Lec. Wasseem Nahy Ibrahem Page 1

Figure 8.2 Original image. its Fourier spectrum The figure below shows the results of applying ILPF with the previous cutoff frequencies. (c) (d) Asst. Lec. Wasseem Nahy Ibrahem Page 2

(e) (f) Figure 8.3 Original image. - (f) Results of ILPF with cutoff frequencies 5, 15, 30, 80, and 230 respectively. We can see the following effects of ILPF: 1. Blurring effect which decreases as the cutoff frequency increases. 2. Ringing effect which becomes finer (i.e. decreases) as the cutoff frequency increases. Butterworth Lowpass Filter (BLPF) The BLPF of order n and with cutoff frequency at a distance D 0 from the origin is defined as: 1 (, ) = 1 + [ (, )/ ] (c) Figure 8.4 BLPF transfer function. BLPF as an image. (c) BLPF radial cross section Asst. Lec. Wasseem Nahy Ibrahem Page 3

Unlike ILPF, the BLPF transfer function does not have a sharp transition that establishes a clear cutoff between passed and filtered frequencies. Instead, BLPF has a smooth transition between low and high frequencies. The figure below shows the results of applying BLPF of order 2 with the same previous cutoff frequencies. (c) (d) Asst. Lec. Wasseem Nahy Ibrahem Page 4

(e) (f) Figure 8.5 Original image. - (f) Results of BLPF of order n = 2 with cutoff frequencies 5, 15, 30, 80, and 230 respectively. We can see the following effects of BLPF compared to ILPF: 1- Smooth transition in blurring as a function of increasing cutoff frequency. 2- No ringing is visible because of the smooth transition between low and high frequencies. 3- BLPF of order 1 has no ringing. Ringing is imperceptible in BLPF of order 2, but can become significant in BLPF of higher order as shown in the figure below. Asst. Lec. Wasseem Nahy Ibrahem Page 5

(c) (d) Figure 8.6 Result of BLPF with order 5. BLPF of order 5. (c) Result of BLPF with order 20. (d) BLPF of order 20. (cutoff frequency 30 in both cases). BLPF is the preferred choice in cases where the tight control of the transition between low and high frequencies are needed. However, the side effect of this control is the possibility of ringing. Gaussian Lowpass Filter (GLPF) The GLPF with cutoff frequency D 0 is defined as: (, ) = (, )/ (c) Figure 8.7 GLPF transfer function. GLPF as an image. (c) GLPF radial cross section Unlike ILPF, the GLPF transfer function does not have a sharp transition that establishes a clear cutoff between passed and filtered frequencies. Asst. Lec. Wasseem Nahy Ibrahem Page 6

Instead, GLPF has a smooth transition between low and high frequencies. The figure below shows the results of applying GLPF. (c) (d) (e) (f) Figure 8.8 Original image. - (f) Results of GLPF with cutoff frequencies 5, 15, 30, 80, and 230 respectively. Asst. Lec. Wasseem Nahy Ibrahem Page 7

We can see the following effects of GLPF: 1. Smooth transition in blurring as a function of increasing cutoff frequency. 2. GLPF did not achieve as much smoothing as BLPF of order 2 for the same cutoff frequency. 3. No ringing effect. This is important in situations (e.g. medical imaging) where any type of artifact is not acceptable. Smoothing (lowpass) filtering is useful in many applications. For example, GLPF can be used to bridge small gaps in broken characters by blurring it as shown in the figure below. This is useful for automatic character recognition system. Figure 8.9 Text of poor resolution. Result of applying GLPF with cutoff=80 on GLPF can also be used for cosmetic processing prior to printing and publishing as shown in the next figure. Asst. Lec. Wasseem Nahy Ibrahem Page 8

Figure 8.10 Original image. Result of filtering using GLPF with cutoff=80 Asst. Lec. Wasseem Nahy Ibrahem Page 9

Sharpening frequency domain filters Edges and sudden changes in gray levels are associated with high frequencies. Thus to enhance and sharpen significant details we need to use highpass filters in the frequency domain For any lowpass filter there is a highpass filter: (, ) = 1 (, ) Ideal Highpass Filter (IHPF) The IHPF cuts off all low frequencies of the DFT but maintain the high ones that are within a certain distance from the center of the DFT. 1 (, ) > (, ) = 0 (, ) where D 0 is the cutoff frequency, and (, ) = ( /2) + ( /2) (c) Figure 8.11 IHPF transfer function. IHPF as an image. (c) IHPF radial cross section The IHPF sets to zero all frequencies inside a circle of radius D 0 while passing, without attenuation, all frequencies outside the circle. The next figure shows the results of applying IHPF with cutoff frequencies 15, 30, and 80. Asst. Lec. Wasseem Nahy Ibrahem Page 10

(c) (d) Figure 8.12 Original image. - (d) Results of IHPF with cutoff frequencies 15, 30, and 80 respectively. We can see the following effects of IHPF: 1. Ringing effect. 2. Edge distortion (i.e. distorted, thickened object boundaries). Both effects are decreased as the cutoff frequency increases. Asst. Lec. Wasseem Nahy Ibrahem Page 11

Butterworth Highpass Filter (BHPF) The transfer function of BHPF of order n and with cutoff frequency at distance D 0 is defined as: (, ) = 1 1 + [ / (, )] (c) Figure 8.13 BHPF transfer function. BHPF as an image. (c) BHPF radial cross section The figure below shows the results of applying BHPF with cutoff frequencies 15, 30 and 80. Asst. Lec. Wasseem Nahy Ibrahem Page 12

(c) (d) Figure 8.14 Original image. - (d) Results of BHPF with cutoff frequencies 15, 30, and 80 respectively. We can clearly see the following effects of BHPF: 1- BHPF behaves smoother than IHPF. 2- The boundaries are much less distorted than that of IHPF, even for the smallest value of cutoff frequency. Gaussian Highpass Filter (GHPF) The Gaussian Highpass Filter (GHPF) with cutoff frequency at distance D 0 is defined as: (, ) (, )/ = 1 (c) Figure 8.15 GHPF transfer function. GHPF as an image. (c) GHPF radial cross section Asst. Lec. Wasseem Nahy Ibrahem Page 13

The figure below shows the results of applying GHPF with cutoff frequencies 15, 30 and 80. (c) (d) Figure 8.16 Original image. - (d) Results of GHPF with cutoff frequencies 15, 30, and 80 respectively. The effects of GHPF are: 1. No ringing effect. 2. Less edge distortion. 3. The results are smoother than those obtained by IHPF and BHPF. Asst. Lec. Wasseem Nahy Ibrahem Page 14