a vq-based blind image restoration algorithm - …barner/courses/eleg675/papers...1044 ieee...

10
1044 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 9, SEPTEMBER 2003 A VQ-Based Blind Image Restoration Algorithm Ryo Nakagaki, Member, IEEE, and Aggelos K. Katsaggelos, Fellow, IEEE Abstract—In this paper, learning-based algorithms for image restoration and blind image restoration are proposed. Such algorithms deviate from the traditional approaches in this area, by utilizing priors that are learned from similar images. Original images and their degraded versions by the known degradation operator (restoration problem) are utilized for designing the VQ codebooks. The codevectors are designed using the blurred images. For each such vector, the high frequency information obtained from the original images is also available. During restoration, the high frequency information of a given degraded image is estimated from its low frequency information based on the codebooks. For the blind restoration problem, a number of codebooks are designed corresponding to various versions of the blurring function. Given a noisy and blurred image, one of the codebooks is chosen based on a similarity measure, therefore providing the identification of the blur. To make the restoration process computationally efficient, the Principal Component Analysis (PCA) and VQ-Nearest Neighborhood approaches are utilized. Simulation results are presented to demonstrate the effectiveness of the proposed algorithms. Index Terms—Blur identification, compression, image restora- tion, vector quantization. I. INTRODUCTION I N MANY practical situations, a recorded image presents a noisy and blurred version of an original scene. The image degradation process can be adequately modeled by a linear blur and an additive noise process. Then the degradation model is described by [1] (1) where the vectors , and represent, respectively, the lex- icographically (raster scan) ordered noisy blurred image, the original image, and the noise, and the matrix is the linear degradation process. The image restoration problem calls for obtaining an estimate of given and . For the blind restora- tion problem, is not known. A large number of techniques exist for both the restoration problem (for a recent review see [2], [3]) and the blur identifica- tion and restoration problem (for a recent review see [4] and [5]). The image restoration problem is an ill-posed problem. There- fore, a common ingredient in all restoration approaches is that prior information is used in order to restrict the number of pos- sible solutions (basic idea of regularization). Such prior knowl- Manuscript received April 4, 2002; revised February 28, 2003. The associate editor coordinating the review of this manuscript and approving it for publica- tion was Dr. Robert D. Nowak. R. Nakagaki is with the Production Engineering Research Laboratory, Hi- tachi, Ltd., Yokohama, 244-0817, Japan (e-mail: [email protected]). A. K. Katsaggelos is with the Department of Electrical and Computer En- gineering, Northwestern University, Evanston, IL, 60208-3118 USA (e-mail: [email protected]). Digital Object Identifier 10.1109/TIP.2003.816007 edge can be stochastic (i.e., the original image is a sample of a random field) or deterministic (the high frequency energy of the restored image is bounded) in nature. Regularization theory is also applied to the blind restoration problem. In this paper, a different approach is developed toward both the restoration and the blind restoration problems. Such a (non- traditional) approach is based on the work of Sheppard et al. [6], [7], Freeman and Pasztor [8], Baker and Kanade [9], and Pan- chapakesan et al. [10]. The basic idea in such an approach is that the prior knowledge required for solving various (inverse) problems can be learned from training data, i.e., set of proto- type images belonging to the same (statistical) class of images with the ones to be processed. This idea was applied in [6] to the image restoration problem, in [7] to the super-resolution problem, by designing in both cases vector quantizers (VQ), in [8] to scene estimation (motion estimation and resolution enhancement) combined with Bayesian methods to propagate local measurement information, in [9] to the super-resolution problem, and in [10] to the blur identification problem. In this paper, we develop an image restoration algorithm and a blind image restoration algorithm following this approach of learning information about the images to be restored from training data. The proposed algorithms differ from the reported results in the literature in a number of ways. VQ codebooks, for example, are designed from a different point of view than is previously reported in the literature. In the proposed approach, each codevector to be used for the restoration problem contains both the low frequency information of the degraded image and the corresponding high frequency information of the original image. As another example, the sets of codebooks designed for the blind restoration problem are using bandpass frequency information of the degraded images as opposed to the lowpass information used for the blur identification problem in [10]. As a last example, the computational efficiency of the proposed algorithms is also addressed by designing multiple codebooks based on the local structure of the image, and then compressing each of them by Principal Component Analysis (PCA) [11] and Vector Quantization—Nearest Neighbor (VQ-NN) [12]. The paper is organized as follows: The basic idea of the proposed restoration algorithm is presented in Section II. Approaches to address the computational efficiency of the algorithm are presented in Section III. The blind restoration algorithm is presented in Section IV. Experimental results for the restoration and the blind restoration problems are presented and discussed in Section V. Finally Section VI concludes the paper. II. PROPOSED IMAGE RESTORATION ALGORITHM In this paper, we deal with the case when the degradation system is linear and spatially invariant, and has typically 1057-7149/03$17.00 © 2003 IEEE

Upload: trandien

Post on 23-Mar-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

1044 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 9, SEPTEMBER 2003

A VQ-Based Blind Image Restoration AlgorithmRyo Nakagaki, Member, IEEE,and Aggelos K. Katsaggelos, Fellow, IEEE

