Objective Evaluation of Edge Blur and Ringing Artefacts: Application to JPEG and JPEG 2000 Image Codecs

Similar documents
Artefact Characterisation for JPEG and JPEG 2000 Image Codecs: Edge Blur and Ringing

JPEG2000: IMAGE QUALITY METRICS INTRODUCTION

Audio and Speech Compression Using DCT and DWT Techniques

A New Scheme for No Reference Image Quality Assessment

AN IMPROVED NO-REFERENCE SHARPNESS METRIC BASED ON THE PROBABILITY OF BLUR DETECTION. Niranjan D. Narvekar and Lina J. Karam

Chapter 9 Image Compression Standards

Audio Signal Compression using DCT and LPC Techniques

Compression and Image Formats

A Compression Artifacts Reduction Method in Compressed Image

2.1. General Purpose Run Length Encoding Relative Encoding Tokanization or Pattern Substitution

A Novel Approach of Compressing Images and Assessment on Quality with Scaling Factor

Linear Gaussian Method to Detect Blurry Digital Images using SIFT

Satellite Image Compression using Discrete wavelet Transform

Improvement in DCT and DWT Image Compression Techniques Using Filters

No-Reference Image Quality Assessment using Blur and Noise

Assistant Lecturer Sama S. Samaan

IJSER. No Reference Perceptual Quality Assessment of Blocking Effect based on Image Compression

Lossy and Lossless Compression using Various Algorithms

2. REVIEW OF LITERATURE

Evaluation of Audio Compression Artifacts M. Herrera Martinez

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

A Study On Preprocessing A Mammogram Image Using Adaptive Median Filter

AN ERROR LIMITED AREA EFFICIENT TRUNCATED MULTIPLIER FOR IMAGE COMPRESSION

Chapter 3 LEAST SIGNIFICANT BIT STEGANOGRAPHY TECHNIQUE FOR HIDING COMPRESSED ENCRYPTED DATA USING VARIOUS FILE FORMATS

Perceptual Blur and Ringing Metrics: Application to JPEG2000

Image Smoothening and Sharpening using Frequency Domain Filtering Technique

IMAGE PROCESSING: AREA OPERATIONS (FILTERING)

Journal of mathematics and computer science 11 (2014),

HIGH QUALITY AUDIO CODING AT LOW BIT RATE USING WAVELET AND WAVELET PACKET TRANSFORM

Watermarking-based Image Authentication with Recovery Capability using Halftoning and IWT

Thesis: Bio-Inspired Vision Model Implementation In Compressed Surveillance Videos by. Saman Poursoltan. Thesis submitted for the degree of

COMPARITIVE STUDY OF IMAGE DENOISING ALGORITHMS IN MEDICAL AND SATELLITE IMAGES

Pixel Classification Algorithms for Noise Removal and Signal Preservation in Low-Pass Filtering for Contrast Enhancement

Image Compression Using Huffman Coding Based On Histogram Information And Image Segmentation

NO-REFERENCE PERCEPTUAL QUALITY ASSESSMENT OF RINGING AND MOTION BLUR IMAGE BASED ON IMAGE COMPRESSION

A COMPARATIVE ANALYSIS OF DCT AND DWT BASED FOR IMAGE COMPRESSION ON FPGA

Dct Based Image Transmission Using Maximum Power Adaptation Algorithm Over Wireless Channel using Labview

Performance Evaluation of Edge Detection Techniques for Square Pixel and Hexagon Pixel images

FPGA implementation of DWT for Audio Watermarking Application

B.E, Electronics and Telecommunication, Vishwatmak Om Gurudev College of Engineering, Aghai, Maharashtra, India

DEFOCUS BLUR PARAMETER ESTIMATION TECHNIQUE

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

Audio Compression using the MLT and SPIHT

Quality Measure of Multicamera Image for Geometric Distortion

Image compression using Thresholding Techniques

Digital Image Watermarking using MSLDIP (Modified Substitute Last Digit in Pixel)

Keywords Medical scans, PSNR, MSE, wavelet, image compression.

International Journal of Advance Engineering and Research Development CONTRAST ENHANCEMENT OF IMAGES USING IMAGE FUSION BASED ON LAPLACIAN PYRAMID

Image Compression Based on Multilevel Adaptive Thresholding using Meta-Data Heuristics

VISUAL ARTIFACTS INTERFERENCE UNDERSTANDING AND MODELING (VARIUM)

