New feature preserving noise removal algorithm based on thediscrete cosine transform and the a prior knowledge of pixel type.

Similar documents
Image Processing. Traitement d images. Yuliya Tarabalka Tel.

Image Processing Lecture 10

CoE4TN4 Image Processing. Chapter 5 Image Restoration and Reconstruction

CoE4TN3 Medical Image Processing

Adaptive Algorithm in Image Denoising Based on Data Mining

Statistical Image Compression using Fast Fourier Coefficients

Image Restoration and Reconstruction

Image Restoration and Reconstruction

CHAPTER 2 ADAPTIVE DECISION BASED MEDIAN FILTER AND ITS VARIATION

An efficient multiplierless approximation of the fast Fourier transform using sum-of-powers-of-two (SOPOT) coefficients

f(x,y) is the original image H is the degradation process (or function) n(x,y) represents noise g(x,y) is the obtained degraded image p q

Image restoration. Restoration: Enhancement:

Predictive Interpolation for Registration

Digital Image Processing

x' = c 1 x + c 2 y + c 3 xy + c 4 y' = c 5 x + c 6 y + c 7 xy + c 8

ISSN (ONLINE): , VOLUME-3, ISSUE-1,

Digital Image Processing. Prof. P. K. Biswas. Department of Electronic & Electrical Communication Engineering

Computer Vision 2. SS 18 Dr. Benjamin Guthier Professur für Bildverarbeitung. Computer Vision 2 Dr. Benjamin Guthier

Vivekananda. Collegee of Engineering & Technology. Question and Answers on 10CS762 /10IS762 UNIT- 5 : IMAGE ENHANCEMENT.

CHAPTER 3 IMAGE ENHANCEMENT IN THE SPATIAL DOMAIN

INTERNATIONAL JOURNAL OF ELECTRONICS AND COMMUNICATION ENGINEERING & TECHNOLOGY (IJECET)

Chapter 3: Intensity Transformations and Spatial Filtering

EE 5359 Multimedia project

Hybrid filters for medical image reconstruction

Lecture 3 - Intensity transformation

A Switching Weighted Adaptive Median Filter for Impulse Noise Removal

Spatial Enhancement Definition

Locally Weighted Least Squares Regression for Image Denoising, Reconstruction and Up-sampling

Title. Author(s)Smolka, Bogdan. Issue Date Doc URL. Type. Note. File Information. Ranked-Based Vector Median Filter

Outlines. Medical Image Processing Using Transforms. 4. Transform in image space

High Speed Pipelined Architecture for Adaptive Median Filter

Fractional Discrimination for Texture Image Segmentation

VU Signal and Image Processing. Image Restoration. Torsten Möller + Hrvoje Bogunović + Raphael Sahann

ADVANCED IMAGE PROCESSING METHODS FOR ULTRASONIC NDE RESEARCH C. H. Chen, University of Massachusetts Dartmouth, N.

PSD2B Digital Image Processing. Unit I -V

MRT based Adaptive Transform Coder with Classified Vector Quantization (MATC-CVQ)

Image Enhancement Techniques for Fingerprint Identification

Image Processing, Analysis and Machine Vision

Introduction to Digital Image Processing

Sparse Component Analysis (SCA) in Random-valued and Salt and Pepper Noise Removal

SURVEY ON IMAGE PROCESSING IN THE FIELD OF DE-NOISING TECHNIQUES AND EDGE DETECTION TECHNIQUES ON RADIOGRAPHIC IMAGES

Filtering Images. Contents

Chapter - 2 : IMAGE ENHANCEMENT

AN ALGORITHM FOR BLIND RESTORATION OF BLURRED AND NOISY IMAGES

Image Enhancement in Spatial Domain (Chapter 3)

Analysis of Planar Anisotropy of Fibre Systems by Using 2D Fourier Transform

Hom o om o or o phi p c Processing

FPGA Implementation of a Nonlinear Two Dimensional Fuzzy Filter

Structural Similarity Based Image Quality Assessment Using Full Reference Method

Computer Vision and Graphics (ee2031) Digital Image Processing I

Digital Image Procesing

Multiresolution motion compensation coding for video compression

An Effective Denoising Method for Images Contaminated with Mixed Noise Based on Adaptive Median Filtering and Wavelet Threshold Denoising

Convex combination of adaptive filters for a variable tap-length LMS algorithm

WEINER FILTER AND SUB-BLOCK DECOMPOSITION BASED IMAGE RESTORATION FOR MEDICAL APPLICATIONS