Abstract—In this paper, learning-based algorithms for imagerestoration and blind image restoration are proposed. Suchalgorithms deviate from the traditional approaches in this area,by utilizing priors that are learned from similar images. Originalimages and their degraded versions by the known degradationoperator (restoration problem) are utilized for designing theVQ codebooks. The codevectors are designed using the blurredimages. For each such vector, the high frequency informationobtained from the original images is also available. Duringrestoration, the high frequency information of a given degradedimage is estimated from its low frequency information based onthe codebooks. For the blind restoration problem, a number ofcodebooks are designed corresponding to various versions of theblurring function. Given a noisy and blurred image, one of thecodebooks is chosen based on a similarity measure, thereforeproviding the identification of the blur. To make the restorationprocess computationally efficient, the Principal ComponentAnalysis (PCA) and VQ-Nearest Neighborhood approaches areutilized. Simulation results are presented to demonstrate theeffectiveness of the proposed algorithms.

Index Terms—Blur identification, compression, image restora-tion, vector quantization.

I. INTRODUCTION

I N MANY practical situations, a recorded image presents anoisy and blurred version of an original scene. The image

degradation process can be adequately modeled by a linear blurand an additive noise process. Then the degradation model isdescribed by [1]

(1)

where the vectors, and represent, respectively, the lex-icographically (raster scan) ordered noisy blurred image, theoriginal image, and the noise, and the matrixis the lineardegradation process. The image restoration problem calls forobtaining an estimate of given and . For the blind restora-tion problem, is not known.

A large number of techniques exist for both the restorationproblem (for a recent review see [2], [3]) and the blur identifica-tion and restoration problem (for a recent review see [4] and [5]).The image restoration problem is an ill-posed problem. There-fore, a common ingredient in all restoration approaches is thatprior information is used in order to restrict the number of pos-sible solutions (basic idea of regularization). Such prior knowl-

Manuscript received April 4, 2002; revised February 28, 2003. The associateeditor coordinating the review of this manuscript and approving it for publica-tion was Dr. Robert D. Nowak.

R. Nakagaki is with the Production Engineering Research Laboratory, Hi-tachi, Ltd., Yokohama, 244-0817, Japan (e-mail: [email protected]).

A. K. Katsaggelos is with the Department of Electrical and Computer En-gineering, Northwestern University, Evanston, IL, 60208-3118 USA (e-mail:[email protected]).

Digital Object Identifier 10.1109/TIP.2003.816007

edge can be stochastic (i.e., the original image is a sample of arandom field) or deterministic (the high frequency energy of therestored image is bounded) in nature. Regularization theory isalso applied to the blind restoration problem.

In this paper, a different approach is developed toward boththe restoration and the blind restoration problems. Such a (non-traditional) approach is based on the work of Sheppardet al.[6],[7], Freeman and Pasztor [8], Baker and Kanade [9], and Pan-chapakesanet al. [10]. The basic idea in such an approach isthat the prior knowledge required for solving various (inverse)problems can be learned from training data, i.e., set of proto-type images belonging to the same (statistical) class of imageswith the ones to be processed. This idea was applied in [6] tothe image restoration problem, in [7] to the super-resolutionproblem, by designing in both cases vector quantizers (VQ),in [8] to scene estimation (motion estimation and resolutionenhancement) combined with Bayesian methods to propagatelocal measurement information, in [9] to the super-resolutionproblem, and in [10] to the blur identification problem.

In this paper, we develop an image restoration algorithm anda blind image restoration algorithm following this approachof learning information about the images to be restored fromtraining data. The proposed algorithms differ from the reportedresults in the literature in a number of ways. VQ codebooks,for example, are designed from a different point of view than ispreviously reported in the literature. In the proposed approach,each codevector to be used for the restoration problem containsboth the low frequency information of the degraded image andthe corresponding high frequency information of the originalimage. As another example, the sets of codebooks designedfor the blind restoration problem are using bandpass frequencyinformation of the degraded images as opposed to the lowpassinformation used for the blur identification problem in [10]. Asa last example, the computational efficiency of the proposedalgorithms is also addressed by designing multiple codebooksbased on the local structure of the image, and then compressingeach of them by Principal Component Analysis (PCA) [11] andVector Quantization—Nearest Neighbor (VQ-NN) [12].

The paper is organized as follows: The basic idea of theproposed restoration algorithm is presented in Section II.Approaches to address the computational efficiency of thealgorithm are presented in Section III. The blind restorationalgorithm is presented in Section IV. Experimental results forthe restoration and the blind restoration problems are presentedand discussed in Section V. Finally Section VI concludes thepaper.

II. PROPOSEDIMAGE RESTORATIONALGORITHM

In this paper, we deal with the case when the degradationsystem is linear and spatially invariant, and has typically

1057-7149/03$17.00 © 2003 IEEE

NAKAGAKI AND KATSAGGELOS: VQ-BASED BLIND IMAGE RESTORATION ALGORITHM 1045

Fig. 1. High- and low-pass filtered images.

low-pass characteristics. In this case, matrix is a block circulantmatrix. Such a degradation model is useful for a number ofapplications and is widely used to model, for example, uniformout-of-focus blur and blur due to motion and atmosphericturbulence in astronomical imaging [3].

A. Representation of High and Low Frequency Components ofan Image

Qualitatively speaking, the objective of image restoration isto recover the high frequency information in an image that wasremoved by the low-pass degradation system. Therefore, in fol-lowing a learning approach to restoration, the mapping betweenlow- and high-frequency information in an image needs to beestablished during training. During restoration the low-frequen-cies in the available noisy and blurred data are mapped with theuse of a codebook to high frequencies, which when added to theavailable data provide an estimate of the original image.