Blur Detection for Historical Document Images

Image Denoising using Filters with Varying Window Sizes: A Study

Templates and Image Pyramids

DEVELOPMENT OF LOSSY COMMPRESSION TECHNIQUE FOR IMAGE

Keywords Secret data, Host data, DWT, LSB substitution.

Subband Analysis of Time Delay Estimation in STFT Domain

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

Performance Evaluation of H.264 AVC Using CABAC Entropy Coding For Image Compression

Detection of Image Forgery was Created from Bitmap and JPEG Images using Quantization Table

FIBER OPTICS. Prof. R.K. Shevgaonkar. Department of Electrical Engineering. Indian Institute of Technology, Bombay. Lecture: 22.

Improvement of Classical Wavelet Network over ANN in Image Compression

Analysis and Improvement of Image Quality in De-Blocked Images

A POSTPROCESSING TECHNIQUE FOR COMPRESSION ARTIFACT REMOVAL IN IMAGES

A JPEG CORNER ARTIFACT FROM DIRECTED ROUNDING OF DCT COEFFICIENTS. Shruti Agarwal and Hany Farid

EEL 6562 Image Processing and Computer Vision Box Filter and Laplacian Filter Implementation

A New Scheme for No Reference Image Quality Assessment

Implementation of SYMLET Wavelets to Removal of Gaussian Additive Noise from Speech Signal

Module 6 STILL IMAGE COMPRESSION STANDARDS

International Conference on Advances in Engineering & Technology 2014 (ICAET-2014) 48 Page

Comparative Analysis of Lossless Image Compression techniques SPHIT, JPEG-LS and Data Folding

Evaluation of Visual Cryptography Halftoning Algorithms

Lossless Huffman coding image compression implementation in spatial domain by using advanced enhancement techniques

Analysis on Color Filter Array Image Compression Methods

Raster Based Region Growing

Digital Audio Watermarking With Discrete Wavelet Transform Using Fibonacci Numbers

Evaluation of image quality of the compression schemes JPEG & JPEG 2000 using a Modular Colour Image Difference Model.

ABSTRACT I. INTRODUCTION

Subjective evaluation of image color damage based on JPEG compression

Lecture Outline. Data and Signals. Analogue Data on Analogue Signals. OSI Protocol Model

Fig 1: Error Diffusion halftoning method

Forgery Detection using Noise Inconsistency: A Review

Efficient Image Compression Technique using JPEG2000 with Adaptive Threshold

An Efficient Color Image Segmentation using Edge Detection and Thresholding Methods

ANALYSIS OF JPEG2000 QUALITY IN PHOTOGRAMMETRIC APPLICATIONS

Sensors & Transducers 2015 by IFSA Publishing, S. L.

APPLYING EDGE INFORMATION IN YCbCr COLOR SPACE ON THE IMAGE WATERMARKING

Image Compression Technique Using Different Wavelet Function

Image Processing Final Test

DIGITAL IMAGE PROCESSING Quiz exercises preparation for the midterm exam

Image Filtering. Median Filtering

Steganography & Steganalysis of Images. Mr C Rafferty Msc Comms Sys Theory 2005

MODIFIED DCT BASED SPEECH ENHANCEMENT IN VEHICULAR ENVIRONMENTS

A New Image Steganography Depending On Reference & LSB

Templates and Image Pyramids

PRIOR IMAGE JPEG-COMPRESSION DETECTION

Keywords Fuzzy Logic, ANN, Histogram Equalization, Spatial Averaging, High Boost filtering, MSE, RMSE, SNR, PSNR.

Recommendation ITU-R BT.1866 (03/2010)

Discrete Wavelet Transform For Image Compression And Quality Assessment Of Compressed Images

SSIM based Image Quality Assessment for Lossy Image Compression

Image Processing Computer Graphics I Lecture 20. Display Color Models Filters Dithering Image Compression

Transcription:

Objective Evaluation of Edge Blur and Artefacts: Application to JPEG and JPEG 2 Image Codecs G. A. D. Punchihewa, D. G. Bailey, and R. M. Hodgson Institute of Information Sciences and Technology, Massey University, New Zealand Email: g.a.punchihewa@massey.ac.nz Abstract This paper presents a method of objective evaluation of the edge blur and ringing artefacts produced by image codecs. It is difficult to detect and measure individual artefacts in coded images. A synthetic test image is developed to separate and measure edge blur and ringing artefacts due to image compression. The influence of pixel intensity gradient on the quality metrics is investigated, the test image has also been optimised to enhance sensitivity. The performance of five JPEG and JPEG2 codec implementations is compared. All five codecs show an increasing level of artefacts with increasing compression ratio. Different implementations of a codec have different artefact characteristics. The objective quality measures can be used in the image codec development process and in parameter optimisation of codec performance. These metrics can also be used to select suitable parameters for video codecs such as MPEG-, MPEG-2 and MPEG-4 while creating video streams for the Internet applications and in any multimedia application in general. Keywords: Blur, ringing, artefacts, objective assessment, image quality, quality metric Introduction In digital television broadcasting, video streaming and other multimedia communications, image and video are the dominant components. With limited communication bandwidth and storage capacity in terminal devices, it is necessary to reduce data rates using digital codecs. The techniques and quantisation used in image and video compression codecs introduce distortions known as artefacts. The Digital Fact Book defines artefacts as particular visible effects, which are a direct result of some technical limitation []. Artefacts are generally not evaluated by traditional methods of signal evaluation. For instance, the visual perception of contouring in a picture cannot be related to signal-to-noise ratio []. High levels of compression result in undesirable spurious features and patterns in the reconstructed image; these are the artefacts defined above. Image compression schemes such as JPEG use the techniques of discrete cosine transform (DCT), block processing and quantisation. JPEG2 uses wavelet transformation and quantisation. Figure shows some of the resulting artefacts, namely blur, ringing and blockiness in coded images [2]. When the original signal is not fully known, quantifying artefacts is difficult. In particular, it is difficult to isolate the specific artefacts. However, other researchers have developed quality metrics based on non-referenced or reduced reference techniques [3, 4]. They are good for in-service measurements and as estimates. If the original image is unknown it is often difficult to determine the presence and extent of artefacts. Image codec development, parameter tuning and benchmarking all require availability of more accurate and swifter measurements. This can be achieved by using synthetic images having known spatial distributions of pixel values designed to emphasise the artefacts to be assessed. The study, concentrates primarily on two coding artefacts, namely edge blur and ringing. Edge-blur, ringing and blockiness Figure. Example of Blur and resulting from JPEG codec at high compression ratio. 6

2 Objective Quality metrics Peak signal-to-noise ratio (PSNR) and mean square error (MSE) are commonly used as objective quality measures. They are not good indicators of artefacts present since PSNR and MSE are a global pixel error calculations, which do not detect artefacts separately. Yao et al. presented a blurring distortion measure based on the full reference approach and computed the correlation between the original and error image edges [5]. However the method does not distinguish blur and ringing which in general may occur concurrently. The authors have already developed objective quality metrics and synthetic test images for evaluation of blockiness and colour bleeding artefacts [6, 7]. A search of the literature did not reveal any objective quality metric for ringing or edge blur using synthetic test images. 3 Methodology The aim of this research was to make use the concentric circles synthetic test image to evaluate the performance of JEPG and JPEG2 codecs. The test image has been designed such that the spatial distribution of pixel values will emphasise edge blur and ringing artefacts due to codec operation [6]. Many image compressors have a control parameter, the quality factor, that can be set by the user to adjust the compression ratio. In general the lower the quality factor the higher the compression ratio and the more visible artefacts become. At low compression ratios, the artefacts may not be obvious or apparent to the human eye. 3. Definition of Quality metrics always occurs at edges and blur generally occurs at edges. Since we are concerned with the blur occurring at edge, the rest of this paper concentrates on edge blur. is an undesirable visible effect around edges. Many codecs transform the pixel values into the frequency domain where the transformed coefficients are then quantised. Quantisation errors resulting from this approach give rise to ringing around sharp discontinuities in the image. A sharp edge contains components at all frequencies. Any change in the relative amplitudes of any of the components will result in ripples in the image with amplitude corresponding to the error. As a result of energy compaction in a codec, small high frequency components get quantised to zero. This loss of high frequency components leads to blur in the reconstructed image. Blur area Original step edge Figure 2. and edge blur at an edge of a onedimensional signal. and edge blur are defined in Figure 2. We define the region between the first crossings on each side of the edge transition as the edge blur region. Outside of this, from the start of the first overshoot on each side, the errors are classified as ringing. To obtain a measure of edge blur, consider the shaded area in Figure 2. The greater the blur, the larger will be the shaded area. By dividing the area by the step height h, a measure of average blur width can be obtained. In a similar manner, the area between the ringing signal and ideal signal provides a measure of the severity of ringing. The measures can be normalised by dividing the average measures by the number of edge pixels N. With sampled data, an ideal step edge would involve a transition between two pixels, as illustrated by the circles in Figure 3. The crosses in Figure 3 are the pixel values near the edge of the reconstructed image from a codec. The transition involves many pixels and pixel values may oscillate around each level of pixel values. The edge blur and ringing quality metrics may therefore quantified as, Error blur _ region Edge _ blur = () N h 62