Image Gap Interpolation for Color Images Using Discrete Cosine Transform

Texture Image Segmentation using FCM

Point and Spatial Processing

Filtering and Enhancing Images

A ROBUST LONE DIAGONAL SORTING ALGORITHM FOR DENOISING OF IMAGES WITH SALT AND PEPPER NOISE

Digital Image Processing

Image Enhancement in Spatial Domain. By Dr. Rajeev Srivastava

Digital Watermarking with Copyright Authentication for Image Communication

A Novel Statistical Distortion Model Based on Mixed Laplacian and Uniform Distribution of Mpeg-4 FGS

A fuzzy k-modes algorithm for clustering categorical data. Citation IEEE Transactions on Fuzzy Systems, 1999, v. 7 n. 4, p.

Fuzzy Mathematical Approach for the Extraction of Impulse Noise from Muzzle Images

IMAGE DE-NOISING IN WAVELET DOMAIN

Patch-Based Color Image Denoising using efficient Pixel-Wise Weighting Techniques

What will we learn? Neighborhood processing. Convolution and correlation. Neighborhood processing. Chapter 10 Neighborhood Processing

Analyzing Images Containing Multiple Sparse Patterns with Neural Networks

REMOVAL OF HIGH DENSITY IMPULSE NOISE USING MORPHOLOGICAL BASED ADAPTIVE UNSYMMETRICAL TRIMMED MID-POINT FILTER

IJRASET: All Rights are Reserved 7

Image Restoration. Yao Wang Polytechnic Institute of NYU, Brooklyn, NY 11201

A NEW ROBUST IMAGE WATERMARKING SCHEME BASED ON DWT WITH SVD

Restoration of Images Corrupted by Mixed Gaussian Impulse Noise with Weighted Encoding

DIGITAL IMAGE WATERMARKING BASED ON A RELATION BETWEEN SPATIAL AND FREQUENCY DOMAINS

A Very Low Bit Rate Image Compressor Using Transformed Classified Vector Quantization

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

CS4442/9542b Artificial Intelligence II prof. Olga Veksler

Classification of image operations. Image enhancement (GW-Ch. 3) Point operations. Neighbourhood operation

Available online at ScienceDirect. Procedia Computer Science 54 (2015 ) Mayank Tiwari and Bhupendra Gupta

COMPARISON OF SOME EFFICIENT METHODS OF CONTOUR COMPRESSION

JPEG compression of monochrome 2D-barcode images using DCT coefficient distributions

A Robust Wavelet-Based Watermarking Algorithm Using Edge Detection

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

SYDE 575: Introduction to Image Processing

Denoising and Edge Detection Using Sobelmethod

Spatial, Transform and Fractional Domain Digital Image Watermarking Techniques

Texture Segmentation by Windowed Projection

MULTICHANNEL image processing is studied in this

Robust Ring Detection In Phase Correlation Surfaces

Final Review. Image Processing CSE 166 Lecture 18

Noise Suppression using Local Parameterized Adaptive Iterative Model in Areas of Interest

DYADIC WAVELETS AND DCT BASED BLIND COPY-MOVE IMAGE FORGERY DETECTION

CHAPTER 6 DETECTION OF MASS USING NOVEL SEGMENTATION, GLCM AND NEURAL NETWORKS

UNIT III : IMAGE RESTORATION

A Miniature-Based Image Retrieval System

Image Restoration Chapter 5. Prof. Vidya Manian Dept. of Electrical and Computer Engineering INEL 5327 ECE, UPRM

NONLINEAR BACK PROJECTION FOR TOMOGRAPHIC IMAGE RECONSTRUCTION

Image denoising in the wavelet domain using Improved Neigh-shrink

Transcription:

Title New feature preserving noise removal algorithm based on thediscrete cosine transform and the a prior knowledge of pixel type Author(s) Yung, HC; Lai, HS Citation International Conference on Image Processing Proceedings, Lausanne, Switzerland, 16-19 September 1996, v. 1, p. 415-418 Issued Date 1996 URL http://hdl.handle.net/10722/45994 Rights This work is licensed under a Creative Commons Attribution- NonCommercial-NoDerivatives 4.0 International License.; 1996 IEEE. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the IEEE.