In designing the codebook, a straightforward decompositionof an image into low- and high-frequency components is firstperformed. That is, if matrix represents a low-pass operator,an image can be written as

(2)

where is the identity matrix, and andare respectively the low and the high-frequency com-

ponents of .Fig. 1 presents an example when a one-dimensional Gaussian

function is used as the response of degradation system; theimpulse response, the magnitude of the low- and high-frequencyfilters, and the corresponding low- and high-frequency parts ofan image, are shown. A mapping can therefore be definedbetween a low- and a high-frequency neighborhood in an image,that is,

(3)

With this mapping, (2) can be rewritten as follows

(4)

Fig. 2. Graphical representation of the proposed restoration algorithm.

According to (4), therefore, if the mapping is available,only the low frequency information of the image is required toget an approximation of the original one. Specifying is theobjective of the off-line training process.

B. Restoration Model

Having defined a mapping between high and low frequen-cies, the objective now is to utilize such a mapping to the restora-tion of noisy and blurred images, described by (1). The noisepresent in (1) needs first to be taken into account in devel-oping the restoration filter. Assuming that the noise is broad-band, dominating the image at high frequencies, we propose tofirst use a low-pass filter to filter the data. That is, from (1)

(5)

By using (4) and (5), the original image can be approxi-mated according to

(6)

where the mapping is defined by

(7)

According to (6), the original image can be approximatelyexpressed by the sum of (the low-pass filtered version ofthe available data) and (the corresponding high-fre-quency information). The restored image therefore is given by

(8)

An important point to be made here is that the result of therestoration does not depend critically on the characteristics of

(as long as it provides a satisfactory approximation accordingto (5)), since the mapping is a function of . , however,needs to be known during training and restoration.

Fig. 2 shows graphically the steps involved in the proposedimage restoration algorithm. The algorithm consists of twoparts: i) the off-line codebook design part and ii) the on-line

1046 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 9, SEPTEMBER 2003

restoration part. The codebook is designed with the use ofprototype images and their degraded versions. The degradedimages used for the design of the database and the ones thathave to be restored are assumed to be degraded by the samedegradation system. In addition, the same low-pass filteris used for noise smoothing during the off-line and the on-linestages.

To perform the restoration based on (8), the mapping hasto be determined in advance. In doing so, we exploit the localstructure of an image. Prototype images that belong to the sameimage class as the degraded image are utilized. The left half ofFig. 2 shows the procedure used to design the codebook. First,prototype image pairs are collected from a certain class of im-ages of interest. A pair consists of an original image and itsdegraded version , according to (1), with ,and the number of pairs. Secondly, the low-pass versions ofthe degraded images are obtained by processingwith .

has to be chosen according to the noise characteristics. Thehigh frequency component of the original images is obtainednext by calculating the difference between the original images

and the low-pass filtered degraded images , which isapproximately equal to . A region then in is as-sociated with the pixel at the center of the corresponding regionin the image. This chosen region in the low-pass fil-tered image is a square region, for example a 77 square, whichis transformed into a zero-mean region by subtracting from eachpixel value the local mean value. This is done in order to takethe contrast offset among prototype images into consideration.The low-frequency vector values (resulting from the stacking ofthe pixels in the chosen region in ) and the correspondinghigh-frequency scalar form a vector in the codebook.

The estimation/restoration procedure is depicted in the righthalf of Fig. 2. The high frequency image is estimated usinga given image and the codebook. Our objective is to esti-mate the high frequency image and form the finalrestoration result . First, the low-pass versionof the given degraded image is obtained. has to be thesame as the one used in the codebook design procedure. Eachnormalized vector of , of the same size as in the codebook, isthen compared to the vectors in the codebook using a matchingcriterion (the least-mean-squared-error criterion was used in theexperiments). The corresponding high-frequency scalar value isthen used to construct the high-frequency information of theimage. The final restoration result is obtained by adding thelow-pass version of the given image and the estimated high fre-quency image, according to (8). It is noted here that althoughis assumed known and is explicitly utilized during the codebookdesign stage, its knowledge and structure are not explicitly re-quired during the restoration step.

III. CODEBOOK DESIGN FOREFFICIENT SEARCH

The quality of the restoration depends on the size of the code-book; that is, the larger the codebook size the more accuratethe result of the restoration. The size of the codebook clearlyimpacts the memory but also the searching time requirements.This is a common trade-off and drawback as encountered, forexample, in the NN (Nearest Neighborhood) pattern classifier.

Fig. 3. Voronoi diagram and representative vectors in theN�N dimensionalspace.

To address this drawback, we use three techniques, namely,designing multiple codebooks, Principal Component Analysis(PCA) and VQ-NN classification.

A. Multiple Codebook Creation Based On the Local ImageStructure

During the restoration procedure, each vector from the de-graded image has to be compared with vectors in the codebook.We can omit redundant comparisons by taking the local imagestructure into account. For example, when the local structurerepresents an edge of a certain orientation, it is obviously redun-dant to compare the resulting vector with vectors in the code-book that represent a flat region or an edge with a different ori-entation. This leads us to the design of multiple codebooks basedon the local image structure.

By representing each local image region as a vector inthe -dimensional space (Fig. 3), we can group similar vec-tors together. The -dimensional space is therefore dividedinto multiple regions by calculating the Voronoi diagram and thecentroid of each Voronoi region. The centroid of each Voronoiregion is a vector representing all vectors nearest to that cen-troid according to the distortion criterion in use. We used theLBG algorithm to calculate the Voronoi diagram [13]. It repre-sents a commonly used technique in VQ image compression toproduce the representatives from a large number of multidimen-sional point sets [14]. Partitioning the dimensional space bya Voronoi diagram is also used by the image restoration tech-nique developed by Barneret al. [15].

