Digital Image Processing Labs DENOISING IMAGES

Similar documents
Image analysis. CS/CME/BIOPHYS/BMI 279 Fall 2015 Ron Dror

FILTER FIRST DETECT THE PRESENCE OF SALT & PEPPER NOISE WITH THE HELP OF ROAD

Image Denoising Using Statistical and Non Statistical Method

International Journal of Computer Engineering and Applications, TYPES OF NOISE IN DIGITAL IMAGE PROCESSING

The Use of Non-Local Means to Reduce Image Noise

Performance Comparison of Mean, Median and Wiener Filter in MRI Image De-noising

10. Noise modeling and digital image filtering

APJIMTC, Jalandhar, India. Keywords---Median filter, mean filter, adaptive filter, salt & pepper noise, Gaussian noise.

De-Noising Techniques for Bio-Medical Images

Image Denoising using Filters with Varying Window Sizes: A Study

Multimedia Systems Image II (Image Enhancement) Mahdi Amiri April 2012 Sharif University of Technology

Performance Analysis of Average and Median Filters for De noising Of Digital Images.

Interpolation of CFA Color Images with Hybrid Image Denoising

PERFORMANCE ANALYSIS OF LINEAR AND NON LINEAR FILTERS FOR IMAGE DE NOISING

An Adaptive Kernel-Growing Median Filter for High Noise Images. Jacob Laurel. Birmingham, AL, USA. Birmingham, AL, USA

Computing for Engineers in Python

An Efficient Nonlinear Filter for Removal of Impulse Noise in Color Video Sequences

Assignment 5 due Monday, May 7

Image Denoising Using Different Filters (A Comparison of Filters)

Available online at ScienceDirect. Procedia Computer Science 42 (2014 ) 32 37

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

An Efficient Noise Removing Technique Using Mdbut Filter in Images

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

A Novel Color Image Denoising Technique Using Window Based Soft Fuzzy Filter

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

TIRF, geometric operators

Topaz Labs DeNoise 3 Review By Dennis Goulet. The Problem

GAUSSIAN DE-NOSING TECHNIQUES IN SPATIAL DOMAIN FOR GRAY SCALE MEDICAL IMAGES Nora Youssef, Abeer M.Mahmoud, El-Sayed M.El-Horbaty

Mahdi Amiri. March Sharif University of Technology

CSC 320 H1S CSC320 Exam Study Guide (Last updated: April 2, 2015) Winter 2015

Comparisons of Adaptive Median Filters

VLSI Implementation of Impulse Noise Suppression in Images

Chapter 3. Study and Analysis of Different Noise Reduction Filters

COMPARITIVE STUDY OF IMAGE DENOISING ALGORITHMS IN MEDICAL AND SATELLITE IMAGES

Do It Yourself 3. Speckle filtering

Image Processing by Bilateral Filtering Method

Digital Image Processing

Performance Comparison of Various Filters and Wavelet Transform for Image De-Noising

Step 5) Split the red data using the Multi Scale Decomposition tool into a detail and residual background image.

A Spatial Mean and Median Filter For Noise Removal in Digital Images

DIGITAL IMAGE DE-NOISING FILTERS A COMPREHENSIVE STUDY

Study of Noise Detection and Noise Removal Techniques in Medical Images

ORIGINAL ARTICLE A COMPARATIVE STUDY OF QUALITY ANALYSIS ON VARIOUS IMAGE FORMATS

Sensors and Sensing Cameras and Camera Calibration

Stochastic Image Denoising using Minimum Mean Squared Error (Wiener) Filtering

An Efficient DTBDM in VLSI for the Removal of Salt-and-Pepper Noise in Images Using Median filter

Noise Detection and Noise Removal Techniques in Medical Images

Direction based Fuzzy filtering for Color Image Denoising

Analysis of Wavelet Denoising with Different Types of Noises

Section 6.4. Sampling Distributions and Estimators

Reconstruction of Image using Mean and Median Filter With Histogram Modification

A New Method for Removal of Salt and Pepper Noise through Advanced Decision Based Unsymmetric Median Filter

CS108L Computer Science for All Module 3 Guide NetLogo Experiments using Random Walk and Wiggle Walk

ANALYSIS OF GABOR FILTER AND HOMOMORPHIC FILTER FOR REMOVING NOISES IN ULTRASOUND KIDNEY IMAGES

Literature Survey On Image Filtering Techniques Jesna Varghese M.Tech, CSE Department, Calicut University, India

Motivation: Image denoising. How can we reduce noise in a photograph?

Median Filter and Its

Image Denoising with Linear and Non-Linear Filters: A REVIEW

