avqbased94

Upload: dinesh-goyal

Post on 04-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 AVQBased94

    1/10

    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

    AbstractIn this paper, learning-based algorithms for image

    restoration 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 TermsBlur 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 imagedegradation 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 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 a

    random field) or deterministic (the high frequency energy of therestored 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-

    chapakesanet 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 QuantizationNearest 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 IMAGERESTORATIONALGORITHM

    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

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 8/13/2019 AVQBased94

    2/10

    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 circulant

    matrix. Such a degradation model is useful for a number ofapplications and is widely used to model, for example, uniform

    out-of-focus blur and blur due to motion and atmospheric

    turbulence in astronomical imaging [3].

    A. Representation of High and Low Frequency Components of

    an Image

    Qualitatively speaking, the objective of image restoration is

    to recover the high frequency information in an image that was

    removed by the low-pass degradation system. Therefore, in fol-

    lowing a learning approach to restoration, the mapping between

    low- and high-frequency information in an image needs to be

    established during training. During restoration the low-frequen-

    cies in the available noisy and blurred data are mapped with the

    use of a codebook to high frequencies, which when added to the

    available data provide an estimate of the original image.

    In designing the codebook, a straightforward decomposition

    of an image into low- and high-frequency components is first

    performed. That is, if matrix represents a low-pass operator,

    an image can be written as

    (2)

    where is the identity matrix, and and

    are 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 ; the

    impulse response, the magnitude of the low- and high-frequency

    filters, and the corresponding low- and high-frequency parts of

    an image, are shown. A mapping can therefore be defined

    between 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 the

    objective of the off-line training process.

    B. Restoration Model

    Having defined a mapping between high and low frequen-

    cies, theobjective now is to utilize such a mapping to therestora-

    tion of noisy and blurred images, described by (1). The noise

    present 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 to

    first 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 approximately

    expressed by the sum of (the low-pass filtered version of

    the 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 the

    restoration does not depend critically on the characteristics of

    (as long as it provides a satisfactory approximation according

    to (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 proposed

    image restoration algorithm. The algorithm consists of two

    parts: i) the off-line codebook design part and ii) the on-line

    http://-/?-http://-/?-
  • 8/13/2019 AVQBased94

    3/10

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

    restoration part. The codebook is designed with the use of

    prototype images and their degraded versions. The degraded

    images used for the design of the database and the ones that

    have to be restored are assumed to be degraded by the same

    degradation system. In addition, the same low-pass filter

    is used for noise smoothing during the off-line and the on-line

    stages.

    To perform the restoration based on (8), the mapping hasto be determined in advance. In doing so, we exploit the local

    structure of an image. Prototype images that belong to the same

    image class as the degraded image are utilized. The left half of

    Fig. 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 its

    degraded version , according to (1), with ,

    and the number of pairs. Secondly, the low-pass versions of

    the degradedimages are obtainedby processing with .

    has to be chosen according to the noise characteristics. The

    high frequency component of the original images is obtained

    next by calculating the difference between the original images

    and the low-pass filtered degraded images , which isapproximately e qual to . A region t hen i n is a s-

    sociated with the pixel at the center of the corresponding region

    in the image. This chosen region in the low-pass fil-

    tered image isa squareregion, for example a 7 7 square, which

    is transformed into a zero-mean region by subtracting from each

    pixel value the local mean value. This is done in order to take

    the contrast offset among prototype images into consideration.

    The low-frequency vector values (resulting from the stacking of

    the pixels in the chosen region in ) and the corresponding

    high-frequency scalar form a vector in the codebook.

    The estimation/restoration procedure is depicted in the right

    half of Fig. 2. The high frequency image is estimated using

    a given image and the codebook. Our objective is to esti-

    mate the high frequency image and form the final

    restoration r esult . F irst, t he l ow-pass v ersion

    of the given degraded image is obtained. has to be the

    same as the one used in the codebook design procedure. Each

    normalized vector of , of the same size as in the codebook, is

    then compared to the vectors in the codebook using a matching

    criterion (the least-mean-squared-error criterion was used in the

    experiments). The corresponding high-frequency scalar value is

    then used to construct the high-frequency information of the

    image. The final restoration result is obtained by adding the

    low-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 codebook

    design stage, its knowledge and structure are not explicitly re-

    quired during the restoration step.

    III. CODEBOOKDESIGN FOREFFICIENTSEARCH

    The quality of the restoration depends on the size of the code-

    book; that is, the larger the codebook size the more accurate

    the result of the restoration. The size of the codebook clearly

    impacts the memory but also the searching time requirements.

    This is a common trade-off and drawback as encountered, for

    example, in the NN (Nearest Neighborhood) pattern classifier.

    Fig. 3. Voronoi diagram and representative vectors in the 2 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 Image

    Structure

    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 image

    structure into account. For example, when the local structure

    represents 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 thedesign of multiplecodebooks based

    on the local image structure.

    By representing each local image region asa vector in

    the -dimensional space (Fig. 3), we can group similar vec-

    tors together. The -dimensional space is therefore divided

    into multiple regions by calculating theVoronoi diagram and the

    centroid of each Voronoi region. The centroid of each Voronoi

    region is a vector representing all vectors nearest to that cen-

    troid according to the distortion criterion in use. We used the

    LBG algorithm to calculate the Voronoi diagram [13]. It repre-

    sents a commonly used technique in VQ image compression to

    produce 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 Barner et al.[15].

    The vectors in each divided region are further quantized by

    the VQ-NN technique as explained later. This two-step vector

    quantization 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 and

    performing matching calculations. In our algorithm, Principal

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 8/13/2019 AVQBased94

    4/10

    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 vectors

    is expected to be much smaller than that of the original ones

    since many of the block images are correlated. This data com-

    pression approach is aimed at thesame objective as theencoding

    of the DCT coefficients in the restoration approach developed

    by Sheppardet al. [6], [7], and [10].

    C. Codebook Compression Using VQ-NN

    In order to reduce the time for performing the closest

    vector search, also a requirement in NN classification, several

    techniques have been developed, such as edited-NN [16],

    condensed-NN [17], Learning VQ [18], and others [12]. These

    techniques aim at reducing the number of datasets or codewords

    while keeping the classification accuracy high. We adopt the

    VQ-NN approach developed by Xieet al.[12]. In the proposed

    algorithm, the high frequency pixel value in the codebook is

    treated as the label. VQ is subsequently applied to all vectors

    with the same label, using the LBG algorithm. In this sense, we

    use VQ in a hierarchical way.

    The VQ-NN algorithm adapted by the proposed algorithm is

    briefly described next (in the following we use to represent

    the total number of labels and the term codeword to describe

    the 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 codebooks

    for 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 eachlabel , a codewords ofsize isdesigned using

    the LBG algorithm [13]. We used the Euclidian distance

    as a distortion measure.

    The restoration algorithm with the compressed database is

    graphically illustrated in Fig. 4. First, an initial codebook, con-

    sisting of the entire vector and scalar set is created, as shown in

    Fig. 2. Next, Voronoi representative vectors are calculated from

    the entire vector data. Their number has to be set in advance;the value of 32 was successfully used, by taking into account 8

    edge 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 vectors

    and the closest one is selected. By doing this, the entire dataset

    is divided into 32 groups and a codebook is created for each of

    them. Each codebook is compressed by PCA and VQ-NN.

    For the on-line part, the extracted vector from the low-pass

    filtered degraded image is compared with the representa-

    tive vector (centroid) for each of the 32 codebooks, and one of

    them is selected. The dimensionality of the vector used for the

    searchis . Next, the dimensionalityofthe local vector

    from is reduced to the same size of the codevector resulting

    from 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 the

    selected codevector is assigned as the value of the center pixel

    of the estimated high frequency image. The final restoration re-

    sult is obtained by adding the estimated high-frequency image

    to the available low-pass version of the given image .

    IV. PROPOSEDBLINDIMAGERESTORATIONALGORITHM

    The approach presented in Sections II and III for image

    restoration (i.e., when the blur is exactly known), is extended

    here to include the blur identification problem. The basic

    additional element of the approach is that codebooks of images

    blurred 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-dimensional

    zero-mean Gaussian function, in which case the severity of the

    degradation is determined by the variances of the Gaussian.

    The quality of the restoration results clearly depends on the

    assumption that the type of the blur function (not its exact

    description) is known. If, however, the codebooks of blurred

    images are designed using blurs different than the actual one

    used to provide the available data, the closest approximation of

    the actual blur will be identified (for example, the pill-box func-

    tion which generates the most similar data to the ones generated

    by the Gaussian function will be identified). The VQ-based

    blur identification approach we propose has similarities to theapproach developed independently by Panchapakesan, et al.

    [10]. There are a number of differences, however, between the

    two 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 blur

    identification codebooks (henceforth called blur identification

    codebooks -BIC-) are designed using each blur function. It is

    mentioned here that this codebook (BIC) is different from the

    one proposed for image restoration explained in Sections III

    (henceforth called restoration codebook -RC-).

    In designing the BICs, only mid-range frequency information

    is used. This is based on thefollowing two facts: (i)flat (low-fre-

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 8/13/2019 AVQBased94

    5/10

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

    Fig. 5. Block diagram of the design of the blur identification codebook .

    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 unchanged

    by the blurring operation; (ii) high frequencies in the blurred

    image 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 are

    dominated 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. The

    band-pass filter is designed according to the characteris-

    tics of the blurring function, so that the pass band includes

    the frequency range over which the blur functions exhibit

    the 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 a

    measure of the local activity. A predefined threshold was

    used for the classification of flat and nonflat regions.

    4) Only the vectors extracted from the band-pass filtered

    image 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 in

    Fig. 6. Given a degraded image, the distortion for each code-

    book is calculated as follows.

    1) The available blurred image is band-pass filtered by the

    same band-pass filter used in the codebook design.

    2) Non-flat regions in the given image are detected by the

    same method outlined in step 3 of the codebook design

    procedure.

    3) For each nonflat region, the closest codevector in the

    codebook to the one extracted from the band-pass filtered

    available blurred image is selected and the distortion(Euclidian distance) is stored.

    4) The mean value of the distortion over all nonflat regions

    is calculated.

    The codebook with the minimum mean distortion is selected

    to best represent the available blurred data. The blur function

    used to generate codebook is identified as the blur that gave rise

    to the available blurred data. If the actual blur is not represented

    exactly by any of the codebooks, the blur that generates blurred

    data closest to the available ones is identified. The restoration

    codebook 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 first

    describe some of the experimental results obtained with the pro-posed image restoration algorithm in Section II, and then someof theexperimental results obtained with theproposed 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 3 3 Lapla-cian filter is used to implement the CLS filter and the regular-

    http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-http://-/?-
  • 8/13/2019 AVQBased94

    6/10

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

    Fig. 7. (a) Gaussian Blur Function ; (b) Original image; (c) Degraded image, ; (d) Degraded image, ; (e)Restored image of (c) by proposed algorithm, ; (f) Restored image of (d) by proposed algorithm ; (g) Restored image of(c) by CLS algorithm (regularization , ); (h) Restored image of (d) by CLS algorithm (regularization , ).

    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, 128 128 pixels,copperimagetakenby SEM(Scanning Electron Microscope). Aspecial feature of these images is their edge structure in variousdirections. The second type is an 8 bit/pixel, 256 256 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 of

    1.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 by

    noise 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

    http://-/?-http://-/?-
  • 8/13/2019 AVQBased94

    7/10

    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 . (b) Original image. (c) Degraded image, . (d) Degraded image, . (e)Restored image of (c) by proposed algorithm ( ). (f) Restored image of (d) by proposed algorithm ( ). (g) Restored image of(c) by CLS algorithm (regularization , ). (h) Restored image of (d) by CLS algorithm (regularization , ).

    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 block image 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 foreach codebook wasequal 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].

  • 8/13/2019 AVQBased94

    8/10

    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, ). (c) Restored image by proposed algorithm . (d) Restored image by CLS algorithm (regularization , ).

    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 edges

    are 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 and

    the CLS algorithm, respectively. In this experiment we used animage of a chair, a car, and a house for training. Although finetexture regions, such as Lenas 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 arepresent 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

  • 8/13/2019 AVQBased94

    9/10

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

    Fig. 11. Mean distortion 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 five

    codebooks, 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 a

    given 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 the

    of 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 the

    radius according to

    if

    otherwise.(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 minimum

    distortion. 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 andstored in the VQcodebooks, using prototype images, belonging to the same classof images. During restoration, the high frequency information of

  • 8/13/2019 AVQBased94

    10/10

    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 function

    are 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 correctly

    identifies 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 of

    Technology, 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. Banhamand A.K. Katsaggelos,Digitalimagerestoration,IEEE

    Signal Processing Mag., vol. 14, pp. 2441, Mar. 1997.[4] D. Kundur and D. Hatzinakos, Blind image deconvolution, IEEE

    Signal Processing Mag., vol. 13, pp. 4364, May 1996.[5] , Blind image deconvolution revised, IEEE Signal Processing

    Mag., vol. 13, pp. 6163, 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. 119124, 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.295298, Feb. 2000.

    [8] W. Freeman and E. Pasztor, Learning low-level vision, in Proc. 7thIEEE ICCV, 1999, pp. 11821189.

    [9] S. Baker and T. Kanade, Limits on super-resolution and how to break

    them, inProc. Computer Vision and Pattern Recognition 2000, 2000,pp. 372379.

    [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. 465470, Mar. 2001.

    [11] A. Hyvrinen, 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 classifierdesign,IEEE Trans. Pattern Anal. Machine

    Intell., vol. 15, pp. 13261330, Dec. 1991.[13] Y. Linde, A. Buzo, and R. M. Gray, An algorithm for vector quantizer

    design,IEEE Trans. Commun., vol. COM-28, pp. 8495, Jan. 1980.[14] P. C. Cosman, K. L. Oehler, E. A. Riskin, and R. M. Gray, Using

    vector quantization for image processing, Proc. IEEE, vol. 81, no. 9,pp. 13261341, September 1993.

    [15] K. E. Barner, A. M. Sarhan, andR. C. Hardie, Partition-Based weightedsum filters for image restoration, IEEE Trans. Image Processing, vol.8, pp. 740745, May 1999.

    [16] P. A. Devijver and J. Kittler, On the edited nearest neighbor rule, inProc. 5th ICPR, 1980, pp. 7280.

    [17] P. E. Hart, The condensed nearest neighbor rule,IEEE Trans. Inform.Theory, vol. IT-14, pp. 515516, 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. 13171329, 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. 619634, Apr. 1996.

    Ryo Nakagaki (M95) 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 (F98) received theDiploma degree in electrical and mechanicalengineering from the Aristotelian University ofThessaloniki, Thessaloniki, Greece, in 1979 and theM.S. andPh.D. degrees both in electricalengineeringfrom 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 19861987 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 c ompression, 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 THE IEEE, the MarcelDekker, Signal Processing Series, Applied Signal Processing, the Computer

    Journal, anda memberof theIEEE Technical Committeeson Visual SignalPro-cessing and Communications, and Multimedia Signal Processing. He has servedas an Associate Editor for the IEEE TRANSACTIONS ON SIGNALP ROCESSING(19901992), an area editor for the journal Graphical Models and Image Pro-cessing (19921995), a member of the Steering Committees of the IEEE Trans-actions on Image Processing (19921997) and the IEEE TRANSACTIONS ONMEDICALIMAGING (19901999), a member of the IEEE Technical Committee

    on Image and Multidimensional Signal Processing (19921998), the Board ofGovernors of the Signal ProcessingSociety (19992001),the PublicationBoardof the IEEE Signal Processing Society (19972002), the IEEE TAB MagazineCommittee (19972002), and editor-in-chief of the IEEE Signal Processing

    Magazine(19972002). 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 1994VisualCommunicationsand ImageProcessing Conference(Chicago, IL),and astechnical program co-chair of the 1998IEEE International Conference on ImageProcessing(Chicago, IL). He is the co-inventorof 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).