The vectors in each divided region are further quantized bythe VQ-NN technique as explained later. This two-step vectorquantization is related to tree-structured VQ [14].

B. Dimensionality Reduction by PCA

The dimensionality of the analysis window and the cor-responding vector clearly determines the codebook storage re-quirements, as well as the speed for searching the database andperforming matching calculations. In our algorithm, Principal

NAKAGAKI AND KATSAGGELOS: VQ-BASED BLIND IMAGE RESTORATION ALGORITHM 1047

Component Analysis [11] was used for reducing the dimension-ality of the vectors. The dimensionality of the resulting vectorsis expected to be much smaller than that of the original onessince many of the block images are correlated. This data com-pression approach is aimed at the same objective as the encodingof the DCT coefficients in the restoration approach developedby Sheppardet al. [6], [7], and [10].

C. Codebook Compression Using VQ-NN

In order to reduce the time for performing the closestvector search, also a requirement in NN classification, severaltechniques have been developed, such as edited-NN [16],condensed-NN [17], Learning VQ [18], and others [12]. Thesetechniques aim at reducing the number of datasets or codewordswhile keeping the classification accuracy high. We adopt theVQ-NN approach developed by Xieet al. [12]. In the proposedalgorithm, the high frequency pixel value in the codebook istreated as the label. VQ is subsequently applied to all vectorswith the same label, using the LBG algorithm. In this sense, weuse VQ in a hierarchical way.

The VQ-NN algorithm adapted by the proposed algorithm isbriefly described next (in the following we useto representthe total number of labels and the term “codeword” to describethe pair of a low-frequency vector and a high-frequency scalar.)

1) The number of codewords for each label is calculated.

2) The number of codewords in the compressed codebooksfor each label, , is calculated according to

(9)

where is the specified total number of codewords.Equation (9) implies that the larger the number of labels

, the larger the number of codewords in the com-pressed codebook.

3) For each label, a codewords of size is designed usingthe LBG algorithm [13]. We used the Euclidian distanceas a distortion measure.

The restoration algorithm with the compressed database isgraphically illustrated in Fig. 4. First, an initial codebook, con-sisting of the entire vector and scalar set is created, as shown inFig. 2. Next, Voronoi representative vectors are calculated fromthe entire vector data. Their number has to be set in advance;the value of 32 was successfully used, by taking into account 8edge directions, 2 edge amplitudes (strong/weak edges), and 2edge frequencies (high/low). After that, each vector in the ini-tial codebook is compared with all the representative vectorsand the closest one is selected. By doing this, the entire datasetis divided into 32 groups and a codebook is created for each ofthem. Each codebook is compressed by PCA and VQ-NN.

For the on-line part, the extracted vector from the low-passfiltered degraded image is compared with the representa-tive vector (centroid) for each of the 32 codebooks, and one ofthem is selected. The dimensionality of the vector used for thesearch is . Next, the dimensionality of the local vectorfrom is reduced to the same size of the codevector resultingfrom PCA, by using the same rotation matrix used in the off-line

Fig. 4. Graphical representation of the restoration algorithm with compressedmultiple codebooks.

PCA. The resulting vector is used for finding the closest vectorin the codebook. The corresponding high frequency value of theselected codevector is assigned as the value of the center pixelof the estimated high frequency image. The final restoration re-sult is obtained by adding the estimated high-frequency imageto the available low-pass version of the given image .

IV. PROPOSEDBLIND IMAGE RESTORATIONALGORITHM

The approach presented in Sections II and III for imagerestoration (i.e., when the blur is exactly known), is extendedhere to include the blur identification problem. The basicadditional element of the approach is that codebooks of imagesblurred by the same type of blur, but with different degrees ofseverity, are generated. For example, we assume that the im-pulse response of the degradation system is a two-dimensionalzero-mean Gaussian function, in which case the severity of thedegradation is determined by the variances of the Gaussian.The quality of the restoration results clearly depends on theassumption that the type of the blur function (not its exactdescription) is known. If, however, the codebooks of blurredimages are designed using blurs different than the actual oneused to provide the available data, the closest approximation ofthe actual blur will be identified (for example, the pill-box func-tion which generates the most similar data to the ones generatedby the Gaussian function will be identified). The VQ-basedblur identification approach we propose has similarities to theapproach developed independently by Panchapakesan,et al.[10]. There are a number of differences, however, between thetwo approaches, which will be mentioned in the following.

We assume that we have a set of blur functions each param-eterized by their parameter vector . M bluridentification codebooks (henceforth called blur identificationcodebooks -BIC-) are designed using each blur function. It ismentioned here that this codebook (BIC) is different from theone proposed for image restoration explained in Sections III(henceforth called restoration codebook -RC-).

In designing the BICs, only mid-range frequency informationis used. This is based on the following two facts: (i) flat (low-fre-

1048 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 9, SEPTEMBER 2003

Fig. 5. Block diagram of the design of the blur identification codebook(BIC ).

Fig. 6. Block diagram of the proposed blur identification and restorationapproach.

quency) regions in the blurred image convey little or no infor-mation about the blur function, since they remain unchangedby the blurring operation; (ii) high frequencies in the blurredimage also contain little differentiating information among thedifferent blur functions because they are considerably attenu-ated by the low-pass blurring operation and in addition they aredominated by noise. The following steps are followed in the de-sign of each codebook as depicted in Fig. 5.

