Comparisons of Adaptive Median Filters

Similar documents
FPGA IMPLEMENTATION OF RSEPD TECHNIQUE BASED IMPULSE NOISE REMOVAL

Dept. of ECE, V R Siddhartha Engineering College, Vijayawada, AP, India

Application of Fuzzy Logic Detector to Improve the Performance of Impulse Noise Filter

VLSI Implementation of Impulse Noise Suppression in Images

International Journal of Scientific & Engineering Research, Volume 4, Issue 7, July ISSN

FPGA Based Efficient Median Filter Implementation Using Xilinx System Generator

REALIZATION OF VLSI ARCHITECTURE FOR DECISION TREE BASED DENOISING METHOD IN IMAGES

A SURVEY ON SWITCHING MEDIAN FILTERS FOR IMPULSE NOISE REMOVAL

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

Generalization of Impulse Noise Removal

A Modified Non Linear Median Filter for the Removal of Medium Density Random Valued Impulse Noise

Fuzzy Logic Based Adaptive Image Denoising

A Novel Multi-diagonal Matrix Filter for Binary Image Denoising

C. Efficient Removal Of Impulse Noise In [7], a method used to remove the impulse noise (ERIN) is based on simple fuzzy impulse detection technique.

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

Digital Image Processing Labs DENOISING IMAGES

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

An Adaptive Wavelet and Level Dependent Thresholding Using Median Filter for Medical Image Compression

A Global-Local Noise Removal Approach to Remove High Density Impulse Noise

Exhaustive Study of Median filter

Detection and Removal of Noise from Images using Improved Median Filter

AN ITERATIVE UNSYMMETRICAL TRIMMED MIDPOINT-MEDIAN FILTER FOR REMOVAL OF HIGH DENSITY SALT AND PEPPER NOISE

The Use of Non-Local Means to Reduce Image Noise

Implementation of Median Filter for CI Based on FPGA

Removal of Salt and Pepper Noise from Satellite Images

A Fast Median Filter Using Decision Based Switching Filter & DCT Compression

An Improved Adaptive Median Filter for Image Denoising

CS 445 HW#2 Solutions

Hardware implementation of Modified Decision Based Unsymmetric Trimmed Median Filter (MDBUTMF)

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

AN EFFICIENT ALGORITHM FOR THE REMOVAL OF IMPULSE NOISE IN IMAGES USING BLACKFIN PROCESSOR

Brightness Preserving Fuzzy Dynamic Histogram Equalization

Removal of High Density Salt and Pepper Noise through Modified Decision based Un Symmetric Trimmed Median Filter

ABSTRACT I. INTRODUCTION

Non Linear Image Enhancement

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

Noise Removal in Thump Images Using Advanced Multistage Multidirectional Median Filter

Image restoration and color image processing

Filtering in the spatial domain (Spatial Filtering)

An Efficient Noise Removing Technique Using Mdbut Filter in Images

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

Impulse Noise Removal Technique Based on Neural Network and Fuzzy Decisions

Efficient Removal of Impulse Noise in Digital Images

Evolutionary Image Enhancement for Impulsive Noise Reduction

New Spatial Filters for Image Enhancement and Noise Removal

Histogram Equalization with Range Offset for Brightness Preserved Image Enhancement

Using Median Filter Systems for Removal of High Density Noise From Images

An Efficient Component Based Filter for Random Valued Impulse Noise Removal

Noise Adaptive and Similarity Based Switching Median Filter for Salt & Pepper Noise

Neural Network with Median Filter for Image Noise Reduction

FUZZY BASED MEDIAN FILTER FOR GRAY-SCALE IMAGES

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

Image Filtering. Reading Today s Lecture. Reading for Next Time. What would be the result? Some Questions from Last Lecture

A Noise Adaptive Approach to Impulse Noise Detection and Reduction

High density impulse denoising by a fuzzy filter Techniques:Survey

Digital Image Processing

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

