Segmentation algorithm of muskmelon fruit with complex background
-
-
Abstract
Abstract: In order to solve the problem of muskmelon fruit image segmentation under a complex background, an algorithm of image segmentation based on fusing color feature and texture feature was proposed in this paper. First, the collected muskmelon fruit images were transformed from RGB color space to CIELAB color space and HSV space respectively. According to the color characteristics of muskmelon fruit, the collected images were binarized using the threshold of angle model that was set up in using a*b* components in CIELAB color space. To reduce the influence of the uneven illumination distribution of segmentation, the H S components segmentation threshold was selected to binarize the collected images. Converging the results of the angle model segmentation and the HS weighted threshold segmentation, the results were obtained based on color feature segmentation. Then, the image texture features were extracted and the binarization images were obtained by using texture feature threshold. The segmentation results were achieved by fusing the texture features and the color feature segmentation result. Finally, taking the fruit color feature segmentation area as the qualification, the final segmentation results were obtained by binding growth based on the segmentation area that were obtained by fusing color features and texture features. In order to evaluate the effect of proposed algorithm, the collected images were segmented using the super green threshold algorithm and the NDI algorithm and the results were gained. The average detection rate of three algorithms were 83.24%, 43.12% and 99.09%, respectively. Comparing the results of the detection rate and false detection rate, the experimental results of the proposed algorithm were superior to super green feature segmentation and normalized difference index (NDI) segmentation algorithm.
-
-