1) The original images are blurred by the blur function pa-rameterized by .

2) The blurred prototype images are band-pass filtered. Theband-pass filter is designed according to the characteris-tics of the blurring function, so that the pass band includesthe frequency range over which the blur functions exhibitthe largest differences.

3) The nonflat regions of each blurred image are detected.Various techniques can be used to accomplish this task.In our implementation we used the local variance as ameasure of the local activity. A predefined threshold wasused for the classification of flat and nonflat regions.

4) Only the vectors extracted from the band-pass filteredimage that belong to nonflat regions are used for the cre-ation of the codebook. The LGB algorithm with the Eu-clidian distance was used.

After the BICs are designed, they are used for the identifi-cation of the blur and the restoration of the image as shown inFig. 6. Given a degraded image, the distortionfor each code-book is calculated as follows.

1) The available blurred image is band-pass filtered by thesame band-pass filter used in the codebook design.

2) Non-flat regions in the given image are detected by thesame method outlined in step 3 of the codebook designprocedure.

3) For each nonflat region, the closest codevector in thecodebook to the one extracted from the band-pass filteredavailable blurred image is selected and the distortion(Euclidian distance) is stored.

4) The mean value of the distortion over all nonflat regionsis calculated.

The codebookwith the minimum mean distortion is selectedto best represent the available blurred data. The blur functionused to generate codebookis identified as the blur that gave riseto the available blurred data. If the actual blur is not representedexactly by any of the codebooks, the blur that generates blurreddata closest to the available ones is identified. The restorationcodebook designed by the chosen blur function is subse-quently used for the restoration of the available blurred image.The use of only the nonflat regions of the band-pass filtered im-ages for the design of the blur identification codebook, is one ofthe differences between the proposed approach and the one in[10]. The idea of using different codebooks for blur identifica-tion has similarities with the weighted universal VQ-compres-sion technique by Effroset al. [19].

V. EXPERIMENTAL RESULTS

Several experiments have been performed in studying the ef-fectiveness of the proposed algorithms. In this section, we firstdescribe some of the experimental results obtained with the pro-posed image restoration algorithm in Section II, and then someof the experimental results obtained with the proposed blur iden-tification algorithm in Section IV.

A. Image Restoration Algorithm

In our experiments, we dealt with images degraded bythe Gaussian degradation function and additive zero-meanGaussian noise. The Gaussian degradation function is expressedas follows:

(10)

where is a normalizing constant ensuring that the blur isof unit volume and is the variance. We experimented withvalues of equal to 1.5 and 3.5 and two levels of noise re-sulting in values of blurred SNR (BSNR) of 20 and 10 dB. TheBSNR in dB for an image is defined by

(11)

where and are respectively the blurring function and theoriginal image, shown in (1), is the expected value of thedegraded image and the variance of the noise.

For comparison, we present restoration results obtained bythe Constrained Least Squares (CLS) filter. This is a widelyused linear restoration technique [1]–[3], [19]. A 33 Lapla-cian filter is used to implement the CLS filter and the regular-

NAKAGAKI AND KATSAGGELOS: VQ-BASED BLIND IMAGE RESTORATION ALGORITHM 1049

Fig. 7. (a) Gaussian Blur Function(variance = 1:5); (b) Original image; (c) Degraded image,BSNR = 20 dB; (d) Degraded image,BSNR = 10 dB; (e)Restored image of (c) by proposed algorithm,(ISNR = 2:91 dB); (f) Restored image of (d) by proposed algorithm(ISNR = 3:06 dB); (g) Restored image of(c) by CLS algorithm (regularizationparameter = 0:05, ISNR = 2:46 dB); (h) Restored image of (d) by CLS algorithm (regularizationparameter = 0:1,ISNR = 0:87 dB).

ization parameter is chosen as the reciprocal of the BSNR of theobserved image. The choice of 1/BSNR can be justified throughthe set-theoretic formulation of the problem, where the loosebounds on the constraints we try to satisfy are the noise vari-ance and the high frequency signal variance [20].

Two types of images are used for the experimental results re-ported here. The first image is an 8 bit/pixel, 128128 pixels,copper image taken by SEM (Scanning Electron Microscope). Aspecial feature of these images is their edge structure in variousdirections. The second type is an 8 bit/pixel, 256256 pixels,natural image (Lena), which is often used for the evaluation ofimage-processing algorithm. As a quantitative metric of the per-formance of the restoration algorithm, we used the improvementin SNR (ISNR) defined by

(12)

where , and are the original, restored anddegraded images, respectively. Although the ISNR metric re-flects the global properties of the restoration and may not fullyreflect the subjective improvement of the image quality, it isuseful for providing an objective means to measure and com-pare the quality of the results.

Case I: Copper Images:Figs. 7 and 9 show the restorationresults for the copper images, for the Gaussian blur functionwith variance 1.5 and 3.5, respectively. In the experiment, a7 7 local window was used for the extraction of the vec-tors and 256 codewords were used for each of the multiplecodebooks. As a noise-smoothing filter , a 2-D Gaussian

smoothing filter with variance equal to 0.5 was used. Thisvalue of the variance proved experimentally to provide the bestresults, although the performance of the algorithm did not varydramatically for small changes of the variance.