NEW FEATURE PRESERVING NOISE REMOVAL ALGORITHM BASED ON THE DISCRETE COSINE TRANSFORM AND THE A PRIOR KNOWLEDGE OF PIXEL TYPE H. C Yung* & H. S. Lai** Department of Electrical & Electronic Engineering The University of Hong Kong Pokfulam Road, HONG KONG * Email : nyung@hkueee.hku.hk ** Email : hslai@hkueee.hku.hk ABSTRACT In this paper, a new Corrupted-Pixel-Identification (CPI) based estimation filter is presented. The method is especially useful for filtering clustered noise. After the corrupted pixels are identified by the CPI algorithm, the noisy subimage centered on a corrupted pixel is transformed into its Discrete Cosine Transform (DCT) domain where the transformed subimage is approximated by its DC coefficient only. With the knowledge of the number of corrupted pixels in the subimage from the CPI algorithm, an estimation of the noise distribution can be made, from which the DC coefficient of the restored subimage can be determined. Hence, noise filtering is achieved. From the experimental results, we can show that the CPI-based estimation filter has three desirable characteristics: 1) it has superior noise removal performance over the conventional median filter and CPI-based median filter in filtering clustered noise; 2) it has good feature preserving property (better than conventional filters); and 3) the computing speed of the filter is almost three times faster than the conventional median filter. 1. INTRODUCTION wasting. This is because not all the pixels in the image are corrupted, processing all the pixels means waste of time in filtering uncorrupted pixels. In addition, filtering uncorrupted pixels would vary image features that perhaps is unacceptable in applications such as video communications. In contrast to filtering without discrimination, another class of filtering algorithms based on the idea of filtering with discrimination have been developed[6,7]. In this class of algorithms, the basic concept is that pixels are being classified into one of the two classes: corrupted or uncorrupted; before the corrupted pixels are being filtered by a conventional spatial filter or a specially designed algorithm making use of the a priori knowledge of the pixel types. Figure 1 illustrates the conceptual diagram of the CPI algorithm. This algorithm offers a substantial saving in computing time[8]. Furthermore, by not filtering the uncorrupted pixels, the CPI-based filters have features preserving property that is better than the other conventional algorithms. Noisy Image g(x.y) Noise filtering is a technique commonly employed in digital image processing applications where the images are degraded by randomly populated impulses in the spatial domain. Additive white impulses are often the consequence of poor input sampling and/or interference from an external source. If the noise distribution is known exactly, the original image can be recovered from the noisy image completely in the additive case. However, this is often not possible and therefore, estimation of the noise distribution and intensity is commonly carried out in spatial filtering. Over the years, many noise filtering algorithms in the spatial domain have been developed. Typical examples of these filters are the median filter[ 1,2,4], averaging filter[3,4], sigma filter[4], box filter[l,4] and general rank filter[l]. These conventional spatial filtering algorithms have a common problem: they introduce certain degree of line and edge distortion to the recovered image[5], which manifests itself as slight blurring or smoothing as a result. One of the reasons for this distortion is the filtering without discrimination. In other words, every pixel in the image is subjected to the same neighbourhood operation uniquely defined by the operating algorithm. The implementation of the this kind of filter is usually simple and straight forward, although it could be time Restored image Figure 1 : Conceptual diagram of the CPI algorithm In the case of the CPI-median filter, the list of corrupted pixel generated by the CPI algorithm is passed to the Filter Section where a median filter is used to perform the standard filtering operation. In this case, no attempt has been made on 0-7803-3258-X/96/$5.00 0 1996 IEEE 415

