Open Access
11 April 2012 Multidirectional edge-directed interpolation with region division for natural images
Yujin Yun, Jonghyun Bae, Jaeseok Kim
Author Affiliations +
Abstract
A multidirectional edge-directed interpolation algorithm that features a region division method is proposed. In the proposed method, an interpolation pixel is newly modeled as a weighted sum of 12 neighboring pixels representing 12 different directions. Each weight is estimated by Wiener filter theory using geometric duality. The proposed method for dividing the interpolation region reduces the heavy computational complexity of the proposed model. Analyzing edge continuities, the model divides an image into three regions, and only strong edge regions are interpolated. Simulation results show that several directional edges are restored clearly in a subjective test, with fair performance in an objective test.

1.

Introduction

In digital image processing, image resolution enhancement is in great demand. Medical images, surveillance images, and old photographs require an accurate image enlargement scheme for reconstructing missing information. Interpolation is such a process of estimating the missing pixels of high-resolution images from low-resolution images.

Linear interpolation is simple and fast, but not suitable for high-quality image restoration. For sophisticated applications, nonlinear interpolation methods such as edge-directed interpolation (EDI) are preferable. The human vision system is particularly responsive to a sudden change of pixel intensities. Hence, the quality of the entire image can be improved by restoring edges with less degradation. New EDI (NEDI)1 is a representative EDI that uses Wiener filter theory. NEDI restores high-quality images; however, it suffers from blocking artifacts because of the deficiency of edge directionality information and the geometric duality assumption.1 While various modifications of NEDI in Refs. 2 and 3 show some improvements, restored images are still degraded easily.

In this letter, we present a multidirectional EDI method. A new interpolation algorithm uses 12 directional neighboring pixels to restore various directional edges. To reduce high computational complexity, a method for dividing the interpolation region is also proposed.

2.

Proposed Algorithm

2.1.

Multidirectional Interpolation Model

Consider an interpolation of a low-resolution image X with a size of H×W into a high-resolution image Y with a size of 2H×2W, that is, Y2i,2j=Xi,j. For unknown pixel Y2i+1,2j+1, a new interpolation model is proposed:

Eq. (1)

Y2i+1,2j+1=k=03l=03α4k+lY2(i+k1),2(j+l1),
where α indicates an interpolation coefficient and α0,3,12,15=0. Figure 1(a) shows the visual concept of Eq. (1). Twelve neighboring pixels participate in the interpolation of Y2i+1,2j+1. Unlike NEDI, the proposed model uses a sufficiently large number of directional pixels for precise estimation. Since this new interpolation model is expanded to all directions for an estimation window at Sec. 2.3, the geometric duality mismatch problem of NEDI is also solved.

Fig. 1

(a) Interpolation model for Y2i+1,2j+1 (Ref. 4). (b) Step 3 of interpolation region division method. Black pixels are edge pixels and white pixels are non-edge pixels. The upper red pixels are marked with 1 if there are other edge pixels around the eight neighborhoods. Starting from the leftmost edge pixel, red pixels are marked from a to d in sequence. The lower blue pixels are marked with 2 from a to c in the same manner.

OE_51_4_040503_f001.png

With the proposed interpolation model, the computational complexity of the algorithm increases dramatically because of the large dimensional matrix multiplications in the coefficient estimation process. Also, using additional neighboring pixels may duplicate details in the short- and random-edge regions. These difficulties can be resolved by the interpolation region division method proposed below.

2.2.

Interpolation Region Division Method