Fig. 7(a) shows the Gaussian blur function with variance of1.5. Fig. 7(b) shows the original image, and Fig. 7(c) and (d)the simulated degraded images with and 10dB, respectively. Fig. 7(e) and (f) show the restoration resultsby the proposed algorithm, while Fig. 7(g) and (h) the resultsby the CLS filter.

In the restored image by the proposed method shown inFig. 7(e) and (f), most of the sharp edges are well restored.Noise components on the bright flat region are well removedand no noise amplification is visible. The reason why someedges are not well restored is most probably that there areno similar edges in the images used for the codebook design[Fig. 8(a)]. On the other hand, in the result obtained bythe CLS algorithm [Fig. 7(g) and (h)] artifacts caused bynoise amplification are visible, especially in the flat regions.Noise amplification is severe especially for the case with

[Fig. 7(h)]. The ISNR values of the resultsobtained by the proposed method are 2.91 dB and 3.06 dB for

and 10 dB, respectively. Both these valuesare better than those obtained by the CLS filter (2.46 dB and0.87 dB ), respectively. From this experiment it is clear that theproposed approach performs considerably better than the CLSapproach, especially for low BSNRs.

Fig. 8(a) shows the copper images used for the codebookdesign. The simulated degraded versions of these images arecalculated by the same degradation system by which the givenimage is corrupted and these pairs are used for the design of the

1050 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 9, SEPTEMBER 2003

Fig. 8. (a) Images used for the codebook design. (b) The 32 representative vectors calculated by the LBG algorithm.

Fig. 9. (a) Gaussian Blur Function(variance = 3:5). (b) Original image. (c) Degraded image,BSNR = 20 dB. (d) Degraded image,BSNR = 10 dB. (e)Restored image of (c) by proposed algorithm (ISNR = 3:04 dB). (f) Restored image of (d) by proposed algorithm (ISNR = 2:85 dB). (g) Restored image of(c) by CLS algorithm (regularizationparameter = 0:05, ISNR = 3:18 dB). (h) Restored image of (d) by CLS algorithm (regularizationparameter = 0:1,ISNR = 1:47 dB).

codebooks. Fig. 8(b) shows the 32 representative vectors cal-culated by the LBG algorithm for the Gaussian blur functionwith variance equal to 1.5 and . Each blockimage is of size 7 7 pixels. The contrast of these block imagesis enhanced for viewing purposes. These representative blocksconsist of various edges of different directions, amplitudes, andfrequency. Vertical edges are over-represented in this set sincethey are dominant in the prototype images.

We examined the effect of the codebook compression quan-titatively. For the image shown in Fig. 7(e), 90% of the energyis preserved by PCA, and the dimensionality of the vector wasreduced from to around 5. The number of code-words for each codebook was equal to 256. By utilizing the threecompression techniques described in Section III, the restorationspeed increased by a factor of 1200, while the ISNR of the re-stored image decreased slightly from 3.61 [dB] to 2.91 [dB].

NAKAGAKI AND KATSAGGELOS: VQ-BASED BLIND IMAGE RESTORATION ALGORITHM 1051

Fig. 10. (a) Original image. (b) Degraded image (Gaussian with variance equal to 2.5,BSNR = 20 dB). (c) Restored image by proposed algorithm(ISNR =0:95 dB). (d) Restored image by CLS algorithm (regularizationparameter = 0:05, ISNR = 1:93 dB).

A similar set of restoration results is shown in Fig. 9 whena Gaussian blur of variance equal to 3.5 is used (shown inFig. 9(a)). For the case, most of the edgesare recovered by the proposed method (Fig. 9(e)). On thecontrary, the result by the CLS filter (Fig. 9(g)) suffers fromnoise amplification. For the case, noise ampli-fication is strongly visible in the result by the CLS algorithm(Fig. 9(h)). Although, the result by the proposed method doesnot suffer from noise amplification, parts of the straight edgesare not well restored as expected. The ISNR values of theresults obtained by the proposed method are 3.04 and 2.85 dBfor and 10 dB, respectively. These values aresimilar or higher than those obtained with the CLS algorithm(3.18 dB and 1.47 dB ), respectively.

Case II: Natural Images:Fig. 10 shows restoration resultsfor the Lena image. Fig. 10(a) and (b) show the original and

degraded images, respectively. The blur function is a Gaussianwith variance equal to 2.5 and . Fig. 10(c)and (d) show the restored images by the proposed method andthe CLS algorithm, respectively. In this experiment we used animage of a chair, a car, and a house for training. Although finetexture regions, such as Lena’s hair, and the feathers of the hatare not well-restored, sharp edges in the image, such as the con-tour of the face and the rim of the hat, are well restored by theproposed method. We believe this is due to the following tworeasons: (i) Sharp edges are present in the prototype images usedfor codebook design, but fine textures are not. (ii) Some fine tex-ture information, such as, hair and feathers, is lost by quantiza-tion during the codebook design procedure. The CLS algorithmproduces good results for the fine texture region area, although,noise amplification in the flat regions such as, the cheek and theforehead, is strongly visible. This shows that the result by the

1052 IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 12, NO. 9, SEPTEMBER 2003

Fig. 11. Mean distortiond between a given degraded image and the blur identification codebook(BIC). The variance� of the Gaussian blur function resultingin the degraded data is equal to: (a) 1.5, (b) 2.5, (c) 3.5, (d) 4.5, and (e) 5.5.

proposed method may look perceptually better than the CLS al-gorithm even though the ISNR of the restored image by the pro-posed method is equal to 0.95 dB and it is lower than that of theCLS algorithm, which is equal to 1.93 dB.

