Site Loader
Rock Street, San Francisco

K.Dhanalakshmi 1, K.Gowrishankar 2, N.Kalaiselvi 3 Research Scholars, Periyar University, Salem-11, Tamil Nadu, [email protected]  [email protected] [email protected]  Abstract – Smart farming is a growing research field in agriculture image based applications. In order to achieve effective smart farming we need to do complete automation of manual processes in the food processing industries. In this paper we are identifying the different size of oranges and count the number of orange fruits are there in our input image. In this proposed method we use Circular Hough Transform (CHT) algorithm to recognize the oranges and count the number of oranges are there in the given images. Furthermore we find the radius of them. Based on the radius value, the oranges of different sizes are classified. Keyword – Circle detection, Circle Hough Transform algorithm (CHT) and fruit counting. INTRODUCTIONIn recent years, the development in machine vision and supporting technologies has indicated in general acceptance of feasibility and profitability of implementing visual inspecting system in quality assurance in food processing industries 1. Orange shape detection is one of the challenging tasks in machine intelligence and computer vision because it has various sizes in various stages. Fruit detection and counting is also a challenging task. One of the most challenging tasks of an image processing nowadays is feature extraction. In the real world applications, objects of interest may come in different sizes and shapes, not pre-determined one. In this work we use Circle Hough Transform (CHT) algorithm to extract the size of that oranges by measuring the radius and center of that circle and also we can count the number of oranges are there in that. Finally we categorize total number of oranges into two, which is small size and big size oranges. LITERATURE REVIEWThe author Neelu Jain has  represents algorithm for recognition of the coins of different denomination .In that method they uses canny  edge detection to generate edge   map ,  then uses CHT (Circular Hough transform) to recognize the coins and further find the radii of them. Based on the radius of the coin, the coins of different denomination are classified 1. The CHT is used for detecting the coins of different denominations, so a suitable range for radius of the coins can be defined 1. The CHT has been used in several researches in detecting iris and pupil boundaries for face recognition, fingertips position detection and automatic ball recognition 1. The author marcin smereka proposes a method that is designed for the detection of demanding (noisy, not clearly distinguishable) circular objects can be applied, fixing some data with domain-specific values, to any real industry images 2. METHODOLOGYThe Circular Hough Transform (CHT) based algorithm for finding circles in images. This approach is used because of its robustness in the presence of noise, occlusion and varying illumination 7. The CHT is not a rigorously specified algorithm; rather there are a number of different approaches that can be taken in its implementation. However, by and large, there are three essential steps which are common to all 7.1. Accumulator Array Computation.Foreground pixels of high gradient are designated as being candidate pixels and are allowed to cast ‘votes’ in the accumulator array 7. In a classical CHT implementation, the candidate pixels vote in pattern around them that forms a full circle of a fixed radius 7. Figure 1a shows an example of a candidate pixel lying on an actual circle (solid circle) and the classical CHT voting pattern (dashed circles) for the candidate pixel 7.Fig 1: Classical CHT Voting Pattern 2. Center EstimationThe votes of candidate pixels belonging to an image circle tend to accumulate at the accumulator array bin corresponding to the circle’s center 7. Therefore, the circle centers are estimated by detecting the peaks in the accumulator array 7. Figure 1b shows an example of the candidate pixels (solid dots) lying on an actual circle (solid circle), and their voting patterns (dashed circles) which coincide at the center of the actual circle 7.3. Radius EstimationIf the same accumulator array is used for more than one radius value, as is commonly done in CHT algorithms, radii of the detected circles have to be estimated as a separate step 7.The method provides two algorithms for finding circles in images: Phase-Coding (default) and Two-Stage. Both share some common computational steps, but each has its own unique aspects as well 7.The common computational features shared by both algorithms are as follow:A. Use of 2-D Accumulator ArrayThe classical Hough Transform requires a 3-D array for storing votes for multiple radii, which results in large storage requirements and long processing times 7. Both the Phase-Coding and Two-Stage methods solve this problem by using a single 2-D accumulator array for all the radii 7. Although this approach requires an additional step of radius estimation, the overall computational load is typically lower, especially when working over large radius range. This is a widely adopted practice in modern CHT implementations 7.B. Use of Edge PixelsOverall memory requirements and speed is strongly governed by the number of candidate pixels. To limit their number, the gradient magnitude of the input image is threshold so that only pixels of high gradient are included in tallying votes 7.C. Use of Edge Orientation InformationAnother way to optimize performance is to restrict the number of bins available to candidate pixels 7. This is accomplished by utilizing locally available edge information to only permit voting in a limited interval along direction of the gradient (Figure 2) 7.Fig 2: Voting mode: multiple radii, along direction of the gradient The two CHT methods employed by the circle finding function fundamentally differ in the manner by which the circle radii are computed 7.D. Two-StageRadii are explicitly estimated utilizing the estimated circle centers along with image information. The technique is based on computing radial histograms 7.E. Phase-CodingThe key idea in Phase Coding 5 is the use of complex values in the accumulator array with the radius information encoded in the phase of the array entries 7. The votes cast by the edge pixels contain information not only about the possible center locations but also about the radius of the circle associated with the center location 7. Unlike the Two-Stage method where radius has to be estimated explicitly using radial histograms, in Phase Coding the radius can be estimated by simply decoding the phase information from the estimated center location in the accumulator array 7.IV. EXPERIMENTAL RESULTSIn this work, firstly we did image accusation. In that, we took an image, which contains various sizes of oranges. The acquired images may have different sizes so that we need to resize it to the appropriate format which is comfortable for your work. After the image resizing process we applied edge detection techniques to identify the edges of an image. On that image we applied circular Hough transform method to identify the shape and size of an image. In this algorithm we calculated the center and radius value of each circle with the help of the sensitive value. In this work we will use 0.98 as our sensitivity value.  With the help of these values we can identify the size and shape of an orange image and count on it. Total number of oranges found by our method is shown in figure 4. Our method categorized these 40 oranges into two types such as small and big, based on the size of an orange. From the input image (figure 3) we got 4 Small size oranges and 36 big size oranges.TABLE 1: EXPERIMENTAL RESULTS OF THE INPUT IMAGES Fig 3: Original Input Image Fig 4: Image after Circular Hough Transform methodV. CONCLUSIONIn our work the oranges of different sizes and shape can be recognized based on the radius of the circle. The proposed system can be used to identify the shape and size of oranges by using Circular Hough Transform methods. The problem arises if the orange image is captured from a distance and the image tends to be small. Besides that, some of the ranges are overlapped. These restrictions make the detection process difficult. The results shows that the Circular Hough Transform algorithm is the best method to identify the circle based objects.In our Future work we may include detection of several shape features that are overlapped with each other for all citric fruits.REFERENCES1 Dr. Neelu Jain and Neha Jain, “Coin              Recognition Using Circular Hough Transform”, “International Journal of Electronics Communication and Computer Technology (IJECCT”, Vol. 2, Issue 3 (May 2012) 2 Marcin Smereka, Ignacy Dule,” Circular Object Detection Using a Modified Hough Transform”,Int. J. Appl. Math. Comput. Sci., Vol. 18, Issue 2008.3 T.J Atherton, D.J. Kerbyson. “Size invariant circle detection.” Image and Vision Computing. Volume 17, Number 11, 1999, pp. 795-803.4 H.K Yuen,  J. Princen, J. Illingworth, and       J.Kittler. “Comparative study of Hough transform methods for circle finding.”Image and Vision Computing”. Volume 8, Number 1, 1990, pp.71-77.5 E.R. Davies, Machine Vision: Theory, Algorithms, Practicalities. Chapter 10. 3rd Edition. Morgan Kauffman Publishers, 20056 International Journal of Electronics Communication and Computer Technology (IJECCT) Volume 2 Issue 3 ( May 2012) ISSN:2249-7838 IJECCT .   7 Circular Hough Transform (CHT) based algorithm OnlineAvailable:                                                                                                                                                                                                                                                                         rminMinimum search radiusrmaxMaximum search radiusractualRadius of the circle that the candidate pixel belongs tocminCenter of the circle of radius rmincmaxCenter of the circle of radius rmaxcactualCenter of the circle of radius ractualTotal No.of apples foundSensitivity ValueTotal No.of Small Size  apple foundTotal No.of Small Size  apple found400.98436

Post Author: admin


I'm Dora!

Would you like to get a custom essay? How about receiving a customized one?

Check it out