Samandeep Singh. Keywords Digital images, Salt and pepper noise, Median filter, Global median filter

Digital Image Processing 3/e

Absolute Difference Based Progressive Switching Median Filter for Efficient Impulse Noise Removal

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

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

Image Denoising using Filters with Varying Window Sizes: A Study

Decision Based Median Filter Algorithm Using Resource Optimized FPGA to Extract Impulse Noise

Image Enhancement using Histogram Equalization and Spatial Filtering

PARAMETER ESTIMATION OF METAL BLOOMS USING IMAGE PROCESSING TECHNIQUES

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

A Survey of Linear and Non-Linear Filters for Noise Reduction

Study of Noise Detection and Noise Removal Techniques in Medical Images

Image Noise Removal by Dual Threshold Median Filter for RVIN

TIRF, geometric operators

Color Image Denoising Using Decision Based Vector Median Filter

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

Digital Image Processing. Digital Image Fundamentals II 12 th June, 2017

I. INTRODUCTION II. EXISTING AND PROPOSED WORK

Interpolation of CFA Color Images with Hybrid Image Denoising

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

Impulse Noise Removal and Detail-Preservation in Images and Videos Using Improved Non-Linear Filters 1

ADVANCES in NATURAL and APPLIED SCIENCES

Image Processing by Bilateral Filtering Method

Adaptive Denoising of Impulse Noise with Enhanced Edge Preservation

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

CoE4TN4 Image Processing. Chapter 3: Intensity Transformation and Spatial Filtering

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

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

Removal of Impulse Noise Using Eodt with Pipelined ADC

A Histogram based Algorithm for Denoising Images Corrupted with Impulse Noise

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

Image Denoising Using Statistical and Non Statistical Method

Processing and Enhancement of Palm Vein Image in Vein Pattern Recognition System

Implementation of Block based Mean and Median Filter for Removal of Salt and Pepper Noise

Noise Reduction Technique in Synthetic Aperture Radar Datasets using Adaptive and Laplacian Filters

Analysis of the SUSAN Structure-Preserving Noise-Reduction Algorithm

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

What is image enhancement? Point operation

The Use of Neural Network to Recognize the Parts of the Computer Motherboard

Video Enhancement Algorithms on System on Chip

Automatic Licenses Plate Recognition System

10. Noise modeling and digital image filtering

INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN

Transcription:

Comparisons of Adaptive Median Filters Blaine Martinez The purpose of this lab is to compare how two different adaptive median filters perform when it is computed on the Central Processing Unit (CPU) of a computer and on a Graphical Processing Unit (GPU). Median filters are used to clean up images with impulse noise such as Salt and Pepper Noise. Impulse noise is defined as noise that appears at random locations in an image with a pixel value that at or close to the largest or smallest possible pixel values of the image. In the case of Salt and Pepper Noise, the impulse values are at both ends of the image s pixels intensities. The Salt noise are the impulses with high pixel intensities, while Pepper noise are impulses with low pixel intensities. Below are two images, Figure 1 is the original image of a circuit board and Figure 2 is image with Salt and Pepper noise applied. Figure 1

Figure 2 The first algorithm works in two phases. The first phase calculates the local maximum, minimum and median pixel values of a small window in an image. The window starts off as a 3x3 mask centered around the pixel being operating on. If the median of that 3x3 window is in between the local min and max, that the algorithm moves into the second phase. If not, the size of the window is increased by one pixel in each direction and the min, max, and medians are calculated again. This process continues until the max window size is reached which then forces the program into the second stage. When the second stage is reached, the pixel being operated is compared to the local min and max values. If the pixel being operated on is not equal to the local min or max values, then the resulting pixel value remains the same. On the other hand, if the pixel being operated on is equal to either the local min or max, then the resulting pixel value is replaced with the local median. The results of this first adaptive are shown below in Figure 3.

