A Sobel Edge Detector Digital
Filter Structure and its Distributed Arithmetic Implementation
Kobchai Dejhan, Fusak
Cheevasuvit, Somjin Thongplew, Soontorn Oraintara Abstract Faculty of Engineering, King Mongkut's Institute of Technology Ladkraband Ladkrabang, Bangkok 10520, Thailand Tel : 66-2-326 9967, 66-2-326 9081, Fax 66-2-326 9086, 66-2-326 9965 Narong Arjrith Faculty of Engineering, Srinakharinwirot University Bangkhen, Bangkok 10220 Thailand Tel : 66-2-972 9652, 66-2-521 1005, 66-2-521 1108 ext 474 Ekachai Prommas Faculty of Engineering, Kasembundit Unversity Patanakarn Road, Bangkok 10250, Thailand Tel : 66-2-321 6930-39 ext 212 Edge detection is an important step in most image segmentation techniques. It Can identify the areas of a image where larges change in intensity occur. These changes are associated with the physical boundary or edge in the scene from which the image is derived. The ultimate object i segmentation is to develope contiguous set of pixels forming a closed contour around each object of interest in the 9mage with more heuristic rules- based algorithms which track boundaries and link edged to form whole contours. Sobel edge detection method based on Sobel operators has the advantage of emphasizing the central part of the edge. Each direction of Sobel operator is applied to an image, then two new images are created. One image shows the vertical response and the other shows the horizontal response. The purpose is to determine the existence and location of edges in a picture. Two images in combined into a single one. Distributed arithmetic (DA) is used in digital signal and image processing instead of the encountered form of computation such as sum of products. DA is an extreme computational efficiencies and exploited in circuit design form. This paper proposes an implementation of 2-dimensional digital image filter for low pass filter and Sobel edge detector. The method of DA in this paper is a transformation of transfer function by using look-up table. Theory The distributed arithmetic (DA) is a bit serial computational operation by forming an inner product (or dot product) of a pair of vectors in a single direct step. The method is to distribute all of the number into binary digit in order to process the signal in the form of digital circuit. The use of DA will be high efficiency in the case of sum of multiplication equation. The DA technique is faster than standard microprocessor when used the same clock rate [2,3]. DA uses look-up table to multiple the input signal with the coefficients which are stored in memory unit. consider the calculation of the following sum of products: [1] The Ak are fixed coefficients, and Xk are the input data words. If Xk is a 2's-complement binary number scaled such that Xk<1, then the expression of each Xk can be shown as where the Bkn are the bits, 0 or 1, bk0 is the sign bit, bk,N-1, is the least significant bit (LSB), and N is number of bit per input data. The equation can be obtained: Rearrange the equation, thus Distribute the equation : The equation (5) is distributed arithmetic form, consider the factor and suppose that it is equal to Y'. Then, the equation is shown as The bkn are the bits, 0 or 1. Thus, Y '. should be possible 2k values and these values will be calculated and pass to store in ROM as in Table 1. The input data will be used to be ROM address. The final results will be stored in accumulator [5,6] and obtain the output Y. Fig.1 shows the distributed arithmetic structure [1] of the type 1 BAAT (one-bit-at-a-time) for equation (1).
Figure 1 DA Structure of type 1 BAAT for equation (1) An application of DA can be used with two-dimensional signal processing, for example the digital filter [10]. Therefore, the linear differential equation of two-dimensional second order recursive digital filter [5]. has a general form as : The Xm,n and Ym,n are output data of system, respectively, The ak,1 and bi,j are fixed coefficients of filtering, its values are between +1 of 2's s-complement for B bit resolution including 1 sign bit. Design Technique The system consists of the digital image calculation circuit and the imagery data delay line. The processes of imagery data for obtaining the new image (edge detection, contrast of image) depend on impulse response by using mask over imagery data and move it to every position of picture. All of data will be multiplied with the results and sum together. Therefore, the new digital image data will be obtained.
(Smooth filter)
(high-pass filter)
(vertical edge detection)
(horizontal edge detection) The Picture processing using DA uses the signal sequence X(m,n) to rearrange. All of 9 data sequence will pass to process by using look-up table which stored the data of low-pass filter ,high-pass filter of edge detector. The input data are in parallel and the are converted into serial ,DA will increase the processing speed better than the old method [2,3]. The digital image data delay line can be used serial shift register to shift the data. Sobel Edge Detector Sobel edge detector gets better the contour for object in image. The edge detection process is shown in Fig.2. The experiment uses the process as shown in Fig .3.DA convert the three sets of data (smooth filter, horizontal edge detector and vertical edge detector) as the method shown in table 2.
Figure 2 Edge detection diagram Figure 3 Picture data processing based on DA The hardware [7,8] can process only each digital image data and then arrange the vertical edge and horizontal edge data together by using software [9]. The increase of hardware can be done and will increase the processing speed and more convenient [4].
Results The analytic digital image data and the effect of Sobel edge detector can be compared together as shown in Fig.4. Fig.4 Comparison of analytic data and effects of sable edge detector. Conclusion The application of DA is used to apply for image processing and it can be implemented in easily form. This technique will be useful to construct the system that can use with picture of image processing. References
|