Abstract
Analytically, in view of nation’s unavoidable pecuniary development and its input toward farming like floriculture is essentially an extensive area and a catalyst in the structural socioeconomic building of India. As it is the age of computerization, in the field of harvest, estimation which stimulates an idea of an automated approach using precision agriculture having the degree of ability to count acres of flowers in a specific field which indeed saves time and money in contrast to manual counting. So, the marigold harvest and its production estimation can be done through image processing which may help largely in the planning of good marketing and its management easily. In this paper, we have proposed a methodology which can detect and count marigold flower successfully by using HSV color transform and circular Hough transform (CHT) methodologies. The proposed methodology is applied to marigold flower which is captured in an open field with an average error of 5%.
Access provided by Autonomous University of Puebla. Download conference paper PDF
Similar content being viewed by others
Keywords
1 Introduction
There are about 250,000 named flower species in the world; on a daily basis, we can see many blooming flowers in the roadside, garden, park, mountain path, wild field, greenhouses, etc. [1]. Floriculture is a discipline of horticulture concerned with the cultivation of flowers and ornamentals plants for floral industry and for the garden. Floriculture crops include houseplants, bedding plants, pot plants, and cut flowers. The cut flower is used in business in which flower is usually sold in bunches or as bouquets with foliage. Cut flowers are used in drink, decoration, for making medicine, cosmetics, etc. Currently, everyday the utilization of technology within the field of agriculture is increasing day by day for reducing the workforce and increasing the assembly capability. Produced flowers sold in the market by the farmers in the form of the bunch. But in the market, these flowers sold in the form of units; hence the profit gain by the agent is more than the farmer because a farmer does not know how many (in units) flowers are there in his garden. Bairwa [2] addressed issues in flower counting. Fifteen Gerbera flower images are processed and applied image processing techniques to achieve 95.01% of accuracy over manual counting. Nandyal and Jagadeesha [3] conferred a crop growth prediction system using machine vision in which the fruit region is found using edge detection and circular fitting algorithm. Wijethunga et al. [4] developed machine-controlled enumeration approach with application to kiwifruit enumeration system. Three easy enumeration strategies followed by a minimum distance classifier-based segmentation technique in L * a * b * color space is discussed. The recognition accuracy is above 90%. Sarkate et al. [5] counted Gerbera flowers using Hue Saturation Value (HSV) color space and histogram analysis. The proposed algorithm is given less accurate result due to overlapped flowers. Dorz et al. [6] estimated tangerine yield by counting of the tangerine flower using machine vision. Flowers are counted with the help of Gaussian filter and RGB color detection method. Salvo et al. [7] predicated blueberry based on the counting of a number of flowers buds. Bud counting relates the number of enough of fruit for the harvest and also relates weather variable. Sural et al. [8] have studied the important properties of HSV color space and developed and framework for extracting features which is used for both segmentation and histogram generation in their approach. They used the saturation value of a pixel to extract the object. Cauchie et al. [9] Presented improved Hough transform which applied to search of a common center of circular or partial circular object present in an image. The designed algorithm is applied for analysis of x-ray diffraction. Dorj et al. [10] developed color detection and counting algorithm, and the tangerine flower, under natural lighting condition, it used Gaussian filter to reduce noise and illumination adjustment for better clarity. The algorithm is capable of detecting and counting partially and semipartially occluded tangerine flowers with the error of 10%.
2 Proposed Methodology
Marigold flower images are captured by the digital camera. The distance between the camera and the flower is less than one meter. In the experiment, images were processed using Dual Core processor with 2 GHz frequency and 2 GB RAM. The experiment was carried out on MATLAB R2016a. Flower counting is used to yield approximation or estimation of a particular crop in floriculture field. The manual counting is costly and time-consuming. In this work, to develop an algorithm for computer vision-based automated system for fast and precise counting of flowers. The flowchart Fig. 1 shows the stepwise process of marigold flower detection and counting.
2.1 Collection of Sample
The steps intend to capture an image through the camera. The quality of the image depends on camera parameters such as lighting condition, size of objects, and distance from the image. For better results, cameras with higher resolution are preferred. Figure 2 shows the two variety of marigold flower.
2.2 HSV Color Transform
For flower recognition in counting algorithm, three different types of method are possible using shape, color, and texture. HSV color space is used for flower color extraction. Figure 3 shows the original image, HSV transformed image, scaling of HSV and Binary image.
2.3 Circular Hough Transform
The circular Hough transform is a feature extraction technique to detect circles. This is a special type of Hough transform which can detect multiple numbers of circles with unknown radius. The CHT iterate through possible radii. First, it is required to produce accumulator metrics by dividing parameter space into the bucket as per grid. The component in the accumulator metrics denotes the numbers of circles within the parameter area that passes through the corresponding grid cell. Initially, every element in the metrics zeroes and for each edge point in the original space form a circle and increase the amount of grid cell which the circle passing through. This method is known as voting. After voting, we are able to find neighborhood maxima in the accumulator metrics. The location of the local maxima in the corresponding to the circle center. The voting process is as follows:
-
Step 1:
For each pixel (x, y) find the possible radius between 10 and 60.
-
Step 2:
For each pixel (x, y) find the possible theta between 0 and 360.
-
Step 3:
Update the polar coordinate for center using equation
$$ \begin{aligned} {\text{a}} & = {\text{x}} - {\text{r}}*\cos ({\text{t}}*{\text{PI}}/180); \\ {\text{b}} & = {\text{y}} - {\text{r}}*\sin ({\text{t}}*{\text{PI}}/180); \\ \end{aligned} $$ -
Step 4:
Update voting by A[a, b, r]+ = 1 (Fig. 4).
3 Experimental Results
In the developed algorithm, HSV color space transformation of RGB image provides a better segmentation. After color segmentation, circle fitting algorithms are applied and then counting can be done according to a number of the center present. Here, we use circular Hough transform for circle fitting, which is more robust and solves the problem of overlapping of flowers. The advantage of this algorithm is that it is capable of detecting and counting marigold flower even if in occluded and/or overlapping condition (Tables 1 and 2).
The performance of the developed algorithm is measured by a number of false detections with respect to manual count which is illustrated below.
4 Conclusion
In the developed algorithm, HSV color space transformation of RGB image provides a better segmentation. After color segmentation-based image, circle fitting algorithms are applied and then counting can be done. Here, we use circular Hough transform for circle fitting algorithm which is more robust and is capable of counting the occluded as well as overlap flower. The developed algorithm successfully detects and counts the marigold flower of an open field with an error of 5%. The perspective algorithm will facilitate to design an automatic counting system of marigold flower and will be capable of providing information to farmers about flower production.
References
Hsu, T.H., Lee, C.H., Chen, L.H.: An interactive flower image recognition system, Springer Science + Business Media, 53, 53–73 (2010)
Bairwa, N.: Counting of flowers using image processing, (IJERT), vol. 3 Issue 9, September 2014. ISSN 2278-0181
Nandyal, S., Jagadeesha, M.: Crop growth prediction based on fruit recognition using machine vision. Int. J. Comput. Trends Technol. (IJCTT) 4(9) 3132–3138 (2013)
Wijethunga, P., Samarasinghe, S., Kulasiri, D., Woodhead, I.: Digital image analysis based automated kiwifruit counting techniques. In: International Conference on Image and Vision Computing, New Zealand (2008)
Sarkate, R.S., Kalyankar, N.V., Khanate, P.B.: Application of Computer vision and color image segmentation of yield prediction precision. In: IEEE International Conference on Information Systems and Computer Networks (ISCON), pp. 9–13 (2013)
Dorj, U.O., Lee, M., Senthilkumar, S.: A novel technique for tangerine yield estimation via flower detection. In: 2nd International Conference on Information Science and Technology, vol. 7, pp. 405–412 (2013)
Salvo, S., Munoz, C., Avila, J., Bustos, J., Ramirez-Valdivia, M., Silva, C., Vivallo, G.: An estimative of potential blueberry yield using regression models that relate the number of fruits to the number of buds and to climate variables. Sciatica Horticulture 133, 56–63 (2012)
Sural, S., Qian, G., Pramanik, S.: Segmentation and histogram generation using the HSV color space for image retrieval. In: International Conference on Image Processing, pp. II-589–II-592 (2002)
Cauchie, J., Fiolet, V., Villers, D.: Optimization of a hough transform algorithm for the search of a center. J. Pattern Recogn. 41, 567–574 (2008)
Dorj, U.O., Lee, M., Senthilkumar, S.: A Novel technique for tangerine yield estimation via flower detection. 2nd International Conference on Information Science and Technology 7, 405–412 (2013)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Sethy, P.K., Routray, B., Behera, S.K. (2019). Detection and Counting of Marigold Flower Using Image Processing Technique. In: Biswas, U., Banerjee, A., Pal, S., Biswas, A., Sarkar, D., Haldar, S. (eds) Advances in Computer, Communication and Control. Lecture Notes in Networks and Systems, vol 41. Springer, Singapore. https://doi.org/10.1007/978-981-13-3122-0_9
Download citation
DOI: https://doi.org/10.1007/978-981-13-3122-0_9
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-3121-3
Online ISBN: 978-981-13-3122-0
eBook Packages: EngineeringEngineering (R0)