ISSN ONLINE(2278-8875) PRINT (2320-3765)
M.Saranya1, V.Meenakshi2
|
Related article at Pubmed, Scholar Google |
Visit for more related articles at International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering
In this paper, an adaptive edge enhancement technique is proposed for two-dimensional (2-D) image scaling application. The anticipated image scaling algorithm consists of an edge detector, bilinear interpolation and sobel filter. The bilinear interpolation defines the intensity of the scaled pixel with the weighted average of the four nearest neighboring pixels, interpolated images become smooth and loss of edge information. The adaptive edge enhancement technique is used to protect the edge features effectively, to achieve better image quality and to avoid the loss edge information. The sobel filter attempts to reduce the noise, in blurred and distorted edges which is produced by bilinear interpolation. An algebraic manipulation and hardware sharing technique are used to reduce computing resource of the bilinear interpolation. The analysis shows that edges are well preserved and interpolation artifacts (blurring, jaggies) are reduced.
Keywords |
Bilinear interpolation, Edge detector, Image zooming, Sobel filter. |
INTRODUCTION |
Image scaling is the process of resizing an image by pixel interpolation, used in computer graphics, medical image processing (such as endoscopy), and digital image devices (such as mobile phones, digital cameras and touch panel computers). An obvious application of image scaling is to scale up images to fit high- definition television (HDTV) and scale down the high-quality pictures or video frames to fit the minimize liquid crystal display panel of the tablet PC. |
The image scaling algorithms can be split into two types: polynomial-based and non-polynomial-based methods. The polynomial- based methods are nearest neighbor interpolation, bicubic interpolation, and bilinear interpolation. One of the simplest methods is nearest neighbor interpolation, where each interpolated output pixel is assigned to the value of nearest sample point in the input image. The resulting images of this method are full of blocking and aliasing artifacts. So it is unable to use in high quality imaging applications. The advantage this method are easy to implement and computationally fast, but it does not give good quality of images. Another method is bicubic interpolation; it is based on extended cubic model to scaled images in 2-D regular grid. This algorithm has benefit to produce of high quality images. However, it is computationally expensive due to the complexity in its computation and memory requirements. Bilinear interpolation method which uses linear interpolation can be performed in both horizontal and vertical directions. This method is most widely-used because it reduces the blocking and aliasing effects. |
Recently, many popular non-polynomial-based methods have been proposed, such as such as bilateral filter [7], blending kernels [9], adaptive 2-D autoregressive model [11], HVS-directed neural-network [12] and orientation adaptive interpolation [13]. These algorithms are improve image quality and also reduce aliasing and blurring effects but it has high memory requirement ,high complexity, so it is not easy to realized in VLSI technique, low-complexity methods are necessary for VLSI implementation. |
One of the resampling methods is winscale algorithm [14]; it uses area coverage of original pixels for measuring new pixels of a scaled image. However, this method requires more time to calculate area coverage. Hardware cost is low but resulting images are undesirable block and blurring effects. A fuzzy image interpolation [10] combined a fuzzy inference system and an image interpolation technique. An adaptive low-cost and high quality image scalar [4], uses a filter combining and hardware sharing technique are used to reduce chip area and memory requirement. A clamp and sharpening spatial filter are used to decrease the blurring effects produced by the bilinear interpolation. The proposed algorithm consists of a sobel filter, edge detector, and bilinear interpolation. The sobel filter and edge detector are used to enhance the edges of the source images and decrease the blurring effects caused by the bilinear interpolation. The experimental results show that this design improves image quality. The proposed scaling algorithm is designed by Verilog HDL. |
II. PROPOSED SCALING ALGORITHM |
Fig.1 shows the block diagram of an adaptive edge enhanced scalar architecture. It consists of a sobel filter, edge detector, and bilinear interpolation. Initially, a color image is converted into gray level image using MATLAB. Now gray level image converted into binary image. This binary image is resized and written into a text file. Store the binary image (Text file) into the RAM. Read the Text File from memory Bank. Memory bank provides the input to the sobel filter and edge detector. Further simulation is done by Modelsim. |
A. Bilinear Interpolation |
Bilinear interpolation [1],[2],[4] is a resampling method, it uses the four nearest neighboring pixel value, and then new pixel values are calculated by weighted average of the four nearest-neighbor pixels based on its distance. Linear interpolations are performed in one direction (horizontally) and then one more linear interpolation is performed in the perpendicular direction (vertically). |
An evaluating parameter E to determine the local characteristics of the pixel in the neighborhood of k. It is given as |
The edge detecting method used to obtain the local characteristics of edges. The interpolated images become smooth and there is a loss of edge information. To protect edge information using an adaptive edge enhancement technique. For example, the edge detector is used to search edges on the left side, if more homogeneous of the left side (E<0). To exclude the loss of edge information after bilinear interpolation, right side of two pixels is adaptively enhanced by the Sobel filter. |
C. Sobel Filter |
Sobel filter is applied to perform edge detection. Sobel filter is used to reduce blurring and aliasing artifacts. It uses two kernels with 3×3 sizes, one estimating the gradient in the x-direction (horizontal) and the other gradient in the ydirection (vertical). These kernels are each convolved with the image. |
The algorithm calculates the gradient of the image intensity at each point, and then gives the direction to increase the image intensity at each point from light to dark. Edge areas define strong intensity contrasts which darker or brighter. To measure gradient magnitude is given by |
III. VLSI ARCHITECTURE |
Scaling method requires low computational complexity and improves image quality. Fig.5 and Fig.6 shows the architecture of sobel filter, edge detector and bilinear interpolation. |
A. Sobel Filter |
The gradient values Hx and Hyare computed according to Eq. 5 and Eq.6. Fig. 5 shows the pipeline architecture of the Sobel filter and edge detector. Upper part of the two-stage shows the pipeline architecture of the Sobel filter. The processing module uses additions, multiplication, and subtractions. In hardware, multiplication is costly. So multiplication is replaced by the shift operation. The architecture for computing both horizontal and vertical gradients is shown in Fig.5. |
B. Edge Detector |
The local characteristics of edges can be calculated by using Eq.4. Fig.5. shows the lower part of the two stages is edge detector. It consists of one comparator (CMP), three subtractor (|SUB|), and two registers. The ||SUB|| unit uses two inputs and produces their absolute value of difference. The comparator produce control signal (Ctr_s) for the multiplexer. The control signal (Ctr_s) is based on the evaluating parameter E is greater than 0 (>0), less than (<0), and equal to 0 (=0). |
IV.EXPERIMENTAL RESULTS |
To evaluate the performance of the proposed adaptive edge enhanced scaling algorithm, one test image (256×256) is used in the simulation. First perform up-scaling an image, and then down-scaling an image, finally get the same size of the original image. The Peak-Signal to Noise Ratio (PSNR) is commonly used to measure the quality of a noisy approximation of the m × n refined image and the original image. |
The Mean Squared Error defines the cumulative squared error between the refined image and the original image. The low value of the MSE is considered as low error. The MSE defined as |
Where x and y represents the number of rows and columns of the pixels of the original image. The PSNR is defined as |
The pixels are represented by eight bits per sample, so the maximum value of each pixel(R) is 255. The quality of the scaled image expressed in decibel (dB). |
Fig.7 shows the refined Peppers images. By using two methods one Peppers test image is scaled up to double the size and then refined to original size. First method uses a sharpening spatial filter, edge detector, and bilinear interpolation. Second method uses a sobel filter, edge detector, and bilinear interpolation. Table I list the PSNR results of Peppers test image. The experimental results show that the proposed adaptive edge enhanced technique achieves better image quality. |
V.CONCLUSION |
This paper proposed an adaptive edge enhancement technique for image zooming application, which is easy to implement in VLSI. The sobel filter solved the blurring and aliasing artifacts caused by bilinear interpolation. The adaptive edge enhanced technique is effectively enhanced the edge features of scaled images. An algebraic manipulation and hardware sharing technique in this design greatly reduces the computing resources costs. Comparing results of the proposed method will improve the image quality. |
References |
|