S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE.09.452/ECE.09.552 Fall 2007 Shreekanth Mandayam ECE Department Rowan University.

Slides:



Advertisements
Similar presentations
Spatial Filtering (Chapter 3)
Advertisements

Topic 6 - Image Filtering - I DIGITAL IMAGE PROCESSING Course 3624 Department of Physics and Astronomy Professor Bob Warwick.
Image Filtering. Outline Outline Concept of image filter  Focus on spatial image filter Various types of image filter  Smoothing, noise reductions 
Image Pre-Processing Image pre-processing (předzpracování obrazu) –transformations of the input image leading to noise reduction, image improvement or.
© by Yu Hen Hu 1 ECE533 Digital Image Processing Image Enhancement in Frequency Domain.
EE 4780 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Image Enhancement Digital Image Processing Instructor: Dr. Cheng-Chien LiuCheng-Chien Liu Department of Earth Sciences National Cheng Kung University Last.
Digital Image Processing In The Name Of God Digital Image Processing Lecture3: Image enhancement M. Ghelich Oghli By: M. Ghelich Oghli
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2003 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2001 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2003 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University.
Median Filter If the objective is to achieve noise reduction rather than blurring, an alternative approach is to use median filters. That is, the gray.
2007Theo Schouten1 Enhancements Techniques for editing an image such that it is more suitable for a specific application than the original image. Spatial.
Digital Image Processing / Fall 2003
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2009 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2010 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Introduction to Digital Image Processing Shreekanth Mandayam ECE Department Rowan University
Digital Image Processing
S. Mandayam/ ANN/ECE Dept./Rowan University Artificial Neural Networks ECE /ECE Fall 2006 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2009 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2011 Shreekanth Mandayam ECE Department Rowan University.
2-D, 2nd Order Derivatives for Image Enhancement
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2001 Shreekanth Mandayam ECE Department Rowan University.
Introduction to Digital Image Processing
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
Gholamreza Anbarjafari, PhD Video Lecturers on Digital Image Processing Digital Image Processing Spatial Domain Filtering: Part II.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2009 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ ANN/ECE Dept./Rowan University Artificial Neural Networks ECE /ECE Fall 2006 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ EEMAG-1/ECE Dept./Rowan University Engineering Electromagnetics Fall 2004 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2009 Shreekanth Mandayam ECE Department Rowan University.
Chapter 3 Image Enhancement in the Spatial Domain.
Image Filtering. Problem! Noise is a problem, even in images! Gaussian NoiseSalt and Pepper Noise.
S. Mandayam/ ECOMMS/ECE Dept./Rowan University Electrical Communications Systems ECE Spring 2007 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2001 Shreekanth Mandayam ECE Department Rowan University.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2001 Shreekanth Mandayam ECE Department Rowan University.
ECE 472/572 - Digital Image Processing Lecture 4 - Image Enhancement - Spatial Filter 09/06/11.
 Image Enhancement in Spatial Domain.  Spatial domain process on images can be described as g(x, y) = T[f(x, y)] ◦ where f(x,y) is the input image,
Introduction to Image Processing Grass Sky Tree ? ? Review.
Presentation Image Filters
Spatial Filtering: Basics
Medical Image Analysis Image Enhancement Figures come from the textbook: Medical Image Analysis, by Atam P. Dhawan, IEEE Press, 2003.
Image processing Fourth lecture Image Restoration Image Restoration: Image restoration methods are used to improve the appearance of an image.
8-1 Chapter 8: Image Restoration Image enhancement: Overlook degradation processes, deal with images intuitively Image restoration: Known degradation processes;
Image Subtraction Mask mode radiography h(x,y) is the mask.
COMP322/S2000/L171 Robot Vision System Major Phases in Robot Vision Systems: A. Data (image) acquisition –Illumination, i.e. lighting consideration –Lenses,
İmage enhancement Prepare image for further processing steps for specific applications.
EE 7730 Image Enhancement. Bahadir K. Gunturk2 Image Enhancement The objective of image enhancement is to process an image so that the result is more.
Image Enhancement by Spatial Domain Filtering
Digital Image Processing Week V Thurdsak LEAUHATONG.
Lecture Seven Figures from Gonzales and Woods, Digital Image Processing, Copyright 2002.
S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing / Fall 2001 Shreekanth Mandayam ECE Department Rowan University.
Spatial Filtering (Chapter 3) CS474/674 - Prof. Bebis.
Digital Image Processing / Fall 2001
Digital Image Processing / Fall 2001
ECE 692 – Advanced Topics in Computer Vision
Digital Image Processing / Fall 2001
Lecture 10 Image sharpening.
Digital Image Processing / Fall 2001
Introduction to Digital Image Processing
Image Enhancement in the Spatial Domain
Presentation transcript:

