An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment

During the recognition and localization process of green apple targets, problems such as uneven illumination, occlusion of branches and leaves need to be solved. In this study, the multi-scale Retinex with color restoration (MSRCR) algorithm was applied to enhance the original green apple images cap...

Full description

Bibliographic Details
Main Authors: Sashuang Sun, Huaibo Song, Dongjian He, Yan Long
Format: Article
Language:English
Published: KeAi Communications Co., Ltd. 2019-06-01
Series:Information Processing in Agriculture
Online Access:http://www.sciencedirect.com/science/article/pii/S2214317318301616
id doaj-a88cc3725a214569b555a9d8b38a9d12
record_format Article
spelling doaj-a88cc3725a214569b555a9d8b38a9d122021-04-02T14:19:30ZengKeAi Communications Co., Ltd.Information Processing in Agriculture2214-31732019-06-0162200215An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environmentSashuang Sun0Huaibo Song1Dongjian He2Yan Long3College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling, Shaanxi 712100, China; Key Laboratory of Agricultural Internet of Things, Ministry of Agriculture and Rural Affairs, Yangling, Shaanxi 712100, China; Shaanxi Key Laboratory of Agricultural Information Perception and Intelligent Service, Yangling, Shaanxi 712100, ChinaCorresponding author at: College of Mechanical and Electronic Engineering, Northwest A&F University, 22 Xinong Road, Yangling City, Shaanxi Province 712100, China.; College of Mechanical and Electronic Engineering, Northwest A&F University, Yangling, Shaanxi 712100, China; Key Laboratory of Agricultural Internet of Things, Ministry of Agriculture and Rural Affairs, Yangling, Shaanxi 712100, China; Shaanxi Key Laboratory of Agricultural Information Perception and Intelligent Service, Yangling, Shaanxi 712100, ChinaCollege of Mechanical and Electronic Engineering, Northwest A&F University, Yangling, Shaanxi 712100, China; Key Laboratory of Agricultural Internet of Things, Ministry of Agriculture and Rural Affairs, Yangling, Shaanxi 712100, China; Shaanxi Key Laboratory of Agricultural Information Perception and Intelligent Service, Yangling, Shaanxi 712100, ChinaCollege of Mechanical and Electronic Engineering, Northwest A&F University, Yangling, Shaanxi 712100, China; Key Laboratory of Agricultural Internet of Things, Ministry of Agriculture and Rural Affairs, Yangling, Shaanxi 712100, China; Shaanxi Key Laboratory of Agricultural Information Perception and Intelligent Service, Yangling, Shaanxi 712100, ChinaDuring the recognition and localization process of green apple targets, problems such as uneven illumination, occlusion of branches and leaves need to be solved. In this study, the multi-scale Retinex with color restoration (MSRCR) algorithm was applied to enhance the original green apple images captured in an orchard environment, aiming to minimize the impacts of varying light conditions. The enhanced images were then explicitly segmented using the mean shift algorithm, leading to a consistent gray value of the internal pixels in an independent fruit. After that, the fuzzy attention based on information maximization algorithm (FAIM) was developed to detect the incomplete growth position and realize threshold segmentation. Finally, the poorly segmented images were corrected using the K-means algorithm according to the shape, color and texture features. The users intuitively acquire the minimum enclosing rectangle localization results on a PC. A total of 500 green apple images were tested in this study. Compared with the manifold ranking algorithm, the K-means clustering algorithm and the traditional mean shift algorithm, the segmentation accuracy of the proposed method was 86.67%, which was 13.32%, 19.82% and 9.23% higher than that of the other three algorithms, respectively. Additionally, the false positive and false negative errors were 0.58% and 11.64%, respectively, which were all lower than the other three compared algorithms. The proposed method accurately recognized the green apples under complex illumination conditions and growth environments. Additionally, it provided effective references for intelligent growth monitoring and yield estimation of fruits. Keywords: Green fruit, Adaptive segmentation, MSRCR algorithm, Mean shift algorithm, K-means clustering algorithm, Manifold ranking algorithmhttp://www.sciencedirect.com/science/article/pii/S2214317318301616
collection DOAJ
language English
format Article
sources DOAJ
author Sashuang Sun
Huaibo Song
Dongjian He
Yan Long
spellingShingle Sashuang Sun
Huaibo Song
Dongjian He
Yan Long
An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment
Information Processing in Agriculture
author_facet Sashuang Sun
Huaibo Song
Dongjian He
Yan Long
author_sort Sashuang Sun
title An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment
title_short An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment
title_full An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment
title_fullStr An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment
title_full_unstemmed An adaptive segmentation method combining MSRCR and mean shift algorithm with K-means correction of green apples in natural environment
title_sort adaptive segmentation method combining msrcr and mean shift algorithm with k-means correction of green apples in natural environment
publisher KeAi Communications Co., Ltd.
series Information Processing in Agriculture
issn 2214-3173
publishDate 2019-06-01
description During the recognition and localization process of green apple targets, problems such as uneven illumination, occlusion of branches and leaves need to be solved. In this study, the multi-scale Retinex with color restoration (MSRCR) algorithm was applied to enhance the original green apple images captured in an orchard environment, aiming to minimize the impacts of varying light conditions. The enhanced images were then explicitly segmented using the mean shift algorithm, leading to a consistent gray value of the internal pixels in an independent fruit. After that, the fuzzy attention based on information maximization algorithm (FAIM) was developed to detect the incomplete growth position and realize threshold segmentation. Finally, the poorly segmented images were corrected using the K-means algorithm according to the shape, color and texture features. The users intuitively acquire the minimum enclosing rectangle localization results on a PC. A total of 500 green apple images were tested in this study. Compared with the manifold ranking algorithm, the K-means clustering algorithm and the traditional mean shift algorithm, the segmentation accuracy of the proposed method was 86.67%, which was 13.32%, 19.82% and 9.23% higher than that of the other three algorithms, respectively. Additionally, the false positive and false negative errors were 0.58% and 11.64%, respectively, which were all lower than the other three compared algorithms. The proposed method accurately recognized the green apples under complex illumination conditions and growth environments. Additionally, it provided effective references for intelligent growth monitoring and yield estimation of fruits. Keywords: Green fruit, Adaptive segmentation, MSRCR algorithm, Mean shift algorithm, K-means clustering algorithm, Manifold ranking algorithm
url http://www.sciencedirect.com/science/article/pii/S2214317318301616
work_keys_str_mv AT sashuangsun anadaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT huaibosong anadaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT dongjianhe anadaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT yanlong anadaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT sashuangsun adaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT huaibosong adaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT dongjianhe adaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
AT yanlong adaptivesegmentationmethodcombiningmsrcrandmeanshiftalgorithmwithkmeanscorrectionofgreenapplesinnaturalenvironment
_version_ 1721562600554102784