HYBRID LOSSLESS-LOSSY COMPRESSION OF INDUSTRIAL RADIOGRAPHS. Ajai Narayan and Tenkasi V. Ramabadran

Similar documents
Topic 5 Image Compression

Image Compression Algorithm and JPEG Standard

Digital Image Representation Image Compression

7.5 Dictionary-based Coding

Multimedia Communications. Transform Coding

IMAGE COMPRESSION. Chapter - 5 : (Basic)

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

MRT based Fixed Block size Transform Coding

IMAGE COMPRESSION USING HYBRID QUANTIZATION METHOD IN JPEG

A Image Comparative Study using DCT, Fast Fourier, Wavelet Transforms and Huffman Algorithm

AN ANALYTICAL STUDY OF LOSSY COMPRESSION TECHINIQUES ON CONTINUOUS TONE GRAPHICAL IMAGES

GENERAL AUTOMATED FLAW DETECTION SCHEME FOR NDE X-RAY IMAGES

5.1 Introduction. Shri Mata Vaishno Devi University,(SMVDU), 2009

Rate Distortion Optimization in Video Compression

IMAGE COMPRESSION. Image Compression. Why? Reducing transportation times Reducing file size. A two way event - compression and decompression

IMAGE PROCESSING (RRY025) LECTURE 13 IMAGE COMPRESSION - I

( ) ; For N=1: g 1. g n

Image Compression - An Overview Jagroop Singh 1

DCT Based, Lossy Still Image Compression

Image compression. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Image Transformation Techniques Dr. Rajeev Srivastava Dept. of Computer Engineering, ITBHU, Varanasi

IMAGE COMPRESSION TECHNIQUES

ROI Based Image Compression in Baseline JPEG

Lecture 5: Compression I. This Week s Schedule

A NEW ENTROPY ENCODING ALGORITHM FOR IMAGE COMPRESSION USING DCT

University of Mustansiriyah, Baghdad, Iraq

IMAGE COMPRESSION USING HYBRID TRANSFORM TECHNIQUE

HYBRID IMAGE COMPRESSION TECHNIQUE

International Journal of Advanced Research in Computer Science and Software Engineering

Reversible Wavelets for Embedded Image Compression. Sri Rama Prasanna Pavani Electrical and Computer Engineering, CU Boulder

Image Coding and Data Compression

HYBRID TRANSFORMATION TECHNIQUE FOR IMAGE COMPRESSION

Statistical Image Compression using Fast Fourier Coefficients

CS 335 Graphics and Multimedia. Image Compression

JPEG Compression Using MATLAB

Wavelet Based Image Compression Using ROI SPIHT Coding

2014 Summer School on MPEG/VCEG Video. Video Coding Concept

Optimization of Bit Rate in Medical Image Compression

Digital Image Processing

Performance analysis of Integer DCT of different block sizes.

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

Introduction ti to JPEG

Priyanka Dixit CSE Department, TRUBA Institute of Engineering & Information Technology, Bhopal, India

Modified SPIHT Image Coder For Wireless Communication

Source Coding Techniques

Audio-coding standards

A New Lossy Image Compression Technique Using DCT, Round Variable Method & Run Length Encoding

JPEG: An Image Compression System

Image Error Concealment Based on Watermarking

Comparative Study of Partial Closed-loop Versus Open-loop Motion Estimation for Coding of HDTV

[Singh*, 5(3): March, 2016] ISSN: (I2OR), Publication Impact Factor: 3.785

CoE4TN4 Image Processing. Chapter 8 Image Compression

A Comparative Study of DCT, DWT & Hybrid (DCT-DWT) Transform

A Modified SVD-DCT Method for Enhancement of Low Contrast Satellite Images

FRACTAL IMAGE COMPRESSION OF GRAYSCALE AND RGB IMAGES USING DCT WITH QUADTREE DECOMPOSITION AND HUFFMAN CODING. Moheb R. Girgis and Mohammed M.

EFFICIENT DEISGN OF LOW AREA BASED H.264 COMPRESSOR AND DECOMPRESSOR WITH H.264 INTEGER TRANSFORM

IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 6, NO. 11, NOVEMBER

Medical Image Compression using DCT and DWT Techniques

A HYBRID DPCM-DCT AND RLE CODING FOR SATELLITE IMAGE COMPRESSION

Efficient Image Compression of Medical Images Using the Wavelet Transform and Fuzzy c-means Clustering on Regions of Interest.

Three Dimensional Motion Vectorless Compression

A new predictive image compression scheme using histogram analysis and pattern matching

Lecture 8 JPEG Compression (Part 3)

IMAGE CODING USING WAVELET TRANSFORM, VECTOR QUANTIZATION, AND ZEROTREES

1.Define image compression. Explain about the redundancies in a digital image.