Step height = h Region of Region of Ideal transition edge Error Figure 3. and ringing for one-dimensional sampled data. Circles represent original pixel value and cross represent reconstructed pixel value. = ringing _ region N h Error (2) In 2-D images, edges may appear at any orientation. Therefore we consider edge blur and ringing perpendicular to the edge under consideration. By summing the separate errors of individual artefacts over whole image and normalising by the number of edge pixels and step size as given in equations () and (2), we can obtain a measure of edge blur and ringing per edge pixel. 3.2 Design of the test signal To test for edge blur and ringing it is necessary to have step edges within the image. These should include edges of all orientations in order to detect any orientation sensitivity inherent in the codec. A circular pattern contains edges of every orientation. Initially, pixel values of 64 and 92 have been chosen on either side of the boundary, so that after reconstruction there is adequate amplitude margin to allow for ringing in the reconstructed image. To allow for more edges and resulting error pixels, concentric circles have been incorporated (see Figure 4a and 4b). The spacing has been chosen as a prime number (for example, a spacing of 29) so that if block processing is used, the edges fall at different places within the blocks. The synthetic test image has been designed to emphasise visible edge blur and ringing artefacts. The pixel values and the shape of the pattern have been carefully chosen so that the algorithm could detect coding artefacts completely and adequately. 63

and. A general observation is that with increasing quality factor, edge blur and ringing demonstrated similar trend of rapid decrease with increasing step height, and decrease in absolute values over the decreasing quality factors. The Figure 5 and Figure 6 show the metrics evaluated on a JPEG codec at a quality factor of 2. 8 7 6 Édge blur 5 4 3 Figure 4(a). Original concentric circles synthetic test image 2 5 5 2 25 Step height Figure 5: The variation of with step height for a JPEG codec at quality factor of 2. 8 7 6 5 4 3 2 Figure 4(b). Reconstructed concentric circles synthetic test image with blur and ringing artefacts at edges 4 Results The quality metrics were evaluated by applying the synthetic test image described in the previous section. A JPEG codec was tested at a range of step heights. A set of five JPEG and JPEG2 codecs were tested at a range of compression ratios. 4. Impact of step height on edge blur and ringing The loss of high frequency components results in ringing around discontinuities and a spread of the transition region. The variation of edge blur and ringing were investigated under different step heights by evaluating the quality metrics for a quality factor of 2 using a JPEG codec. This experiment was repeated for many quality factor values between 5 5 2 25 Step height Figure 6: The variation of ringing with step height for a JPEG codec at quality factor of 2. It was observed that ringing errors are not monotonic because of a threshold effect. As the step height is changed, the dominant components move from one quantisation band to another, with consequent differences in the level of ringing. The low step heights resulted in smaller errors, however, because of quantisation, these errors become more significant relative to the step height. Therefore, when normalised, the results become almost random. When averaged over the whole image these results in the large measures seen. At the other end, for very high steps, there is inadequate range available to adequately represent the ringing in reconstructed values. Hence 64 and 92 were set as suitable pixel intensities of the synthetic concentric test image. 64

