7. Lecture. Image restoration: Spatial domain

Similar documents
Lectures 6&7: Image Enhancement

A BRIEF STUDY OF VARIOUS NOISE MODEL AND FILTERING TECHNIQUES

Bildverarbeitung und Mustererkennung Image Processing and Pattern Recognition

Lecture 14. Point Spread Function (PSF)

Sharpening through spatial filtering

Computational Foundations of Cognitive Science

Digital image processing

High Performance GPU-based Preprocessing for Time-of-Flight Imaging in Medical Applications

Kriging Interpolation Filter to Reduce High Density Salt and Pepper Noise

Digital Image Processing: Introduction

High Quality Image Magnification using Cross-Scale Self-Similarity

A New Image Edge Detection Method using Quality-based Clustering. Bijay Neupane Zeyar Aung Wei Lee Woon. Technical Report DNA #

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Week 1 Lecture: (1) Course Introduction (2) Data Analysis and Processing

jorge s. marques image processing

Digital Image Fundamentals. Selim Aksoy Department of Computer Engineering Bilkent University

Numerical Methods For Image Restoration

BARE PCB INSPECTION BY MEAN OF ECT TECHNIQUE WITH SPIN-VALVE GMR SENSOR

Probability and Random Variables. Generation of random variables (r.v.)

Combining an Alternating Sequential Filter (ASF) and Curvelet for Denoising Coronal MRI Images

Euler Vector: A Combinatorial Signature for Gray-Tone Images

Ehlers Filters by John Ehlers

521466S Machine Vision Assignment #7 Hough transform

Jitter Measurements in Serial Data Signals

Real Business Cycle Models

Personal Identity Verification (PIV) IMAGE QUALITY SPECIFICATIONS FOR SINGLE FINGER CAPTURE DEVICES

Spatio-Temporal Nonparametric Background Modeling and Subtraction

MODULATION Systems (part 1)

Data Mining: Exploring Data. Lecture Notes for Chapter 3. Slides by Tan, Steinbach, Kumar adapted by Michael Hahsler

MATLAB-based Applications for Image Processing and Image Quality Assessment Part II: Experimental Results

AUTOMATIC ATIC PCB DEFECT DETECTION USING IMAGE SUBTRACTION METHOD

Aliasing, Image Sampling and Reconstruction

Geostatistics Exploratory Analysis

EECS 556 Image Processing W 09. Interpolation. Interpolation techniques B splines

Interpreting the Information Element C/I

Spectral Line II. G ij (t) are calibrated as in chapter 5. To calibrated B ij (ν), observe a bright source that is known to be spectrally flat

Basic Image Processing (using ImageJ)

Signal to Noise Instrumental Excel Assignment

Statistical Distributions in Astronomy

Digital Image Processing

Measuring Line Edge Roughness: Fluctuations in Uncertainty

Introduction to Mobile Robotics Bayes Filter Particle Filter and Monte Carlo Localization

Automatic Restoration Algorithms for 35mm film

Module 13 : Measurements on Fiber Optic Systems

Iterative Solvers for Linear Systems

Signal Detection. Outline. Detection Theory. Example Applications of Detection Theory

Descriptive statistics Statistical inference statistical inference, statistical induction and inferential statistics

Noise estimation in remote sensing imagery using data masking

Bias in the Estimation of Mean Reversion in Continuous-Time Lévy Processes


CS Introduction to Data Mining Instructor: Abdullah Mueen

Radar Systems Engineering Lecture 6 Detection of Signals in Noise

Canny Edge Detection

Spatial Statistics Chapter 3 Basics of areal data and areal data modeling

Advanced Signal Processing and Digital Noise Reduction

CHAPTER 7 CONCLUSION AND FUTURE WORK

Log-Likelihood Ratio-based Relay Selection Algorithm in Wireless Network

Time-frequency segmentation : statistical and local phase analysis

DIGITAL IMAGE PROCESSING AND ANALYSIS

Implementation of Canny Edge Detector of color images on CELL/B.E. Architecture.

The Fundamentals of MTF, Wiener Spectra, and DQE. Motivation