3. (a) Prove any four properties of 2D Fourier Transform. (b) Determine the kernel coefficients of 2D Hadamard transforms for N=8.

LOSSY COLOR IMAGE COMPRESSION BASED ON QUANTIZATION

Differential Compression and Optimal Caching Methods for Content-Based Image Search Systems

Lossless Image Compression having Compression Ratio Higher than JPEG

Haar Wavelet Image Compression

CMPT 365 Multimedia Systems. Media Compression - Image

Image and Video Coding I: Fundamentals

A Parallel Reconfigurable Architecture for DCT of Lengths N=32/16/8

CHAPTER 9 INPAINTING USING SPARSE REPRESENTATION AND INVERSE DCT

SIGNAL COMPRESSION. 9. Lossy image compression: SPIHT and S+P

NOVEL TECHNIQUE FOR IMPROVING THE METRICS OF JPEG COMPRESSION SYSTEM

PSD2B Digital Image Processing. Unit I -V

Sparse Transform Matrix at Low Complexity for Color Image Compression

THE TRANSFORM AND DATA COMPRESSION HANDBOOK

Use of Local Minimization for Lossless Gray Image Compression

Image and Video Coding I: Fundamentals

Available online at ScienceDirect. Procedia Computer Science 89 (2016 )

06/12/2017. Image compression. Image compression. Image compression. Image compression. Coding redundancy: image 1 has four gray levels

IT Digital Image ProcessingVII Semester - Question Bank

Module 8: Video Coding Basics Lecture 42: Sub-band coding, Second generation coding, 3D coding. The Lecture Contains: Performance Measures

JPEG: An Image Compression System. Nimrod Peleg update: Nov. 2003

International Journal of Research in Computer and Communication Technology, Vol 4, Issue 11, November- 2015

Video Compression An Introduction

ECE 533 Digital Image Processing- Fall Group Project Embedded Image coding using zero-trees of Wavelet Transform

An introduction to JPEG compression using MATLAB

IMAGE COMPRESSION SYSTEMS A JPEG PERSPECTIVE

Research on Distributed Video Compression Coding Algorithm for Wireless Sensor Networks

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

Copyright Warning & Restrictions

An Analytical Review of Lossy Image Compression using n-tv Method

Image and Video Compression Fundamentals

Interactive Progressive Encoding System For Transmission of Complex Images

Shape-VQ-based lossless hybrid ADPCM/DCT coder

Source Coding Basics and Speech Coding. Yao Wang Polytechnic University, Brooklyn, NY11201

Audio-coding standards

Transcription:

HYBRID LOSSLESS-LOSSY COMPRESSION OF INDUSTRIAL RADIOGRAPHS Ajai Narayan and Tenkasi V. Ramabadran Department of Electrical and Computer Engineering Center for Nondestructive Evaluation Iowa State University Ames, IA 50011 INTRODUCTION Image data compression provides a means for efficient storage and transmission of digitized industrial radiographs and can result in significant cost savings when the amount of data involved is large. Image compression methods are generally classified into two categories: lossless and lossy. In lossless compression, the image data are compressed in such a way that exact reconstruction of the original images is possible. But, the compression factors obtained are generally low and image dependent i.e., they cannot be fixed. In lossy compression, some amount of distortion is introduced in the reconstructed images. The compression factors are however larger and can be fixed irrespective of the activity levels of the images. One way to exploit the advantages of both categories of methods is to segment an image into noncritical and critical portions, compress the noncritical portion using a lossy method to a high degree (with some loss of information) and the critical portion losslessly (without any loss in information). Such a hybrid approach can achieve a high overall compression factor while reconstructing the critical portion of the image exactly. The variability in the achievable compression factor is also reduced by this approach as compared to that of lossless methods. Of course, the hybrid approach is feasible only in situations where the images are amenable to segmentation into noncritical and critical portions. In this paper, we report on the application of the above hybrid approach for the compression of industrial radiographs. The radiographs were obtained from Martin Marietta Corporation and include welded sections of space shuttle fuel tanks for nondestructive inspection of weld quality. In each radiograph the weld bead forms the critical portion of the image and accounts for 20-25% of the data. An automatic segmentation algorithm was used to partition the radiograph into critical and noncritical portions. The critical portion was compressed using a lossless method based on Walsh-Hadamard Transform (WHT). Two different lossy methods were used to compress the noncritical portion, one based on Discrete Cosine Transform (DCT) and the other based on Differential Pulse Code Modulation (DPCM) and Vector Quantization (VQ). Review o[ Progress in Quantitative Nondestructive Evaluation, Vol. 11 Edited by D.O. Thompson and D.E. Chimenti, Plenum Press, New York, 1992 757

In the next section we briefly describe the lossless compression method. The two lossy compression methods are then discussed in the subsequent section. In the last section, the results of compression experiments performed on two typical radiographs are given. COMPRESSION OF CRITICAL AREAS A detailed description of the method used to compress the critical portion of a radiograph losslessly can be found in [1]. We provide a brief account of the method here. The given image is first decorrelated by dividing it into blocks of 8x8 and applying Walsh-Hadamard transform to each block. Further decorrelation is achieved by predicting each coefficient within a transformed block using the corresponding coefficients in the neighboring blocks and forming the prediction error. A source model with several contexts and the arithemetic coding technique are then used to compress the decorrelated image pixels. The contexts of the source model are selected based on the position of a transform coefficient within a block and its predicted value. Statistics under each context are estimated by using the cumulative adaptive approach. Since the decorrelation and the statistics gathering operations are causal, the decompressor can build a model identical to that of the compressor and recover the original image pixels exactly. COMPRESSION OF NONCRITICAL AREAS All compression algorithms exploit the high degree of correlation that exists between adjacent pixels of an image. This means that the probability of any given pixel having an intensity similar to those in the immediate neighborhood is extremely high. The intensity value of any pixel can therefore be predicted with reasonable accuracy based on the intensity va lues of the neighboring pixels. This implies that transmission or storage of images in their original form is inefficient. In order to improve the efficiency of image representation, the redundant information in the pixels due to interpixel correlation has to be removed. In the frequency domain, interpixel correlation exhibits itself as high energy low-frequency components. Masking of highfrequency components will therefore reduce the information content of an image only marginally. This is particularly true in case of industrial radiographs which are characterized by large sections of uniform intensity pixels. We consider here two different techniques for decorrelating the noncritical portion of an image, one that uses Discrete Cosine Transform -- frequency domain approach, and the other that uses Differential Pulse Code Modulation -- spatial domain approach. Frequency Domain Approach The schematic block diagram of the DCT based compression method is shown in Fig.l. The image is first partitioned into contiguos blocks of dimension NxN, e.g.,16x16 or 8x8. The DCT is then applied to each of these blocks separately and the resulting transform coefficients are quantized. The number of levels of quantization used (i.e., the number of bits allocated) for each coefficient depends on its energy. Some low energy coefficients which are typically high-frequency components are allocated zero bits, i.e., they are simply discarded. The quantized 758

coefficients in coded representation form the compressed data. In decompressing the image, the quantized coefficients are inverse transformed (IDCT) block by block to obtain an approximation to the original image. The loss of information in the quantization process causes the distortion in the reconstructed image. The DCT and IDCT of an image block can be defined respectively as [2] F C f Ct (1 ) f C F Ct (2) where f C [ ckn is the NxN image block in the spatial domain, ] is the transform matrix, Ct is the transpose of C, and F is the frequency domain representation of f. The elements of C are defined as: k=o, O:5;n :5;N-l..J(2/N) cos [x (2n+1) k/2n] 1:5; k :5; N-1, 0 :5; n :5; N-1 (3) The optimum allocation of bits to the different coefficients within a block is given by the expression [3] (4) where Ri R is the number of bits allocated to the ith coefficient, is the average number of bits per coefficient, cri2 is the variance of the ith coefficient, and 1/N2 (TIcr 2 J,) j is the geometric mean of the coefficient variances. INPUT PARTITION DISCRETE IMAGE INTO eosine IMAGE BLOCKS TRANSFORM - BIT ALLOCATION' TABLE r-- ~ BANK OF erahnel CHANNEL HONLINEAR SYMBOL QUANTIZERS ENCOOER SYMBOLS RECONST. IMAGE COMBlNE INVERSE BANK OF ehannel erahnel BLOCKS ~ DIS. COS DEQUANTIZERS f-- SYMBOL TRANSFORM DECODER SYMBOLS, BIT ALLOCATION TABLE Fig,l Frequency domain approach 759

The coefficient variances can be estimated from the transformed data of some typical images. The desired compression factor determines the value of R. The use of (4) in computing the number of bits allocated to a coefficient typically results in areal (i.e., noninteger) quantity. An iterative procedure based on (4) that allocates integer numbers of bits to coefficients has been described in [4J. This procedure was used to build bit allocation tables employed by both the compressor and decompressor. Spatial Domain Approach In the spatial domain approach, removal of interpixel correlation is mainly achieved through causal linear prediction, i.e., prediction of the current pixel value using the intensity information of a finite number of preceding pixels. Due to high interpixel correlation, such a prediction will be reasonably accurate and a significant amount of data compression can be achieved by quantizing only the error between the actual value of the pixel and its predicted value. This compression can be further enhanced by vector quantizing the error values instead of using simple scalar quantization. Vector quantization (vq) is a technique in which parameters are quantized in a group rather than as isolated quantities. In the present context, the parameters are the error values which result from the application of the DPCM algorithm to the input image. According to Rate Distortion theory, VQ should inherently provide a better performance than scalar quantization [5J. Fig.2 shows the schematic block diagram of the DPCM based compression method. The image is first partitioned into contiguous blocks of dimension NxN, e.g., 4x4. Each image block is then compared with reconstructed blocks obtained using vectors of error values from a codebook and the linear prediction algorithm. The mean squared error (MSE) between the image block and the reconstructed blocks is calculated. The index of the codebook vector that results in a minimum MSE is transmitted as the channel symbol. In decompressing the image, the codebook vector corresponding to the received index and the linear prediction algorithm are used to reconstruct the correponding image block. PREDICTOR IMAGE VECTORS CODE BOOK VECTORS + + CHANNEL SYMBOLS RECONSTRUCTED IMAGE CHANNEL SYMBOLS PREDICTOR cone BOOK VECTORS Fig.2 Spatial domain approach 760

The prediction equation used in the DPCM algorithm and the resulting error value can be expressed as and u[i,j] = a.u[i-l,j] + b.u[i,j-l] - c.u[i-l,j-l] (5) e [i, j] u[i,j] - u[i,j] (6) where u[i,j] is the actual pixel value at the ith row & the jth column, u[i,j] is the predicted pixel value, u[i,j] is the reconstructed pixel value, e[i,j] is the actual prediction error, and a,b and c are the multiplier weights. The reconstruction of an image pixel is accomplished by u[i,j] = u[i,j] + e[i,j] (7) where e[i,j] is the (vector)quantized value of e[i,j]. The codebook of quantized error vectors was obtained by applying the weil known LBG algorithm [6] to blocks of actual error values. EXPERIMENTAL RESULTS AND DISCUSSION The proposed hybrid approach to image compression was evaluated experimentallyon several digitized industrial radiographs. The images used were of size 1024xl024 with gray levels ranging from 0-2047 corresponding to 11 bit quantization. It was observed in these radiographs that the critical areas accounted for about 20-25% of the total area while 75-80% was made up of noncritical background areas. The noncritical areas were subjected to lossy compression with two different compression factors(16 & 32) and two different block sizes(8x8 & l6x16) in the frequency domain approach. A compression factor of 24 and a block size of 4x4 were used in the spatial domain approach. It was observed in general that the frequency domain approach resulted in very good reconstructions under subjective evaluation but was not favourable under objective evaluation (SNR). The spatial domain approach, from a strictly objective point of view was superior (and more time eonsuming) than the frequaney domain approach. The compression results obtained for two typical radiographs are shown in the Table I. The noncritical areas of these images were compressed using a eompression factor of 16 and a block size of 8x8 in the frequency domain approach and using a compression factor of 24 in the spatial domain approach. The critical areas were compressed losslessly using the WHT based method. The original and reconstructed versions of these images are shown in Fig.3. ACKNOWLEDGEMENTS This work was supported by Martin Marietta manned space systems, New Orleans, Lousiana, under contract No.BQ: Marietta/A7l44. All radiographie images for the experiments were obtained from MMC. 761

Fig. 3. (a) Original image 1024 x 1024, (b) DCT reconstruction Compression ratio critical - 2.56:1, noncritical - 16:1, (c) DPCMVQ reconstruction Compression r ation critical -2.56:1, noncritical - 24:1. 'l'able I IMAGE % area Comp.factor Overall SNR (critical (lossless Comp. factor (noncritical) portions) method) DCT(16:1) DPCM (24: 1) DCT DPCM roi24 20.3 2.56 10.7 13.1 40.21 34.14 roi10 26.6 2.78 9.3 10.9 46.65 38.25 762

REFERENCES 1. K.Chen, T.V.Ramabadran, "Reversible Compression of NDE Images through Hybrid Decorrelation and Arithemetic Coding", Review of Progress in Quantitative NDE, Vol 10A, pp 805-812, 1991. 2. N.Ahmed, T.Natarajan, K.R.Rao, "Discrete Cosine Transforrns", IEEE Trans. Computer Vol. C-23, pp 90-93: Jan. 1974. 3. N.S.Jayant, P.M.Noll, "Digital Coding of Waveforms", Prentice Hall, Englewood Cliffs. 1984. 4. Anil K.Jain, "Introduction to Digital Image Processing", Prentice Hall, Englewood Cliffs. 1986. 5. N.M.Nasrabadi, "Use of Vector Quantizers in Image Coding", IEEE ASSP Vol. 36, pp 125-132, April 1984. 6. Y.Linde, A.Buzo, R.M.Gray, "An Algorithm for Vector Quantizer Design" IEEE Trans. on Comm., Vol. Com-28, pp 84-95, Jan. 1980. 763