how the noise removing quality and features preserving quality may be improved by using the a priori knowledge of the pixel type during the filtering process. It is the intention of this paper to explore this particular aspect in conjunction with the CPI algorithm, and investigate the effect of filtering a corrupted ptxd by considering only the corrupted pixels in its neighbourhood. In this paper, a novel filtering algorithm using the a priori knowledge of the pixel type to estimate the noise distribution and intensity in a subimage is presented. The subimage centered on the corrupted pixel is transform into its Discrete Cosine Transform (DCT) domain where the transformed subimage is approximated by its DC coefficient only and an estimation of the noise distribution is made by combining the knowledge of the number of corrupted pixels in the subimage and the pixel intensity of the noise term. This enables the DC coefficient of the restored image in the DCT domain to be determined and hence noise intensity in the spatial domain can be determined. Simple subtraction operation is then carried out to remove the noise component from the corrupted pixel. In the next section, the concept and philosophy are presented as well as the estimation algorithm. The experimental results of the CPI-estimation algorithm are presented in section 3. In that section, the noise removal capability, feature preserving property and computing speed of the CPI-estimation filter are evaluated. The last section is the conclusion, which gives an overall comment on the CPI-estimation filter. 2. CPI-based Estimation Filter Algorithm 2.1. Concept and Philosophy The philosophy of this algorithm is that if we have the a prior knowledge of the pixel types, then the noise distribution can be estimated from the noisy image. In the case of the image corrupted by additive random noise, the reconstructed image can be obtained simply by subtracting the noise term from the noisy image. A high noise removal capability and high original feature preserving rate are aimed in the proposed filter algorithm NOISY Image g(x,y) Figure 2 depicts the conceptual diagram of the estimation filtering algorithm where a list of corrupted pixels g (x,y) classified by the CPI algorithm is passed to the filter. Then the DC coefficient G(0,O) in the DCT domain of the subimage centered at the corrupted pixel is calculated. The number of corrupted pixels, noisy image g(x,y), list of corrupted pixels g (x,y) and the DC coefficient G(0,O) are used to estimate the noise distributions in each subimage and the estimated noise distributions are used to determine the DC coefficient of the restored image P(0,O). Finally, the noise term is calculated from G(0,O) and k(0,o). The restored image j(x,y) is simply obtained by subtracting the noise term from g(x,y). 2.2. Algorithm Let us define the following terms : f(x,y) : Original image ~(x, y) : Additive noise term g(x, y) : Noisy image f(x,y) : Restored image E Approximated noise intensity F(0,0) : DC term of F(u,v) over a ()2 subimage G(0,0) : DC term of G(u,v) over a ()2 subimage &N+1(0,0) : DC term off(u,v) over a ()2 subimage S : Number of corrupted pixels (from CPI) inside a ()2 subimage The DCT off(x,y) and its inverse are : N N (2x + 1)uz (2y + 1)vn f(x y)cos x=-n y=-n 2(2N + 1) Os 2(2N + 1) (la) (2x + 1)un (2y + 1)vn F(u,v) cos 2(2N + 1) Os 2(2N + 1) The DC coefficient of F(u,v) when u=o and v=o over a ()2 subimage and its inverse are given by: 1 1 The noisy image g(x,y) is the sum of the original image f (XJ) and the additive noise ~(xj), i.e. Y) = f(x,y) + V(X, Y) (3) where the DC coefficient of g(x,y) equals to : Figure 2 : Conceptual diagram of CPI-estimation Filter Assume all the additive noise pixels within the filtering window have approximately the same intensity E, then the intensity of 416