Introduction. Chapter 1

SOFTWARE FOR GENERATION OF SPECTRUM COMPATIBLE TIME HISTORY

Lastest Development in Partial Discharge Testing Koh Yong Kwee James, Leong Weng Hoe Hoestar Group

Synthetic Sensing: Proximity / Distance Sensors

Imageprocessing. Errors of measurements

CMOS Image Sensor Noise Reduction Method for Image Signal Processor in Digital Cameras and Camera Phones

How To Use Arxiver

Chromatic Improvement of Backgrounds Images Captured with Environmental Pollution Using Retinex Model

Descriptive Statistics. Purpose of descriptive statistics Frequency distributions Measures of central tendency Measures of dispersion

Color Segmentation Based Depth Image Filtering

LECTURE 16. Readings: Section 5.1. Lecture outline. Random processes Definition of the Bernoulli process Basic properties of the Bernoulli process

The continuous and discrete Fourier transforms

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

A RAPID METHOD FOR WATER TARGET EXTRACTION IN SAR IMAGE

Color image processing: pseudocolor processing

IN current film media, the increase in areal density has

Nexus Technology Review -- Exhibit A

Characterizing Digital Cameras with the Photon Transfer Curve

Visibility of Noise in Natural Images

Digital Camera Imaging Evaluation

E190Q Lecture 5 Autonomous Robot Navigation

4F7 Adaptive Filters (and Spectrum Estimation) Least Mean Square (LMS) Algorithm Sumeetpal Singh Engineering Department sss40@eng.cam.ac.

ECE302 Spring 2006 HW5 Solutions February 21,

RESULTS FROM A SIMPLE INFRARED CLOUD DETECTOR

Business Statistics. Successful completion of Introductory and/or Intermediate Algebra courses is recommended before taking Business Statistics.

MATLAB-based Applications for Image Processing and Image Quality Assessment Part I: Software Description

International College of Economics and Finance Syllabus Probability Theory and Introductory Statistics

CHAPTER 3: DIGITAL IMAGING IN DIAGNOSTIC RADIOLOGY. 3.1 Basic Concepts of Digital Imaging

Maximum Likelihood Estimation of ADC Parameters from Sine Wave Test Data. László Balogh, Balázs Fodor, Attila Sárhegyi, and István Kollár

Application Note: Spread Spectrum Oscillators Reduce EMI for High Speed Digital Systems

Advanced Signal Analysis Method to Evaluate the Laser Welding Quality

PARALLEL PROGRAMMING

Dynatel Advanced Modular System 965AMS 30-Megahertz Spectrum Analyzer

Edge detection. (Trucco, Chapt 4 AND Jain et al., Chapt 5) -Edges are significant local changes of intensity in an image.

Transcription:

7. Lecture Image restoration: Spatial domain 1

Example: Movie restoration ² Very popular - digital remastering of old movies ² e.g. Limelight from Joanneum Research 2

Example: Scan from old film 3

Example: Image noise Thermal noise Line drop: part or all of a line lost 4

Example: Structured noise Periodic stationary: Noise has fixed amplitude frequency and phase Commonly caused by interference between electronic components Periodic nonstationary: noise parameters (amplitude frequency phase) vary across the image Intermittent interference between electronic components 5

Image degradation & restoration model ² H is a degradation function ² (x; y) is an additive noise term ² The degraded image is g(x; y) ² ^f(x; y) is the image after restoration and should be a close estimate of f(x; y) 6

Image degradation & restoration model ² If the degradation function H is a linear shift-invariant process then the degraded image is given in the spatial domain by g(x; y) = h(x; y) f(x; y) + (x; y) where h(x; y) is the spatial representation for the degradation function. ² In the frequency domain this is: G(u; v) = H(u; v)f (u; v) + N(u; v) 7

