Online apple grading based on decision fusion of image features

被引:11
|
作者
Huang C. [1 ]
Fei J. [1 ]
机构
[1] School of Mechanical Engineering, Dalian Jiaotong University, Dalian
关键词
Apple grading; Computer vision; Decision fusion; Feature analysis; Image processing; Support vector machine; Three-layer Canny;
D O I
10.11975/j.issn.1002-6819.2017.01.039
中图分类号
学科分类号
摘要
Machine vision has been applied in automatic grading for fruit recently. It is well known that as an important detection task, online fruit grading automation faces some challenges in online sorting system. Machine vision is a developing technique facilitating the fruit detection. In this paper, in order to improve the accuracy and efficiency for apple grading, an online detection method of apple grading based on machine vision features is presented. Apple images can be captured from the online industrial camera in the sorting system, which can ensure that the imaging view is suitable for the object area of the conveyor. At first, to obtain the relationship between the real size and the image size, the improved calibration algorithm with the standard workpiece is used to calculate the pixel equivalent of the captured image. The distance regularized level set method is introduced to segment the workpiece edge, and the best-fit rectangle method is used to compute the length and width of the pixels. Then the values of pixel equivalent in length and width are respectively obtained. Secondly, because apple grading detections are mostly performed in indoors, illumination can seriously affect the detection accuracy. For this problem mentioned above, the image preprocessing including wavelet compression and median filtering is introduced to reduce the size and overcome the noise which is from the image acquiring and transmission previously. Accordingly, the improved three-layer Canny edge detection algorithm is proposed to extract the apple contour for the online image which suffers from the uneven lighting. In this step, the 3 different thresholds and scales are considered. The morphological operation is used to close the edge. Thirdly, according to the characteristics of the appearance class of the Fuji apple, multi-feature parameters can be considered, which include fruit diameter, defeat area, color degree, fruit shape, texture features, color distribution parameters and so on. Decision tree is used to determine the candidate class with fruit diameter, defeat area and color degree features. In the meanwhile, to save the online computation time, the features set should be reduced. So kernel principal component analysis (KPCA) is used to reduce both nonlinearity and dimension for fruit shape, texture and color distribution features. Support vector machine (SVM) is introduced to classify apple grades with dimensionality reduction features. The parameters of SVM are selected with particle swarm optimization (PSO) method for the training set. Finally, decision fusion is used for the apple grading based on decision tree result and SVM model result. In the experimental case, the actual fruit diameters were measured with vernier caliper for 5 apples, and the machine vision method with pixel equivalent was also used for measuring the fruit diameters of the same apples. Measurement error was about 2.83%. Then 30 apples were selected for training SVM modeling, and 120 apples were used to test the proposed method. The results showed that the recognition accuracy based on the decision fusion of image features could reach 95%. The proposed model has good performance of accuracy and stability. So the proposed method is believed to be feasible for online grading of apples. It also provides a frame of reference for other types of fruits. © 2017, Editorial Department of the Transactions of the Chinese Society of Agricultural Engineering. All right reserved.
引用
收藏
页码:285 / 291
页数:6
相关论文
共 30 条
  • [1] Blasco J., Aleixos N., Molto E., Machine vision system for automatic quality grading of fruit, Biosystems Engineering, 85, 4, pp. 415-423, (2003)
  • [2] Song H., Zhang C., Pan J., Et al., Segmentation and reconstruction of overlappedapple images based on convex hull, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 29, 3, pp. 163-168, (2013)
  • [3] Zhou W., Feng J., Liu G., Et al., Application of image registration technology in apple harvest robot, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 29, 11, pp. 20-26, (2013)
  • [4] Yogitha S., Sakthivel P., A distributed computer machine vision system for automated inspection and grading of fruits, International Conference on Green Computing Communication and Electrical Engineering, pp. 1-4, (2014)
  • [5] Gu Y., Shi G., Liu X., Et al., Optimization spectral clustering algorithm of apple image segmentation with noise based on space feature, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 32, 16, pp. 159-167, (2016)
  • [6] Li Q., Wang M., Gu W., Computer vision based system for apple surface defect detection, Computers & Electronics in Agriculture, 36, 23, pp. 215-223, (2002)
  • [7] Zhu D., Chen B., Yang Y., Et al., Method of haze-removal based on dark channel prior in visual system of apple harvest robot, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 32, 16, pp. 151-158, (2016)
  • [8] Jia W., Zhao D., Ruan C., Et al., De-noising algorithm of night vision image for apple harvesting robot, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 31, 10, pp. 219-226, (2015)
  • [9] Zhao J., Peng Y., Sagar D., Et al., On-line detection of apple surface defect based on image processing method, Transactions of the Chinese Society for Agricultural Machinery, 44, pp. 260-263, (2013)
  • [10] Chen Y., Zhang J., Li W., Et al., Grading method of apple by maximum cross-sectional diameter based on computer vision, Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 28, 2, pp. 284-288, (2012)