S. Mandayam/ DIP/ECE Dept./Rowan University Digital Image Processing ECE /ECE Fall 2007 Shreekanth Mandayam ECE Department Rowan University Lecture 3 September 24, 2007

S. Mandayam/ DIP/ECE Dept./Rowan UniversityPlan Pixel Operations Point processing Histogram equalization Connectivity Image Enhancement Spatial Filtering Detection of Discontinuities Edge detection (Sobel, Prewitt and Laplacian masks) individual pixels all pixels neighboring pixels Low-pass High-pass

S. Mandayam/ DIP/ECE Dept./Rowan University DIP: Details

S. Mandayam/ DIP/ECE Dept./Rowan University Image Preprocessing Enhancement Restoration Spatial Domain Spectral Domain Point Processing >>imadjust >>histeq Spatial filtering >>filter2 Filtering >>fft2/ifft2 >>fftshift Inverse filtering Wiener filtering

S. Mandayam/ DIP/ECE Dept./Rowan University Pixel Connectivity (x+1,y-1) (x,y) (x+1,y) (x+1,y+1) (x,y+1) (x-1,y+1) (x-1,y-1) (x,y-1) (x-1,y) x y

S. Mandayam/ DIP/ECE Dept./Rowan University Labeling of Connected Components Begin scan Position: (x,y) p(x,y) = 1? p(x-1,y) = 1? p(x,y-1) = 1? p(x-1,y) AND p(x,y-1) = 1 class(x,y) = new class Update position (x,y) class(x,y) = class(x-1,y) class(x,y) = class(x,y-1) class(x-1,y) = class(x,y-1) All positions scanned? End scan y y y y y p(x-1,y) AND p(x,y-1) = 0 y

S. Mandayam/ DIP/ECE Dept./Rowan University Spatial Filtering (Masking) R w1w1 w2w2 w3w3 w4w4 w5w5 w6w6 w7w7 w8w8 w9w9 z1z1 z2z2 z3z3 z4z4 z5z5 z6z6 z7z7 z8z8 z9z9 Portion of a digital image Mask = w 1 z 1 + w 2 z 2 + ….. +w 9 z 9 Replace with

S. Mandayam/ DIP/ECE Dept./Rowan University Low-pass Filters R z1z1 z2z2 z3z3 z4z4 z5z5 z6z6 z7z7 z8z8 z9z9 Moving Average Filter = median(z 1, z 2, ….., z 9 ) Replace with (1/9)* Median Filter

S. Mandayam/ DIP/ECE Dept./Rowan University Noise Models SNR g = 10 log 10 (P f /P n ) Power Variance (how?) SNR g = 10 log 10 (  f 2 /  n 2 ) f(x,y) g(x,y) n(x,y)  Degradation Model: g = f + n

S. Mandayam/ DIP/ECE Dept./Rowan University Noise Models N(0,1): zero-mean, unit-variance, Gaussian RV Theorem: N(0,  2 ) =  N(0,1) Use this for generating normally distributed r.v.’s of any variance >>imnoise >>nrfiltdemo >>filter2 demos/demo2spatial_filtering/lowpassdemo.m

S. Mandayam/ DIP/ECE Dept./Rowan University High-pass Filters 8 z1z1 z2z2 z3z3 z4z4 z5z5 z6z6 z7z7 z8z8 z9z9 Basic HP Filter (1/9)* Gradient Filter demos/demo2spatial_filtering/highpassdemo.m

S. Mandayam/ DIP/ECE Dept./Rowan University Detection of Discontinuities Point Detection Line Detection (Prewitt’s Gradient) demos/demo2spatial _filtering/prewitt.m

S. Mandayam/ DIP/ECE Dept./Rowan University Edge Detection Sobel Masks >>edgedemo >>edge demos/demo2spatial_filtering/edgegradientdemo.m

S. Mandayam/ DIP/ECE Dept./Rowan University Lab 1: Pixel Operations

S. Mandayam/ DIP/ECE Dept./Rowan UniversitySummary