Basic Image Processing

Slides:



Advertisements
Similar presentations
Spatial Filtering (Chapter 3)
Advertisements

Image Processing Lecture 4
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Lecture 4 Linear Filters and Convolution
1 © 2010 Cengage Learning Engineering. All Rights Reserved. 1 Introduction to Digital Image Processing with MATLAB ® Asia Edition McAndrew ‧ Wang ‧ Tseng.
Reminder Fourier Basis: t  [0,1] nZnZ Fourier Series: Fourier Coefficient:
Image processing. Image operations Operations on an image –Linear filtering –Non-linear filtering –Transformations –Noise removal –Segmentation.
Immagini e filtri lineari. Image Filtering Modifying the pixels in an image based on some function of a local neighborhood of the pixels
Digital Image Processing Chapter 4: Image Enhancement in the Frequency Domain.
Autumn Analog and Digital Communications Autumn
1 Image Filtering Readings: Ch 5: 5.4, 5.5, 5.6,5.7.3, 5.8 (This lecture does not follow the book.) Images by Pawan SinhaPawan Sinha formal terminology.
1 Image filtering Images by Pawan SinhaPawan Sinha.
1 Images and Transformations Images by Pawan SinhaPawan Sinha.
Linear filtering.
Basic Image Processing January 26, 30 and February 1.
Digital Image Processing, 2nd ed. © 2002 R. C. Gonzalez & R. E. Woods Chapter 4 Image Enhancement in the Frequency Domain Chapter.
Most slides from Steve Seitz
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean Hall 5409 T-R 10:30am – 11:50am.
Computer Vision Spring ,-685 Instructor: S. Narasimhan Wean 5403 T-R 3:00pm – 4:20pm.
Presentation Image Filters
1 Chapter 8: Image Restoration 8.1 Introduction Image restoration concerns the removal or reduction of degradations that have occurred during the acquisition.
CS559: Computer Graphics Lecture 3: Digital Image Representation Li Zhang Spring 2008.
Image Processing © 2002 R. C. Gonzalez & R. E. Woods Lecture 4 Image Enhancement in the Frequency Domain Lecture 4 Image Enhancement.
Discrete Images (Chapter 7) Fourier Transform on discrete and bounded domains. Given an image: 1.Zero boundary condition 2.Periodic boundary condition.
lecture 4, Convolution and Fourier Convolution Convolution Fourier Convolution Outline  Review linear imaging model  Instrument response function.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
09/19/2002 (C) University of Wisconsin 2002, CS 559 Last Time Color Quantization Dithering.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Chapter 5: Neighborhood Processing
CS 556 – Computer Vision Image Basics & Review. What is an Image? Image: a representation, resemblance, or likeness An image is a signal: a function carrying.
Linear filtering. Motivation: Noise reduction Given a camera and a still scene, how can you reduce noise? Take lots of images and average them! What’s.
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
Digital Image Processing Lecture 10: Image Restoration
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Mestrado em Ciência de Computadores Mestrado Integrado em Engenharia de Redes e Sistemas Informáticos VC 15/16 – TP7 Spatial Filters Miguel Tavares Coimbra.
Image Enhancement (Frequency Domain)
Linear filtering. Motivation: Image denoising How can we reduce noise in a photograph?
Frequency domain analysis and Fourier Transform
ENEE 322: Continuous-Time Fourier Transform (Chapter 4)
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Image Enhancement in the Spatial Domain.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
Miguel Tavares Coimbra
Correlation and Convolution They replace the value of an image pixel with a combination of its neighbors Basic operations in images Shift Invariant Linear.
Digital Image Processing Lecture 16: Segmentation: Detection of Discontinuities Prof. Charlene Tsai.
Digital Image Processing Lecture 10: Image Restoration
Linear Filters and Edges Chapters 7 and 8
Image Enhancement in the
Filtering – Part I Gokberk Cinbis Department of Computer Engineering
Digital Image Processing
All about convolution.
- photometric aspects of image formation gray level images
ENG4BF3 Medical Image Processing
Frequency Domain Analysis
Image filtering Images by Pawan Sinha.
CSCE 643 Computer Vision: Image Sampling and Filtering
CSCE 643 Computer Vision: Thinking in Frequency
9th Lecture - Image Filters
Image filtering Images by Pawan Sinha.
Motion illusion, rotating snakes
Linear filtering.
Digital Image Processing Week IV
Most slides from Steve Seitz
Department of Computer Engineering
Intensity Transformation
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Most slides from Steve Seitz
Lecture 4 Image Enhancement in Frequency Domain
Image Enhancement in the Spatial Domain
Presentation transcript:

Basic Image Processing January 26, 30 and February 1

Last week, we mentioned the important fact: Mathematically, every linear, shift-invariant system S is given by a convolution. The idea is to define a function called the point-spread function (of the system) h(x, y), which are the system’s outputs of the delta functions Formally, given a signal (2D signal, image) f(x, y), we can write

The linearity implies that the system’s output commutes with the integral to give Its turns out every 2D linear shift-invariant system has the following functions as its eigenfunctions S

Recall that The imaginary and real parts can be interpreted as waves S H(u, v) is called the modulation-transfer function.

Fourier Transform Analogous to expanding a function in the “Dirac” basis: We can expand the function in the “Fourier” basis The “coefficient function” is given by the Fourier transform of f(x, y)

From We have H(u , v) is the modulation-transfer function of the system. What does it do? What is f(0, 0) ?

Frequency domain Spatial domain Fourier transform Coefficients of the wave components Domain on which the function is defined Inverse Fourier transform

Important Properties of Fourier Transform 1. Fourier Transform of a convolution is a product. Convolution in the spatial domain becomes multiplication in the frequency domain. Using inverse transform we have Product in the spatial domain becomes convolution in the frequency domain.

Important Properties of Fourier Transform 2. Raleigh’s theorem (Parseval’s theorem)

Important Properties of Fourier Transform 3. Derivatives and Fourier Transform Differentiation accentuates (make stroner) high-frequency components and suppresses the low-frequency components. Laplacian What is the Fourier transform of the Laplacian?

Image Noise Modeling: Noise is usually assumed to be additive and random The observed intensity is the sum of the true intensity and a spurious and random signal. Signal-to-noise ratio, or SNR Ratio between std of signal and noise

Noise Modeling In the absence of information, the noise n(i, j) is usually modeled By a white, Gaussian, zero-mean stochastic proces. is treated as a random variable, distributed according to a zero mean Gaussian distribution function of fixed standard deviation. Gaussian distribution

Noise Modeling Impulsive noise (or peak noise): occur usually in addition to the one normally introduced by acquisition. x and y are two (uniformly distributed) random variables with range [0, 1].

Salt and pepper noise added Original image

Filtering and Smoothing Problem: Given an image I corrupted by noise n, attenuate n as much as possible (ideally, eliminate it altogether) without change I significantly. Linear Filter: Convolving the image with a constant matrix, called mask or kernel.

Mean Filter If the entries of A are non-negative, the filters performs average smoothing. Mean filter: take A to be the following matrix (with m=3) Effect: replaces a pixel value with the mean of its neighborhood. Intuitively, averaging takes out small variations: averaging m^2 noise values divides the standard deviation of the noise by m.

The Fourier transform of a 1-D mean filter kernel of with 2W is the sinc function Signals frequencies falling inside the main lobe are weighted more than the frequencies falling in the secondary lobes, the mean filter can be regarded as an approximate “low-pass”filter.

Gaussian smoothing: Kernel is a 2-D Gaussian. Fourier transform of a Gaussian is still a Gaussian and no secondary lobes. This makes the Gaussian kernel a better low-pass filter than the mean filter. Another important fact about Gaussian kernel: It is separable.

Another important fact about Gaussian kernel: It is separable. In practice, this means that the 2D convoluation can be computed first by convolvingg all row and then all columns with a 1-D Gaussian have the same standard deviation.

To be continued …