B. Blur Identification Algorithm

In this subsection, we show experimental results obtained bythe proposed blur identification algorithm. In these experiments,we assume that the blur function is Gaussian and is parameter-ized by as shown in (10). Our objective is to identify the vari-ance of the Gaussian function for a given degraded image.

The images used for designing the blur identification code-book (BIC) are the same ones shown in Fig. 8(a). We used fivecodebooks, each of them designed using the images degraded bythe Gaussian function with equal to .The image in Fig. 7(b) is also degraded by the 5 Gaussian func-tions. To see the effect of noise on the blur identification al-gorithm, we performed three groups of experiments, in whichthe blurred image is contaminated by noise with(noise-free), 30 dB and 20 dB. As a band pass filter for the BICcodebook design, we used the Laplacian of Gaussian (LOG)filter given by

(13)

By changing the variance of the LOG filter, the frequency re-sponse of the bandpass filter changes. For our experiment, weset .

Fig. 11 shows the relationship between the calculated meandistortion value in Fig. 6, for a given degraded image andthe blur identification codebook for 3 noise levels. The graphs

(a)–(e) correspond to the cases where the blur parameter of agiven blurred image is equal to , 2.5, 3.5, 4.5 and 5.5,respectively. In each graph, the-axis shows the distortion be-tween the given image and the BIC, and the-axis shows theof the blurred image used for the blur identification codebook(BIC) design. We can see that in all cases the larger the noisepower, the larger the distortion. The plots in Fig. 11 demonstratethe existence of a minimum point. This means that we can iden-tify the correct parameter by selecting the codebook with theminimum distortion.

Another experiment was carried out by assuming that the blurfunction is a pillbox function, which is parameterized by theradius according to

ifotherwise.

(14)

The obtained results demonstrate that the same trend asshown in Fig. 11 and that the correct blurring parameterwas identified by selecting the codebook with the minimumdistortion. For both cases, the accuracy of the identificationresult does not seem to depend on the noise power.

VI. CONCLUSIONS

In this paper, we developed a VQ-based image restoration al-gorithm and a blind restoration algorithm. In the image restora-tion algorithm, the mapping between high frequency informa-tion of the original images and low frequency information of thecorresponding degraded ones is established and stored in the VQcodebooks, using prototype images, belonging to the same classof images. During restoration, the high frequency information of

NAKAGAKI AND KATSAGGELOS: VQ-BASED BLIND IMAGE RESTORATION ALGORITHM 1053

a given degraded image is estimated from its low frequency in-formation based on the designed codebook. The codebook andthe parameters used for the codebook design namely the size ofthe local window, the noise-smoothing filter, and the PCA rota-tion matrix, are required for restoration.

In the blind restoration algorithm, a number of VQ code-books, each of them corresponding to a candidate blur functionare designed using bandpass filtered prototype images. By cal-culating the distortion between the given degraded image andeach codebook, the one with the minimum average distortion isselected. The blur function used to create the codebook is iden-tified as the unknown blur function.

Experimental results demonstrate that the proposed imagerestoration algorithm restores the sharp edges in the imagewithout suffering from noise amplification. The results alsoshow that the proposed blind restoration algorithm correctlyidentifies the blurring function.

The mapping between high and low frequencies can be imple-mented not only by VQ but also by other nonlinear estimationtechniques, such as ANN (Artificial Neural Network) and SVC(Support Vector Machine). These techniques may improve theperformance of the restoration algorithm in certain applications.

ACKNOWLEDGMENT

The authors wish to thank Prof. Young, Delft University ofTechnology, for his constructive suggestions and M. Sato, Hi-tachi High-Technologies Co., for providing image data.

REFERENCES

[1] H. C. Andrews and B. R. Hunt,Digital Image Restoration. New York:Prentice-Hall, 1977.

[2] A. K. Katsaggelos, Ed., “Springer series in information sciences,” inDigital Image Restoration. Heidelberg, Germany: Springer-Verlag,1991, vol. 23.

[3] M. R. Banham and A. K. Katsaggelos, “Digital image restoration,”IEEESignal Processing Mag., vol. 14, pp. 24–41, Mar. 1997.

[4] D. Kundur and D. Hatzinakos, “Blind image deconvolution,”IEEESignal Processing Mag., vol. 13, pp. 43–64, May 1996.

[5] , “Blind image deconvolution revised,”IEEE Signal ProcessingMag., vol. 13, pp. 61–63, Nov. 1996.

[6] D. G. Sheppard, A. Bilgin, M. S. Nadar, B. R. Hunt, and M. W. Mar-cellin, “A vector quantizer for image restoration,”IEEE Trans. ImageProcessing, vol. 7, pp. 119–124, Jan. 1998.

[7] D. G. Sheppard, K. Panchapakesan, A. Bilgin, B. R. Hunt, and M. W.Marcellin, “Lapped nonlinear interpolative vector quantization andimage super-resolution,”IEEE Trans. Image Processing, vol. 9, pp.295–298, Feb. 2000.

[8] W. Freeman and E. Pasztor, “Learning low-level vision,” inProc. 7thIEEE ICCV, 1999, pp. 1182–1189.

[9] S. Baker and T. Kanade, “Limits on super-resolution and how to breakthem,” in Proc. Computer Vision and Pattern Recognition 2000, 2000,pp. 372–379.