11Beamage-3. CMOS Beam Profiling Cameras

Motivation: Image denoising. How can we reduce noise in a photograph?

Filtering Images in the Spatial Domain Chapter 3b G&W. Ross Whitaker (modified by Guido Gerig) School of Computing University of Utah

Information & Instructions

Feature Variance Based Filter For Speckle Noise Removal

Part I Feature Extraction (1) Image Enhancement. CSc I6716 Spring Local, meaningful, detectable parts of the image.

Mod. 2 p. 1. Prof. Dr. Christoph Kleinn Institut für Waldinventur und Waldwachstum Arbeitsbereich Fernerkundung und Waldinventur

Detection and Removal of Noise from Images using Improved Median Filter

I have an image of a flower that is entirely in focus. I would like to blur the background to make the flower stand out.

Design of Novel Filter for the Removal of Gaussian Noise in Plasma Images

Tutorial. Filtering Images F I L T E R I N G. Filtering Images. with. TNTmips. page 1

Image filtering, image operations. Jana Kosecka

10.2. Scanning Document Camera Scoring. Page 1 of 5. How do I score answer sheets using a document camera? STEP 1

A tight framelet algorithm for color image de-noising

Applications of Flash and No-Flash Image Pairs in Mobile Phone Photography

Removal of Gaussian noise on the image edges using the Prewitt operator and threshold function technical

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Scanning Setup Guide for TWAIN Datasource

Image Filtering in Spatial domain. Computer Vision Jia-Bin Huang, Virginia Tech

I. INTRODUCTION II. EXISTING AND PROPOSED WORK

SAR AUTOFOCUS AND PHASE CORRECTION TECHNIQUES

Diffuser / Homogenizer - diffractive optics

CHM 152 Lab 1: Plotting with Excel updated: May 2011

Image Enhancement in spatial domain. Digital Image Processing GW Chapter 3 from Section (pag 110) Part 2: Filtering in spatial domain

Image Quality Measurement Based On Fuzzy Logic

Lab 3: Low-Speed Delta Wing

Impact Factor (SJIF): International Journal of Advance Research in Engineering, Science & Technology

Enhancement of Multispectral Images and Vegetation Indices

Design and Implementation of Gaussian, Impulse, and Mixed Noise Removal filtering techniques for MR Brain Imaging under Clustering Environment

Performance Analysis of Local Adaptive Real Oriented Dual Tree Wavelet Transform in Image Processing

Image De-noising Using Linear and Decision Based Median Filters

Photoshop Techniques Digital Enhancement

Buxton & District U3A Digital Photography Beginners Group Lesson 5: Simple Editing. 5 November 2013

Batch Counting of Foci

A Histogram based Algorithm for Denoising Images Corrupted with Impulse Noise

BOOK BUILDING. for beginners. Lightroom Tutorial by Mark Galer

METAL TEXT EFFECT. Step 1: Create A New Document. Step 2: Fill The Background With Black

Recitation 2 Introduction to Photoshop

Fuzzy Logic Based Adaptive Image Denoising

A Novel Curvelet Based Image Denoising Technique For QR Codes

INTRODUCTION TO IMAGE PROCESSING

Study of Various Image Enhancement Techniques-A Review

Transcription:

Digital Image Processing Labs DENOISING IMAGES All electronic devices are subject to noise pixels that, for one reason or another, take on an incorrect color or intensity. This is partly due to the changes in temperature that arises from the heating of electrons in the device. In addition to noise generated by temperature changes, noise is also generated when light hits the image sensor in your digital camera. Noise, which often appears as speckles on an image, is one way that digital images are degraded. There are two common types of noise: Salt & Pepper and Gaussian. Figure 1 below shows an example of salt and pepper noise, where randomly occurring black and white pixels replace the light intensity of the original pixel. Figure 2 shows an example of Gaussian noise, which involves normally distributed noise that is more likely to occur at specific values. Figure 1 (left): Image w/ Salt and Pepper noise Figure 2 (right): Image w/ Gaussian noise Salt and pepper noise also known as grainy noise occurs in the form of pixels with black or white intensities that appear to be scattered on an image (Figure 1). Another type of noise prevalent in digital images is Gaussian noise also known as snowy noise. Gaussian noise produces an effect on the image similar to an old television set with poor reception. It is characterized by two parameters, mean and variance. The intensity of each pixel in the image will differ from its original value by some average value. The variance specifies how much the noise will vary from the average value. The result is a random fluctuation of the intensity of each pixel in the image. One important question that needs to be considered when developing digital camera or digital photo software is how to remove commonly occurring noise from images. In the activities below we explore two common methods for removing noise. In order to remove noise from an image we may employ two commonly used algorithms. The first method samples a block of pixels and calculates the mean value. It replaces the pixel in the Draft: 8/7/12 Page 1 of 5

