Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.

Slides:



Advertisements
Similar presentations
3-D Computer Vision CSc83020 / Ioannis Stamos  Revisit filtering (Gaussian and Median)  Introduction to edge detection 3-D Computater Vision CSc
Advertisements

Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
Spatial Filtering (Chapter 3)
Image Processing Lecture 4
Chapter 3 Image Enhancement in the Spatial Domain.
1Ellen L. Walker ImageJ Java image processing tool from NIH Reads / writes a large variety of images Many image processing operations.
E.G.M. PetrakisFiltering1 Linear Systems Many image processing (filtering) operations are modeled as a linear system Linear System δ(x,y) h(x,y)
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
Rank filtering From noise image Rank filtering mask (7 x 7 ) rank 4.
Lecture 4 Linear Filters and Convolution
6/9/2015Digital Image Processing1. 2 Example Histogram.
Image Filtering CS485/685 Computer Vision Prof. George Bebis.
Multimedia Data Introduction to Image Processing Dr Mike Spann Electronic, Electrical and Computer.
2007Theo Schouten1 Enhancements Techniques for editing an image such that it is more suitable for a specific application than the original image. Spatial.
MSU CSE 803 Stockman Linear Operations Using Masks Masks are patterns used to define the weights used in averaging the neighbors of a pixel to compute.
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 Lecture 12 Neighbourhood Operations (2) TK3813 DR MASRI AYOB.
CS443: Digital Imaging and Multimedia Filters Spring 2008 Ahmed Elgammal Dept. of Computer Science Rutgers University Spring 2008 Ahmed Elgammal Dept.
1 Image filtering Images by Pawan SinhaPawan Sinha.
Image Analysis Preprocessing Arithmetic and Logic Operations Spatial Filters Image Quantization.
1 Image filtering Hybrid Images, Oliva et al.,
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
Chapter 3 (cont).  In this section several basic concepts are introduced underlying the use of spatial filters for image processing.  Mainly spatial.
CSCE 441: Computer Graphics Image Filtering Jinxiang Chai.
Presentation Image Filters
Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
Multimedia Data Introduction to Image Processing Dr Sandra I. Woolley Electronic, Electrical.
Linear Filtering – Part I Selim Aksoy Department of Computer Engineering Bilkent University
EE663 Image Processing Dr. Samir H. Abdul-Jauwad Electrical Engineering Department King Fahd University of Petroleum & Minerals.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering Prof. Charlene Tsai.
Lecture 03 Area Based Image Processing Lecture 03 Area Based Image Processing Mata kuliah: T Computer Vision Tahun: 2010.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
Digital Image Processing Lecture 10: Image Restoration March 28, 2005 Prof. Charlene Tsai.
Digital Image Processing (Digitaalinen kuvankäsittely) Exercise 2
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.
Lecture 5 Mask/Filter Transformation 1.The concept of mask/filters 2.Mathematical model of filtering Correlation, convolution 3.Smoother filters 4.Filter.
Digital Image Processing Lecture 10: Image Restoration
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
Ch5 Image Restoration CS446 Instructor: Nada ALZaben.
Image Subtraction Mask mode radiography h(x,y) is the mask.
Course 2 Image Filtering. Image filtering is often required prior any other vision processes to remove image noise, overcome image corruption and change.
Intelligent Vision Systems ENT 496 Image Filtering and Enhancement Hema C.R. Lecture 4.
Digital Image Processing Lecture 5: Neighborhood Processing: Spatial Filtering March 9, 2004 Prof. Charlene Tsai.
Machine Vision Edge Detection Techniques ENT 273 Lecture 6 Hema C.R.
Digital Filters. What are they?  Local operation (neighborhood operation in GIS terminology) by mask, window, or kernel (different words for the same.
Instructor: Mircea Nicolescu Lecture 5 CS 485 / 685 Computer Vision.
Image Enhancement Band Ratio Linear Contrast Enhancement
Image Processing Lab Section 28/3/2016 Prepared by Mahmoud Abdelsatar Demonstrator at IT Dep. Faculty of computers and information Assuit University.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
HCI/ComS 575X: Computational Perception Instructor: Alexander Stoytchev
Spatial Image Enhancement
Image Subtraction Mask mode radiography h(x,y) is the mask.
ECE 692 – Advanced Topics in Computer Vision
Filtering – Part I Gokberk Cinbis Department of Computer Engineering
- photometric aspects of image formation gray level images
Image Enhancement in the Spatial Domain
Image filtering Images by Pawan Sinha.
HCI / CprE / ComS 575: Computational Perception
CSC 381/481 Quarter: Fall 03/04 Daniela Stan Raicu
Image filtering Images by Pawan Sinha.
Basic Image Processing
Digital Image Processing Week IV
Image filtering
Department of Computer Engineering
Lecture 2: Image filtering
Image Filtering Readings: Ch 5: 5. 4, 5. 5, 5. 6, , 5
Lecture 7 Spatial filtering.
Image Enhancement in the Spatial Domain
Presentation transcript:

Machine Vision ENT 273 Image Filters Hema C.R. Lecture 5

Hema ENT 273 Lecture 5 2 Why Filters are needed? Image processing converts an input image into an enhanced image from which information about the image can be retrieved. To enhance images any unwanted information or distortions called noise has to be removed. Filtering is the process which removes noise from an image [which also includes lightening darker regions to enhance quality of the image or suppresses unwanted information /region] Original Image Image with Noise

Hema ENT 273 Lecture 5 3 Image Noise Images are formed by light falling on a sensor Noises are introduced due to –Quantization – which reduces the light levels to 256 –Imperfect sensors –Imperfect lighting conditions during acquisition –Compression formats

Hema ENT 273 Lecture 5 4 Types of Noise Salt and Pepper –In salt and pepper noise pixels in the image are vastly different in color from their surrounding pixels. –The color of a noisy pixel bears no relation to the color of surrounding pixels. –Generally this type of noise will only affect a small number of image pixels. –When viewed, the image contains dark and white dots, hence the term salt and pepper noise.. Gaussian Noise –In Gaussian noise (dependent noise), an amount of noise is added to every part of the picture. – Each pixel in the image will be changed from its original value by a (usually) small amount. –Taking a plot of the amount of distortion of a pixel against the frequency with which it occurs produces a Gaussian distribution of noise Uniform Noise –Pixel values are usually close to their true values. –Average value is equal to the real one Original Image Salt and Pepper Noise Gaussian Noise Uniform Noise

Hema ENT 273 Lecture 5 5 Noise Removal Most Noise removal processes are called filters –Applied to each point in an image [convolution] –Use information in the small local windows of a pixel Noise removal Filters –Linear Filters –Non-Linear Filters Linear Filters –Gaussian filters –Mean Filter Non-Linear Filters –Median Filter

Hema ENT 273 Lecture 5 6 Linear Systems Space Invariant System –A system whose response remains the same irrespective of the position of the input pulse Output impulse response Linear Space Invariant System Input impulse

Hema ENT 273 Lecture 5 7 Linear Space Invariant Systems Linear Space Invariant System g(x,y) Input Image Output Image In LSI systems the output h(x,y) is a convolution of f(x,y) with impulse response g(x,y)

Hema ENT 273 Lecture 5 8 P1P2P3 P4P5P6 P7P8P9 h [i,j] ABC DEF GHI Convolution Mask

Hema ENT 273 Lecture 5 9 Convolution –A neighborhood operation in which each output pixel is a weighted sum of neighboring input pixels. The weights are defined by the convolution kernel. Image processing operations implemented with convolution include smoothing, sharpening, and edge enhancement. –Convolution is a spatially invariant operation

Hema ENT 273 Lecture 5 10 Linear Filters

Hema ENT 273 Lecture 5 11 Gaussian Filter Gaussian filters removes noise by smoothing but also blurs the image, The degree of smoothing is determined by the standard deviation of the Gaussian. (Larger standard deviation Gaussians, of course, require larger convolution masks in order to be accurately represented.) The Gaussian outputs a `weighted average' of each pixel's neighborhood, with the average weighted more towards the value of the central pixels. This is in contrast to the mean filter's uniformly weighted average. Gaussian provides gentler smoothing and preserves edges better than a similarly sized mean filter - Standard deviation of the distribution

Hema ENT 273 Lecture 5 12 Mean Filter The mean filter is a simple sliding-window spatial filter that replaces the center value in the window with the average (mean) of all the pixel values in the window. The window, or kernel, is usually square but can be any shape. An example of mean filtering of a single 3x3 window of values is shown *** *5* ***

Hema ENT 273 Lecture 5 13 Median Filter The median filter is also a sliding-window spatial filter, but it replaces the center value in the window with the median of all the pixel values in the window. As for the mean filter, the kernel is usually square but can be any shape. An example of median filtering of a single 3x3 window of values is shown Median filter remove 'impulse' noise (outlying values, either high or low). The median filter is also widely claimed to be 'edge-preserving' since it theoretically preserves step edges without blurring. However, in the presence of noise it does blur edges in images slightly *** *6* *** 2,3,4,5,6,7,9,18,57

Hema ENT 273 Lecture 5 14 Histogram Modification Histogram equalization –Is a method for stretching contrast of unevenly distributed gray values by uniformly redistributing the gray values

Hema ENT 273 Lecture 5 15 References Computer Vision – Linda G Shapiro & George Stockman Mat lab reference notes

Machine Vision End of Lecture 5