Depending on image features, a natural image can be divided into even (or non-edge) regions, short-edge regions, and long-edge regions. Following are details of the four steps.

  • 1. Divide the even regions. Even regions and edge regions are divided first. The variances of 4×4 neighborhood pixels are inspected. If the variance does not exceed a certain threshold, THe, it is considered an even, or non-edge, region.

  • 2. Obtain an edge map. An edge map of a target image can be obtained with the canny edge detector, which is one of the most prominent edge detectors. An edge map is interpolated by the nearest interpolation for a high-resolution edge map.

  • 3. Analyze edge features. From the beginning of an edge map, all edge pixels are examined. The detailed procedure is visualized in Fig. 1(b). First, a starting edge pixel is selected. If there are edge pixels among eight neighbors, those edge pixels are considered to be connected and are marked with a certain number. Another eight neighbors of the connected edge pixels with the starting pixel are inspected for more connectivity. If there are no more edge pixels around its neighbors, another starting edge pixel is selected for another connected edges. After the entire image has been analyzed, a connected edge map is obtained. Connected edges are marked with the same number starting from 1, and non-edge pixels remain as 0.

  • 4. Divide a connected edge map into two regions. The number of connected edges is calculated in the M×M coefficient estimation window described in Sec. 2.3. The connected edge number threshold THedge is set from 0 to 5 depending on the image features. If the number of connected edges is more than THedge, these regions are considered short-edge regions. Other edge regions are considered long-edge regions.

For even (non-edge) regions, linear interpolation is sufficient since the pixels have similar intensities. For short-edge regions, NEDI is appropriate since the edges are short enough to ignore precise directions. Long edges are the major edges of an image. If the pixels are interpolated with slightly different directions, block artifacts are easily noted. Accordingly, the proposed method is appropriate for long-edge regions. By interpolating an image with three methods, computational complexity can be greatly reduced over the use of the proposed model only.

In the proposed method, interpolation coefficients are estimated by Wiener filter theory, which is described in the following section.

2.3.

Interpolation Coefficient Estimation

Interpolation coefficient vector α in Eq. (1) is estimated by Wiener filter theory.1 For the optimal minimum mean-square error (MMSE) condition, α can be found as

Eq. (2)

α=R1r,
where R and r indicate the auto and cross covariance matrix at the M×M local window. Since Y2i+1,2j+1 is not available, r cannot be obtained directly from a high-resolution image. Statistically, a low-resolution image has geometric duality with a high-resolution image in a small local block. Accordingly, R and r can be calculated from a low-resolution image.

With the classical covariance method, Eq. (2) can be written as

Eq. (3)

α=(CTC)1(CTy),
where y is a M2×1 center pixel vector, and C is a M2×12 matrix of 12 neighbors for y. Y2i+1,2j+1 can be calculated from Eq. (1) by substituting α with Eq. (3).1 Y2i,2j+1 and Y2i+1,2j can be calculated in the same manner except that an interpolation window is slanted 45 deg.

2.4.

Demosaicing of Color Filter Array Images

The proposed interpolation can be applied to demosaicing problems. Because of the cost and the size of suitable digital cameras, an image obtained from a charge-coupled device (CCD) or complementary metal oxide semiconductor (CMOS) sensor is sampled by color filter array (CFA). Reconstructing a full-resolution color image from CFA samples is called the demosaicing problem.

From Bayer CFA samples, green pixels are initially interpolated by the proposed method. Since red (R), green (G), and blue (B) planes are highly correlated, the interpolation process for R and B uses their color difference planes to avoid color misregistration problems.5 Color difference planes DR and DB,

Eq. (4)

DR=GRandDB=GB,
are interpolated with the proposed algorithm, and R and B pixels can be reconstructed by Eq. (5).

Eq. (5)

R=G+DRandB=G+DB

3.

Simulation Results

The proposed algorithm has been implemented with MATLAB 7.1. THe is set to be 8, and THedge is set to be 3, the default. Twenty-four color images from a Kodak PhotoCD are used for the tests. Each image is downsampled directly from an original image and interpolated with three methods: bilinear, NEDI, and the proposed. Since other modifications of NEDI can be applied to the proposed method in the same way, only NEDI is selected for representative comparison.

Zoomed-in portions of interpolated images are presented in Figs. 2 and 3. Interpolated images from bilinear (b) and NEDI (c) show blocking artifacts along edges. On the other hand, the interpolated image from the proposed method (d) shows clear edges just like the original figure. In Fig. 3, the fine wood grain is restored in the right direction in (d), but not in (b) and (c). In Table 1, the peak signal-to-noise ratio (PSNR) and the structural similarity (SSIM) index6 are compared. SSIM quantifies the degradation of the structural information in an image. Our algorithm also shows competitive performance in the objective tests.

Fig. 2