center of the block with this mean value. The other algorithm works similarly, but instead calculates the median value instead of the mean. Activity 1: Denoising an Image by Hand I. Smoothing with the Mean. The following procedure can be used to smooth an image and reduce noise. 1. Start at the upper-left cell in the matrix (43). 2. Calculate the mean of all the cells including your selected cell (43,102, 122, 55). 3. Replace the value (e.g. 43) in the original cell with the mean calculated above. 4. Move one pixel to the right and continue to calculate means and replace the value in your current cell with the mean of all the cells. For example, there will be nine cells the surrounding and the given central cell the value of that cell would be replaced by the mean of all eight surrounding cells. Note: when calculating the mean use the original pixel intensity values not the previously calculated means. 5. Now try it out. Consider the portion of a digital image shown below in Figure 3. Follow the procedure outlined above to smooth the image and enter your new means in the blank matrix in Figure 4. Figure 3: Portion of a Digital Image Draft: 8/7/12 Page 2 of 5

43 55 105 94 102 22 18 40 95 125 155 160 21 105 140 135 Figure 4: Blank Matrix for Mean Smoothing 6. Download the Excel document from http://dk12.ece.drexel.edu/mt/smoothing.xlsx and replace the original values with your calculated values. The Excel spreadsheet automatically re-calculates the color of the cell to match your entry. What do you notice? How is the image different? II. Smoothing with the Median. A similar procedure can be used to smooth an image and reduce noise using the median instead of the mean. 1. Start at the upper-left cell in the matrix (43). 2. Calculate the median of all the cells surrounding your selected cell (43, 102, 122, 55). 3. Replace the value in the original cell with the median calculated above. 4. Move one pixel to the right and continue to calculate medians and replace the value in your current cell with the mean of all the cells. For example, the median of the nine cells will replace a given central cell. Note: when calculating the medians use the original pixel intensity values not the previously calculated means. 5. Now try it out. Revisit digital image shown in Figure 3. Follow the procedure outlined above to smooth the image and enter your new values (the median of the surrounding cells) in the blank matrix in Figure 5. Draft: 8/7/12 Page 3 of 5

43 55 105 94 102 22 18 40 95 125 155 160 21 105 140 135 Figure 4: Blank Matrix for Median Smoothing 6. Return to the Excel document you downloaded from http://dk12.ece.drexel.edu/mt/smoothing.xlsx and replace the original values with your calculated values (the medians). The Excel spreadsheet automatically re-calculates the color of the cell to match your entry. What do you notice? How is the image different? How is the resulting smoothed image different from the mean smoothing? Activity 2: Denoising Applets 1. Download a quality image of the cat from Figures 1 & 2 from http://dk12.ece.drexel.edu/mt/cat.jpg 2. Open the Noise applet at http://dk12.ece.drexel.edu/image_guis/noise.html or following the link on the main Image Processing Labs page. 3. The applet is designed to add either Salt & Pepper or Gaussian noise to an image and then apply the Mean and Median filter from Activity 1 to the corrupted (noisy) image. a. Selecting Gaussian or Salt and Pepper determines the kind of noise that will be added to the image b. The Mean slider determines the mean of the noise Gaussian distribution. It is best to leave it at 0, since this reflects most real-world noise. c. The Std slider slider determines the standard deviation (STD) of the noise Gaussian distribution. One can leave it at its default of 50, but this is usually very strong noise. Once you click the update button, lower the noise level by dragging it closer to 0 (negative standard deviation will again be too strong of noise). d. The Noise Intensity slider affects the frequency of (or how often) pixels are corrupted in the Salt-and-Pepper noise. Draft: 8/7/12 Page 4 of 5

e. The Window slider affects the size of the window to take the mean and median of through the image. 4. Experiment with the various types of noise and sliders. a. Click on the Salt-and-Pepper noise. Set the Noise intensity slider to 12 and the Window slider at 5 px. Click Update. Which filter better cleaned the noise better? Why? b. Now, set the Window slider to 3 px. Click Update. Are the filtered images clearer or blurrier? Why do you think so? c. Now, click on the Gaussian noise, slide the Mean slider to 0, slide the Std slider to 41, and the Window slider to 5px. Click Update. Which filter cleaned the noise better? Why? 5. Questions a. As you experimented with the window size what trade-offs in image quality did you notice? b. As you experimented with the mean and median algorithms what different performance did you notice? Was the mean or median better? Can you make a guess as to why? Draft: 8/7/12 Page 5 of 5