4.2 Performance comparison of JPEG and JPEG2 codecs It is observed that ringing and edge blur tend to increase with increasing compression ratio. This is evident in Figures 7 to 2. and codec 3 perform with similar objective quality where as codec introduces the same level of artefacts as codec 2 and 3 at much lower compression ratios. Hence for a given degree of artefacts, and 3 could yield higher level of compression (approximately four fold increase than JPEG codec ) as shown in Figure 7 and Figure 8. At some compression levels, ringing errors may actually reduce for higher compression depending on exactly where quantisation levels fall..9 ringing artefact introduced by codec 2 decreases in Figure because of severe quantisation..9.8.7.6.5.4.3.2. JPEG2 codec JPEG2 codec 2 4 7 3 6 Figure 9: Comparison of two JPEG2 codecs for edge blur against compression ratio..8.7 JPEG codec JPEG codec 3.6.5.4.3.2..2.8.6 JPEG2 codec JPEG2 codec 2 2 Figure 7: Comparison of three JPEG codecs for edge blur against compression ratio..4.4.2 4 7 3 6 Figure : Comparison of two JPEG2 codecs for ringing against compression ratio..2 JPEG codec JPEG codec 3.9.8.6.8.7.6 JPEG2 codec 2.4.2 2 Figure 8: Comparison of three JPEG codecs for ringing against compression ratio. Figure 9 and Figure show the edge blur and ringing resulted from two JPEG2 codecs. Both implementations are similar in relation to edge blur. At high compression ratio JPEG2 codec performs better. At maximum compression, the.5.4.3.2. 5 9 3 7 Figure : Comparison of JPEG and JPEG2 codecs for edge blur against compression ratio. 65

.4.2.8.6.4.2 JPEG2 codec 2 5 9 3 7 Figure 2: Comparison of JPEG and JPEG2 codecs for edge blur vs. compression ratio. Figures and 2 compare the JPEG and JPEG2 codecs from a single codec developer. The JPEG2 codec resulted in a lower level of ringing and blur than the JPEG codec, resulting in better picture quality. 5. Conclusions and ringing are an undesirable visible effect found around edges of reconstructed, digitally coded images. In this paper an objective performance comparison of several JPEG and JPEG2 codecs for edge blur and ringing artefacts is presented. The approach is based on a known test pattern and measurements of the strength of each artefact in the spatial domain. The quality metrics are good representation of artefacts and are swift to calculate. The two measures clearly distinguish between the two artefacts. The concentric circles test image was designed with knowledge of the specific mechanisms and weaknesses inherent in transform coding. The concentric circles test image can be used to evaluate edge and ringing produced by either block based or wavelet based codecs. and ringing were present in reconstructed images from both types of codecs. For low compression ratios, both JPEG and JPEG2 codecs perform similarly. Based on the concentric circles test image, it is observed that edge blur and ringing decrease with increasing step height. Thus pixel intensities need to be set in the synthetic image such that the reconstructed image enables measurable quantities for the metric values. The optimised concentric circles test image resulted in increases in edge blur and ringing with increasing compression ratio. The higher the level of compression, the higher the loss of each of high frequency components of the frequency transforms. Since video codecs use wavelets or DCT for intraframe coding, the synthetic test image and the two quality metrics described here can also be applied to evaluate the performance of video codecs. The concentric circles test image is proved to be useful over a wide range of compressions (compression ratio of 2 to 5). The test image has been designed and optimized with knowledge of the specific mechanisms and weaknesses inherent in compression algorithms. At very high compression ratios other artefacts such as blockiness and global blur become prominent. The authors intend to perform further research to investigate the applicability of the concentric circles test image for global blur and to develop a new quality metric for global blur. 6. References [] B. Pank, The Digital Fact Book. Berkshire: Quantel Limited, 22, p. 28. [2] A. Punchihewa and D. G. Bailey, Artefacts in Image and Video Systems; Classification and Mitigation, Proceedings of Image and Vision Computing New Zealand 22, pp. 97-22, 22. [3] A. Punchihewa, D. G. Bailey and R. M. Hodgson, A Survey of Coded Image and Video Quality Assessment, Proceedings of Image and Vision Computing New Zealand 23, pp. 326-33, 23. [4] M.C.Q Farias, M. S Moore, J. M Foley, and S. K.Mitra, Detectability and Annoyance of Synthetic Block and Blurry Video Artefacts, Proceedings of XI European Signal Processing Conference, France, 2. [5] S. Yao, W. Lin, Z. Lu. EP. Ong and M. Etoh, Objective Quality Assessment for Compressed Video, Proceedings of the International Symposium on Circuits and Systems,, PP. 688-69, 23. [6] A. Punchihewa, D. G. Bailey and R. M. Hodgson, Objective Quality Assessment of Coded Images: The Development of New Quality Metrics, Proceedings of Internet, Telecommunication Conference, Adelaide, Australia, pp-6,24. [7] A. Punchihewa, D. G. Bailey, and R. M. Hodgson, The Development of a Novel Image Quality Metric and a Synthetic Colour Test Image for Objective Quality Assessment of Digital Codecs, This paper has been accepted for publication by IEEE TENCON 25 Telecommunication Conference, Melbourne, Australia, 2-23 November 25. 66