Noise models ² The principle source of noise is in image acquisition and/or image transmission ² Following factors a ect the performance of the image aquisition: { Environmental conditions { Light levels (especially low light) { Sensor temperature ² Reasons for transmission errors: { Electronic interferences { Lightning { Atmospheric disturbances 8

Noise models ² Noise produced from di erent sources has di erent characteristics. Therefore we work with multiple noise models. ² Gaussian noise: Sensor noise (low light high temperature electronic circuit noise) ² Rayleigh noise: Mainly used in range images ² Exponential or Erlang noise: Laser imaging ² Impulse noise: faulty components 9

Gaussian noise ² Approximates image noise very well ² De ned by mean ¹ and standard deviation ¾ ² The PDF (probability density function) is given by where z is the grayvalue. p G (z) = p 1 e (z ¹)2 2¾ 2¼¾ 2 10

Impulse (salt and pepper) noise ² Image is corrupted by random white (salt) and black (pepper) pixels 11

More noise models 12

Visual comparison of noise models 13

Visual comparison of noise models 14

Estimating the noise model ² Sometimes the noise model and parameters are known from speci cations. ² In most cases it is necessary to estimate them from images ² This can be done by looking at the histogram of areas of constant grey value. ² Either by taking images of uniform areas or by selecting small patches of reasonably constant gray value 15

Estimating the noise model 16

Periodic noise ² The parameters of periodic noise can be estimated by inspection of the Fourier spectrum. ² Noise is often visible as spikes in the spectrum 17

Restoration in the presence of noise only ² If noise is the only image degradation then the model is as follows: g(x; y) = f(x; y) + (x; y) and G(u; v) = F (u; v) + N(u; v) ² For periodic noise N(u; v) can usually get estimated and restoration can be done by subtracting it ² The image noise terms n(x; y) however cannot be estimated (only in statistical) manner. Restoration by subtraction is not possible. ² In this case spatial ltering needs to be used. 18

Mean filters ² Arithmetic mean lter: { Computes average grayvalue of pixels under a m n lter mask of a noisy image g(x; y) { Coe±cients of lter mask have value of 1=mn { Noise is suppressed by smoothing ² Geometric mean lter: ^f(x; y) = 2 6 4 Y (s;t)2s xy g(s; t) 3 7 5 1 mn { Smoothing similar to arithmetic mean { Preserves details better 19

Example: Mean filter Original Corrupted by Gaussian noise Arithmetic mean Geometric mean 20

Mean filter and salt and pepper noise ² Single pixels with highly deviating grayvalues (salt and pepper noise) in uence the average of all neighboring pixels badly ² Arithmetic and geometric mean lter are not suitable for salt and pepper noise Original Salt and pepper noise Mean filtering 21

Order-statistics filter Pixel underneath filter mask get sorted New value will be determined as follows: Median: Max: b y a x g y x f S b a median b y a x g y x f S b a max 22

Order-Statistics Filter (con d) Min: Midpoint: Alpha-trimmed mean: Remove the smallest and highest values from the sorted list (d number of values to remove) New value is the average of the remaining values b y a x g y x f S b a min b y a x g b y a x g y x f S b a S b a min max 2 1 d mn y x g y x f r 23

Example: Order-statistics filter Iterative application of the median filter Corrupted by pepperand-salt noise 1 st time 2 nd time 3 rd time 24

Example: Order-statistics filter original Corrupted by pepper noise Max filter?? Min filter (for salt noise) 25

Properties Produce no new grayvalues Edge-preserving Works well for salt and pepper noise Rather slow because of sorting the pixel values (especially for large filter masks) Runtime-improvement: Use a running sort window. Don t sort everything from scratch. Remove old pixels from sorted list and add new pixels to sorted list. 26

Adaptive filtering Mean filter that adapts it s behaviour based on statistics of the grayvalues under the filter mask. Use of mean and variance g m g m 2 new( x y) f f 2 2 f g ( x y) f Mean under the mask Variance of the image Current grayscale Variance under the mask 27

Adaptive filtering m g m 2 f f 2 2 f g ( x y) f 2 f If is high then the fraction is close to 1; the output is close to the original value g. 2 f High implies significant detail such as edges. If the local variance is low such as the background the fraction is close to 0; the output is close to m f 28

Example: Adaptive filtering original Corrupted by Gaussian noise with variance=1000 Mean filter (7x7 window) Adaptive Filter (7x7 window) 29