Figure 3 The second adaptive median filter I used was works by first identifying the locations of the impulse noise, and then it will apply a local median filter around the impulse location. In order to find the locations of impulse noise, a windowing scheme is used to whether or not impulse noise exists. Figure 4 shows four windows in which a pixel will be compared to in order to determine the location of an impulse pixel. In each of the four windows, the center pixel is compared to two adjacent pixels. In Figure 4, the windows are represented by a 3x3 mask where the pixels that are going to be compared are highlighted in black. The center pixel of this mask is subtracted from the two adjacent highlighted pixels then given a weight. Then the magnitude of the difference between each of these two pixels are added together and divided by the sum of the weights, which yields a weight for each of the four windows form Figure 4. The following two equations are used to calculate the weight of each window and pixel.

Figure 4 The window weights d k will be used to determine whether or not the center pixel is an impulse. Of the four d k window weights the one of with the smallest value is used to compare to a threshold value to determine if the window is centered around an impulse. This technique works because if there was an impulse at the center of the window, the magnitude difference between it and its adjacent two pixels will be large, so if this value is above some threshold value, T, then the center pixel will be reported as an impulse. If the center pixel is not an impulse pixel then the magnitude difference between it and the two adjacent pixels will be very small and as a result, it will stay below the threshold value T. Figure 5 and Figure 6 below show an image and calculated impulse location. Figure 5 is a single color plane of the circuit board image with Salt and Pepper noise applied. Figure 6 shows the identified locations of the impulse values from the image in Figure 5. The way the algorithm is set up is by creating an array the same size of the noisy image full of zeros. The when an impulse has been found, the pixel locations are marked by giving the generated array a 1 in the location of the impulse. So when looking at Figure 6, all the black pixels represent the locations where a normal pixel has been found and all white pixels represent the location where an impulse has been detected.

Figure 5 Figure 6

Once all the impulse locations have been found, a local 3x3 median filter is applied around the impulse locations. The results of this field are shown below in Figure 7. Figure 7 As it can be seen in Figure 7, the results of this filter didn t work out as well as the first adaptive median filter. This is due mainly because the original algorithm for this filter required that the impulse pixels be replaced by a certain weighted average of the surrounding pixels. My implementation of this weighted average did not work out so I replaced that portion of the algorithm with a normal 3x3 median filter. From the results in Figure 7, it is shown that this modified algorithm is not very effective in filtering our impulse noise. The implementations of both of these algorithms were on Matlab using both the CPU and GPU, and the GPU portion used Accelereyes Jacket software. The following times were measured for performing both of these adaptive median filters on the CPU and GPU. Adaptive Median Filter 1: CPU Time = 16.4 s, GPU Time = 65.6 s, Speed Up Ratio = 0.014 Adaptive Median Filter 2: CPU Time = 9.7 s, GPU Time = 10.01 s, Speed Up Ratio = 0.974 From the results, it can be seen that the filters GPU didn t speed up either of the algorithms. This is due to the fact that the GPU specializes in manipulating large sets of arrays at once, but my implementation of these algorithms performed the operations sequentially because I had trouble trying to embed for loops inside each other with the GPU.

References: Digital Images Processing, Third Edition Rafael C. Gonzalez, Richard E. Woods PEARSON, 2008 Simple Adaptive Median Filter for the Removal of Impulse Noise from Highly Corrupted Images Haidi Ibrahim, Nicholas Sia Pik Kong, Theam Foo Ng IEEE Transactions on Consumer Electronics, Vol 54, No.4 Novermber 2008 Impulse Noise Removal Using Directional Difference Based Noise Detector and Adaptive Weighted Mean Filter Xuming Zhang, Youlun Xiong IEEE SIGNAL PROCESSING LETTERS, VOL. 16, NO. 4, APRIL 2009 A New Adaptive Switching Median Filter Smail Akkoul, Roger Ledee, Remy Leconge, Rachid Harba IEEE SIGNAL PROCESSING LETTERS, VOL. 17, NO. 6, June 2010