Accurate recognition of green fruit targets is one of the key technologies for fruit growth monitoring and yield estimation. To solve the problem of fruit misidentification due to the similarity between fruit skin and leaf colors, a progressive detection method of green apples in natural environments was proposed. Image enhancement based on fuzzy set theory was carried out to make the fruit targets more salient in the whole image. Then, the fruit areas were roughly determined by the attention-based information maximization (AIM) algorithm, and the recognized apple regions were cropped according to the adaptive pixel-extending method to remove the background information. After that, accurate segmentation of fruit targets was accomplished by fusing the illumination-invariant image and R-component of the cropped image. To evaluate the performance of this method, it was compared with the illumination invariance theory-based algorithm, mean shift algorithm, K-means clustering algorithm, manifold ranking algorithm and GrabCut algorithm. The test was conducted using 200 green apple images under different growth statuses. Experimental results showed that the segmentation rate of the proposed method was 86.91%, which was 3.26%, 6.35%, 16.43%, 3.08% and 4.7% higher than those of the other five methods, respectively. The false positive rate and false negative rate were 0.88% and 10.53%, which gained an advantage over those of the other five segmentation algorithms. The localization error was 3.65%. In conclusion, the proposed method can accurately segment green fruit targets, which can lay the foundation for intelligent management of fruits over the entire growing season.
This is a preview of subscription content, log in to check access.
Buy single article
Instant access to the full article PDF.
Price includes VAT for USA
Subscribe to journal
Immediate online access to all issues from 2019. Subscription will auto renew annually.
This is the net price. Taxes to be calculated in checkout.
Bansal R, Bansal R, Lee WS, Lee WS, Satish S, Satish S (2013) Green citrus detection using fast Fourier transform (FFT) leakage. Precis Agric 14(1):59–70. https://doi.org/10.1007/s11119-012-9292-3
Boini A, Manfrini L, Bortolotti G, Corelli-Grappadelli L, Morandi B (2019) Monitoring fruit daily growth indicates the onset of mild drought stress in apple. Sci Hortic 256:108520. https://doi.org/10.1016/j.scienta.2019.05.047
Bruce NDB, Tsotsos JK (2005) Saliency based on information maximization. In: Proceedings of the 18th International Conference on Neural Information Processing Systems, pp 155–162
Craciun S, Craciun S, Kirchgessner R, Kirchgessner R, George AD, George AD, Lam H, Lam H, Principe JC, Principe JC (2018) A real-time, power-efficient architecture for mean-shift image segmentation. J Real-Time Image Pr 14(2):379–394. https://doi.org/10.1007/s11554-014-0459-1
Dubey SR, Dixit P, Singh N, Gupta JP (2013) Infected fruit part detection using K-means clustering segmentation technique. Int J Interact Multimed Artif Intell 2(2):65–72. https://doi.org/10.9781/ijimai.2013.229
Dubey SR, Dubey SR, Singh SK, Singh SK, Singh RK, Singh RK (2015) A multi-channel based illumination compensation mechanism for brightness invariant image retrieval. Multimed Tools Appl 74(24):11223–11253. https://doi.org/10.1007/s11042-014-2226-5
Finlayson GD, Hordley SD, Lu C, Drew MS (2006) On the removal of shadows from images. IEEE T Pattern Anal 28(1):59–68. https://doi.org/10.1109/TPAMI.2006.18
Hassaballah M, Ghareeb A (2017) A framework for objective image quality measures based on intuitionistic fuzzy sets. Appl Soft Comput 57:48–59. https://doi.org/10.1016/j.asoc.2017.03.046
He ZL, Xiong JT, Lin R, Zou X, Tang LY, Yang ZG, Liu Z, Song G (2017) A method of green litchi recognition in natural environment based on improved LDA classifier. Comput Electron Agric 140:159–167. https://doi.org/10.1016/j.compag.2017.05.029
Huang X, Li G, Ma C, Yang S (2018) Green peach recognition based on improved discriminative regional feature integration algorithm in similar background. Transactions of the Chinese Society of Agricultural Engineering 34(23):142–148. https://doi.org/10.11975/j.issn.1002-6819.2018.23.017
Kang F, Wang C, Li J, Zong Z (2018) A multiobjective piglet image segmentation method based on an improved noninteractive GrabCut algorithm. Adv Multimedia 2018:1083876–1083879. https://doi.org/10.1155/2018/1083876
Lee T-W, Girolami M, Sejnowski TJ (1999) Independent component analysis using an extended infomax algorithm for mixed subgaussian and supergaussian sources. Neural Comput 11(2):417–441. https://doi.org/10.1162/089976699300016719
Li H, Lee WS, Wang K (2016) Immature green citrus fruit detection and counting based on fast normalized cross correlation (FNCC) using natural outdoor colour images. Precis Agric 17(6):678–697. https://doi.org/10.1007/s11119-016-9443-z
Li DH, Zhao H, Yu X (2019) Overlapping green apple recognition based on improved spectral. Spectrosc Spect Anal 39(9):2974–2981. https://doi.org/10.3964/j.issn.1000-0593(2019)09-2974-08
Liu Z, Sun C, Bai X, Zhou F (2014) Infrared ship target image smoothing based on adaptive mean shift. In: Proceedings of Digital Image Computing: Techniques and Applications, pp 1–8. https://doi.org/10.1109/DICTA.2014.7008113
Liu X, Jia W, Ruan C, Zhao D, Gu Y, Chen W (2018) The recognition of apple fruits in plastic bags based on block classification. Precis Agric 19(4):735–749. https://doi.org/10.1007/s11119-017-9553-2
Lu X, Wang W, Ma C, Shen J, Shao L (2013) Porikli F see more, know more: unsupervised video object segmentation with co-attention Siamese networks. In: IEEE Conference on Computer Vision and Pattern Recognition. pp 3623–3632. https://doi.org/10.1109/CVPR.2019.00374
Lu J, Lee WS, Gan H, Hu X (2018) Immature citrus fruit detection based on local binary pattern feature and hierarchical contour analysis. Biosyst Eng 171:78–90. https://doi.org/10.1016/j.biosystemseng.2018.04.009
Lu X, Ma C, Ni B, Yang X, Reid I, Yang M-H (2018) Deep regression tracking with shrinkage loss. In: Computer Vision – ECCV 2018, pp 369–386. https://doi.org/10.1007/978-3-030-01264-9_22
Lungu R, Lungu M, Grigorie LT (2013) ALSs with conventional and fuzzy controllers considering wind shear and gyro errors. J Aerospace Eng 26(4):794–813. https://doi.org/10.1061/(ASCE)AS.1943-5525.0000207
Mitra S, Pal SK (2005) Fuzzy sets in pattern recognition and machine intelligence. Fuzzy Sets Syst 156(3):381–386. https://doi.org/10.1016/j.fss.2005.05.035
Mizushima A, Lu R (2013) An image segmentation method for apple sorting and grading using support vector machine and Otsu's method. Comput Electron Agric 94:29–37. https://doi.org/10.1016/j.compag.2013.02.009
Okamoto H, Lee WS (2009) Green citrus detection using hyperspectral imaging. Comput Electron Agric 66(2):201–208. https://doi.org/10.1016/j.compag.2009.02.004
Pham VH, Pham VH, Lee BR, Lee BR (2015) An image segmentation approach for fruit defect detection using k-means clustering and graph-based algorithm. Vietnam J Comput Sci 2(1):25–33. https://doi.org/10.1007/s40595-014-0028-3
Shelhamer E, Long J, Darrell T (2017) Fully convolutional networks for semantic segmentation. IEEE T Pattern Anal 39(4):640–651. https://doi.org/10.1109/TPAMI.2016.2572683
Skovsen S, Dyrmann M, Mortensen AK, Steen KA, Green O, Eriksen J, Gislum R, Jørgensen RN, Karstoft H (2017) Estimation of the botanical composition of clover-grass leys from RGB images using data simulation and fully convolutional neural networks. Sensors 17(12):2930. https://doi.org/10.3390/s17122930
Song H, Qu W, Wang D, Yu X, He D (2014) Shadow removal method of apples based on illumination invariant image. Transactions of the Chinese Society of Agricultural Engineering 30(24):168–176. https://doi.org/10.3969/j.issn.1002-6819.2014.24.020
Stajnko D, Lakota M, Hočevar M (2004) Estimation of number and diameter of apple fruits in an orchard during the growing season by thermal imaging. Comput Electron Agric 42(1):31–42. https://doi.org/10.1016/S0168-1699(03)00086-3
Sun S, Wu Q, Jiao L, Long Y, He D, Song H (2018) Recognition of green apples based on fuzzy set theory and manifold ranking algorithm. Optik 165:395–407. https://doi.org/10.1016/j.ijleo.2018.03.085
Wang D, Song H, Tie Z, Zhang W, He D (2016) Recognition and localization of occluded apples using K-means clustering algorithm and convex hull theory: a comparison. Multimed Tools Appl 75(6):3177–3198. https://doi.org/10.1007/s11042-014-2429-9
Wang C, Lee WS, Zou X, Choi D, Gan H, Diamond J (2018) Detection and counting of immature green citrus fruit based on the local binary patterns (LBP) feature using illumination-normalized images. Precis Agric 19(6):1062–1083. https://doi.org/10.1007/s11119-018-9574-5
Wang ZL, Walsh K, Koirala A (2019) Mango fruit load estimation using a video based MangoYOLO-Kalman filter-Hungarian algorithm method. Sensors 19(12):2742. https://doi.org/10.3390/s19122742
Wang D, He D, Song H, Liu C, Xiong H (2019) Combining SUN-based visual attention model and saliency contour detection algorithm for apple image segmentation. Multimed Tools Appl 78(13):17391–17411. https://doi.org/10.1007/s11042-018-7106-y
Wang W, Lu X, Shen J, Crandall D, Shao L (2019) Zero-shot video object segmentation via attentive graph neural networks. In: 2019 IEEE/CVF International Conference on Computer Vision (ICCV), pp 9235–9244. https://doi.org/10.1109/ICCV.2019.00933
Yang C, Zhang L, Lu H, Ruan X, Yang M-H saliency detection via graph-based manifold ranking. In: IEEE Conference on Computer Vision and Pattern Recognition, pp 3166–3173. https://doi.org/10.1109/CVPR.2013.407
Zadeh LA (1965) Fuzzy sets. Inf Control 8(3):338–353. https://doi.org/10.1016/S0019-9958(65)90241-X
Zhao C, Lee WS, He D (2016) Immature green citrus detection based on colour feature and sum of absolute transformed difference (SATD) using colour images in the citrus grove. Comput Electron Agric 124:243–253. https://doi.org/10.1016/j.compag.2016.04.009
The authors would like to thank the funding organizations for financial support. The authors would also like to appreciate all the authors cited in this article and anonymous referees for helpful comments and suggestions.
This study was funded by the National Key R&D Program of China (2019YFD1002401), the National High Technology Research and Development Program of China (863 Program) (2013AA10230402), and Agricultural Science and Technology Project of Shaanxi Province (2016NY-157).
Conflict of interest
The authors declare that they have no conflict of interest.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
About this article
Cite this article
Sun, S., Jiang, M., Liang, N. et al. Combining an information-maximization-based attention mechanism and illumination invariance theory for the recognition of green apples in natural scenes. Multimed Tools Appl (2020). https://doi.org/10.1007/s11042-020-09342-2
- Immature green apple
- Fuzzy set theory
- Visual attention mechanism
- Illumination invariance algorithm
- Fruit recognition