[10] K. Panchapakesan, D. G. Sheppard, M. W. Marcellin, and B. R. Hunt,“Blur identification from vector quantizer encoder distortion,”IEEETrans. Image Processing, vol. 10, pp. 465–470, Mar. 2001.

[11] A. Hyvärinen, J. Karhunen, and E. Oja,Independent Component Anal-ysis: Wiley-Interscience, 2001.

[12] Q. Xie, C. A. Laszlo, and R. K. Ward, “Vector quantization techniquefor nonparametric classifier design,”IEEE Trans. Pattern Anal. MachineIntell., vol. 15, pp. 1326–1330, Dec. 1991.

[13] Y. Linde, A. Buzo, and R. M. Gray, “An algorithm for vector quantizerdesign,”IEEE Trans. Commun., vol. COM-28, pp. 84–95, Jan. 1980.

[14] P. C. Cosman, K. L. Oehler, E. A. Riskin, and R. M. Gray, “Usingvector quantization for image processing,”Proc. IEEE, vol. 81, no. 9,pp. 1326–1341, September 1993.

[15] K. E. Barner, A. M. Sarhan, and R. C. Hardie, “Partition-Based weightedsum filters for image restoration,”IEEE Trans. Image Processing, vol.8, pp. 740–745, May 1999.

[16] P. A. Devijver and J. Kittler, “On the edited nearest neighbor rule,” inProc. 5th ICPR, 1980, pp. 72–80.

[17] P. E. Hart, “The condensed nearest neighbor rule,”IEEE Trans. Inform.Theory, vol. IT-14, pp. 515–516, 1968.

[18] T. Kohonen, “Learning vector quantization,”Neural Networks, vol. 1,no. Supplement 1, p. 303, 1988.

[19] M. Effros, P. A. Chou, and R. M. Gray, “Weighted universal image com-pression,”IEEE Trans. Image Processing, vol. 8, pp. 1317–1329, Oct.1999.

[20] A. K. Katsaggelos, J. Biemond, R. W. Schafer, and R. M. Mersereau, “Aregularized iterative image restoration algorithm,”IEEE Trans. Acoust,Speech, Signal Processing, vol. 5, pp. 619–634, Apr. 1996.

Ryo Nakagaki (M’95) received the B.E. and M.E.degrees in information systems engineering fromOsaka University, Osaka, Japan, in 1993 and 1995,respectively.

He joined the Production Engineering ResearchLaboratory, Hitachi, Ltd., in 1995, where he wasengaged in research on image processing for visualinspection systems. He was a Visiting ResearchScientist at the Department of Electrical and Com-puter Engineering, Northwestern University from2000 to 2001. His research interests include image

restoration, image classification, and statistical pattern recognition.

Aggelos K. Katsaggelos (F’98) received theDiploma degree in electrical and mechanicalengineering from the Aristotelian University ofThessaloniki, Thessaloniki, Greece, in 1979 and theM.S. and Ph.D. degrees both in electrical engineeringfrom the Georgia Institute of Technology, Atlanta, in1981 and 1985, respectively.

In 1985, he joined the Department of ElectricalEngineering and Computer Science at NorthwesternUniversity, Evanston, IL, where he is currently Pro-fessor, holding the Ameritech Chair of Information

Technology. He is also the Director of the Motorola Center for Communica-tions. During the 1986–1987 academic year, he was an Assistant Professor withthe Department of Electrical Engineering and Computer Science, PolytechnicUniversity, Brooklyn, NY. His current research interests include image andvideo recovery, video compression, motion estimation, boundary encoding,computational vision, and multimedia signal processing and communications.

Dr. Katsaggelos is an Ameritech Fellow, a member of the Associate Staff,Department of Medicine, at Evanston Hospital, and a member of SPIE. He isa member of the editorial boards of PROCEEDINGS OF THEIEEE, the MarcelDekker, Signal Processing Series,Applied Signal Processing, the ComputerJournal, and a member of the IEEE Technical Committees on Visual Signal Pro-cessing and Communications, and Multimedia Signal Processing. He has servedas an Associate Editor for the IEEE TRANSACTIONS ON SIGNAL PROCESSING

(1990–1992), an area editor for the journal Graphical Models and Image Pro-cessing (1992–1995), a member of the Steering Committees of the IEEE Trans-actions on Image Processing (1992–1997) and the IEEE TRANSACTIONS ON

MEDICAL IMAGING (1990–1999), a member of the IEEE Technical Committeeon Image and Multidimensional Signal Processing (1992–1998), the Board ofGovernors of the Signal Processing Society (1999–2001), the Publication Boardof the IEEE Signal Processing Society (1997–2002), the IEEE TAB MagazineCommittee (1997–2002), and editor-in-chief of theIEEE Signal ProcessingMagazine(1997–2002). He is the editor ofDigital Image Restoration(Berlin,Germany, Springer-Verlag, 1991), co-author of Rate-Distortion Based VideoCompression (Kluwer Academic Publishers, 1997), and co-editor of RecoveryTechniques for Image and Video Compression and Transmission, (Kluwer Aca-demic Publishers, 1998). He has served as the General Chairman of the 1994Visual Communications and Image Processing Conference (Chicago, IL), and astechnical program co-chair of the 1998 IEEE International Conference on ImageProcessing (Chicago, IL). He is the co-inventor of nine international patents, therecipient of the IEEE Third Millennium Medal (2000), the IEEE Signal Pro-cessing Society Meritorious Service Award (2001), and an IEEE Signal Pro-cessing Society Best Paper Award (2001).