the noise pixels can be estimated by E if g(x,y) is corrupted This assumption is designed to deal with white impulse noise. For other types of noise distributions, equation (5) may be generalised to the average value or the sum of q(x,y) over the ()2 subimage. If there are S corrupted pixels within the subimage, then equation (4) becomes: G(030) = F2N+l(O,O) + - (6) From equation (6), if the corrupted pixel at the center of the subimage is restored, the number of corrupted pixels would become 91. Therefore, the DC coefficient of the restored image becomes: (S- I)& &+I (0,O) = F2N+I (0,O) + SE (5) where W x H is the dimension of the image Furthermore, the computing speed of the above algorithms are compared. 3.2. Noise Removal Capability The restored images from the noisy image with SNR equals to -50dB by different filters are shown in Figure 3. From the images, it is quite clear that the CPI-estimation filter is more effective in removing clustered noise where clustered noise often appear in low SNR images while the other two filters fail to remove most of the clustered noise. = G2~+1(0,0) -- Let the approximation of noise intensity be: E= g(xd -f(xy) (8) Substituting equations (2b) & (8) into (6) and rearranging, we have S G(0.0) - =g(x,y) F(0>0) = (9) E (7) { - (2 N: 1)2} By substituting equations (2b), (8) & (9) into rearranging, the DC coefficient of &N+l(O,O) becomes: 7) and g(x y) [()2-~J (10) Since g(x,y) is given and S can be obtained from the CPI algorithm, k2n+l(0,0) can be determined from equation (10). As a result, the restored imagef(x,y) can be deduced from equation (2b). 3. EXPERIMENTAL RESULTS 3.1. Performance Evaluation In this paper, the image casino ticket with 256 grey levels and having a spatial dimension of 227x533 is used as the test sample. This image has coast features, such as the title, icons and the large numerals on the right hand side; and also fine features, such as the horizontal lines and the small characters. Noisy images varying from SNR=5OdB to -50dB are tested by the conventional median filter, the CPI-median filter and the proposed CPI-estimation filter. Subjective measurement is based on visual inspection and objective measurement is based on the mean-square error (MSE) which is given by equation (1 1). Figure 3 :(a) Original image; (b) Noisy image (SNR=-BOdB); (c) Restored by median filter; (d) Restored by CPI-median filter; (e) Restored by CPI-estimation filter. Figure 4 plots the MSE for all the three cases. From the figure, the CPI-based filters are more effective than the median filter over the whole range. While the CPI-estimation filter has better performance than the CPI-median filter for SNR4 OdB. In addition, the MSE of the CPI-estimation filter increases fairly slightly as SNR decreases. 417

~ - CFl-median 5000 times faster than median filter. For the CPI-estimation filter, median which is the fastest amongst the three filters, the average x- ~ computing time is 1.46 seconds which is almost three times 4000 +- CFl-estimation faster than the median filter. It should also be noted that the 3000 computing time of the two CPI-based filters varies according to - the number of corrupted pixels identified. - _ - _-- --x 0 00 p - - f t 50 30 10 0-10 -30-50 Figure 4 MSE of the three filters versus SNR 3.3. Feature Preserving Property To investigate the feature preserving property, the different filters are applied to the original uncorrupted image and the MSE of the filtered images are tabulated in table 1. Median 1 CPI-median I CPI-estimation 920.1 I 285.57 I 421.21 Table 1 : Comparison of MSE between different filters From the table, CPI-median gives the lowest MSE, this means that the CPI-median filter has better feature preserving property followed by the CPI-estimation filter and the median filter is the poorest. The filtered images are shown in Figure 5, in which both the CPI-based filters retain most of the detail information while the median filter blurred those horizontal lines and small characters in the image. (a) (b) (c) Figure 5 : (a) Filtered by median filter; (b) Filtered by CPI-median filter; (c) Filtered by CPI-estimation filter. 3.4. Computing Speed The CPI-estimation filter employs simple arithmetic operations which are faster than sorting operations used in the median filter. Table 2 depicts the computing time of the three filters running on a SGI workstation(1ndy 133MHz, R4600PC). Obviously, the median filter takes constant computing time for all cases of SNR because of its filtering without discrimination philosophy. The CPI-median filter is around 1.6 SNR(dB) I Median I CPI-median 1 CPI-estimation 50 2.5s I 1.6s I 30 I I 2.1s I 1.4s I 10 I I 2.5s I 1.6s I 0-10 -3 0-50 2.2s 2.1s 2.2s 2.4s 1.4s 1.3s 1.4s 1.5s Table 2 : Computing times required for different filters 4. CONCLUSIONS CPI-based filters generally outperform the conventional median filter algorithm in terms of objective MSE, subjective visual inspection and computing speed. CPI-estimation filter is particularly useful for filtering heavily corrupted images as well as having good features preserving property. In addition, the computing speed of 1.46 times faster than CPI-median filter and 3 times faster than the conventional median filter, making it the fastest in this class. In conclusion, filtering with a priori knowledge of the corrupted pixels is more effective than the conventional filter methods. REFERENCES John C. Russ, The Image Processing Handbook, 2/e, IEEE Press, 1995. Milan Sonka, Vaclav Hlavac & Roger Boyle, Image Processing, Analysis and Machine Vision, Chapman & Hall Computing, 1994. Robert, J. Schalkoff, Digital Image Processing and Computer Vision, John Wiley & Sons, 1989. Zheung Yi, Image analysis, modeling, enhancement, restoration, feature extraction and their application in nondestructive evalution and radio astronomy, Ph.D. Thesis, Dept of EE, Iowa State University, USA, 1987. J. E. Hall & J. D Aetrey, Real-time image enhancement using 3x3 pixel neighbourhood operation functions, Selected Papers on Digital Image Processing, vol. MS17, edited by Mohan M. Trivedi, SPIE Optical Engineering Press, pp. 595-598, 1990. N. H. C. Yung & A. H. S. Lai, A Novel Filter Algorithm for Removing Impulse Noise in Digital Images, SPIE Proc. on VCIP 95, vol. 2501, pp. 210-220, 1995. N. H. C. Yung, A. H. S. Lai & K. M. Poon, Modified CPI Filter Algorithm for Removing Salt-and-Pepper Noise in Digital Images, SPIE Proc. on VCIP 96, vol. 2727, pp. 1439-1449,1996. C. F Yung, Performance Evaluation of Class of CPI Algorithms, University of Hong Kong, Dept. EEE Training Report, October, 1995. 418