Zoomed-in portions of the (a) original kodim20 image and the interpolated images from (b) bilinear, (c) NEDI, and (d) proposed method.

OE_51_4_040503_f002.png

Fig. 3

Zoomed-in portions of the (a) original kodim03 image and the interpolated images from (b) bilinear, (c) NEDI, and (d) proposed method.

OE_51_4_040503_f003.png

Table 1

(a) PSNR(dB) values of interpolated images. (b) SSIM values of interpolated images.

ImageBilinearNEDIProposed
(a)
kodim0330.1531.0732.19
kodim0624.5725.3827.45
kodim0728.5630.7631.27
kodim0928.2929.9530.76
kodim1028.3330.1331.69
kodim1126.1527.3427.86
kodim2027.2328.0330.73
kodim2125.4826.7027.93
Average27.7628.9930.75
(b)
kodim030.890.920.91
kodim060.720.790.79
kodim070.900.940.94
kodim090.860.900.90
kodim100.850.900.90
kodim110.770.820.82
kodim200.860.900.90
kodim210.800.850.85
Average0.860.900.90

The proposed algorithm has disadvantages in computational time. A user can adjust threshold values for reducing computational complexity at the expense of performance. However, process time is not a critical issue when restored image quality is a major concern.

4.

Conclusion

This letter presents a new idea for EDI. Twelve neighboring pixels are used for interpolation in order to reflect 12 directionalities. Also proposed is an interpolation region division method that resolves concerns related to the computational complexity and performance. Depending on the edge continuity, an image can be divided into three regions: even (non-edge) region, short-edge region, and long-edge region. Only long-edge regions are interpolated by the proposed model. Simulation results show that our method restores multidirectional edges clearly with fair performance in objective tests.

Acknowledgments

This work was supported by the Mid-career Researcher Program through an NRF grant funded by the MEST (2011-0027515), and partially supported by the Ministry of Knowledge Economy (MKE, Korea) and IDEC/IDEC Platform Center (IPC) at Hanyang University.

References

1. 

X. LiM. T. Orchard, “New edge-directed interpolation,” IEEE Trans. Image Process., 10 (10), 1521 –1527 (2001). http://dx.doi.org/10.1109/83.951537 IIPRE4 1057-7149 Google Scholar

2. 

W.-S. TamC.-W. KokW.-C. Siu, “Modified edge-directed interpolation for images,” J. Electron. Imag., 19 013011 (2010). http://dx.doi.org/10.1117/1.3358372 JEIME5 1017-9909 Google Scholar

3. 

N. AsuniA. Giachetti, “Accuracy improvements and artifacts removal in edge based image interpolation,” in Proc. 3rd Int. Conf. Computer Vision Theory and Applications (VISAPP’08), (2008). Google Scholar

4. 

Y. YunJ. BaeJ. Kim, “Adaptive multidirectional edge directed interpolation for selected edge regions,” in TENCON2011-2011 IEEE Region 10 Conf., 385 –388 (2011). Google Scholar

5. 

B. K. Gunturket al., “Demosaicking: color filter array interpolation,” IEEE Signal Proc. Mag., 22 (1), 44 –54 (2005). http://dx.doi.org/10.1109/MSP.2005.1407714 ISPRE6 1053-5888 Google Scholar

6. 

Z. Wanget al., “Image quality assessment: from error visibility to structural similarity,” IEEE Trans. Image Process., 13 (4), 600 –612 (2004). http://dx.doi.org/10.1109/TIP.2003.819861 IIPRE4 1057-7149 Google Scholar
© 2012 Society of Photo-Optical Instrumentation Engineers (SPIE) 0091-3286/2012/$25.00 © 2012 SPIE
Yujin Yun, Jonghyun Bae, and Jaeseok Kim "Multidirectional edge-directed interpolation with region division for natural images," Optical Engineering 51(4), 040503 (11 April 2012). https://doi.org/10.1117/1.OE.51.4.040503
Published: 11 April 2012
Lens.org Logo
CITATIONS
Cited by 10 scholarly publications and 1 patent.
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Filtering (signal processing)

Sensors

Image processing

CCD image sensors

Error analysis

Image quality

Inspection

Back to Top