张成梁, 李蕾, 董全成, 葛荣雨. 基于GA-SVM模型的机采籽棉杂质识别[J]. 农业工程学报, 2016, 32(24): 189-196. DOI: 10.11975/j.issn.1002-6819.2016.24.025
    引用本文: 张成梁, 李蕾, 董全成, 葛荣雨. 基于GA-SVM模型的机采籽棉杂质识别[J]. 农业工程学报, 2016, 32(24): 189-196. DOI: 10.11975/j.issn.1002-6819.2016.24.025
    Zhang Chengliang, Li Lei, Dong Quancheng, Ge Rongyu. Recognition for machine picking seed cotton impurities based on GA-SVM model[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2016, 32(24): 189-196. DOI: 10.11975/j.issn.1002-6819.2016.24.025
    Citation: Zhang Chengliang, Li Lei, Dong Quancheng, Ge Rongyu. Recognition for machine picking seed cotton impurities based on GA-SVM model[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2016, 32(24): 189-196. DOI: 10.11975/j.issn.1002-6819.2016.24.025

    基于GA-SVM模型的机采籽棉杂质识别

    Recognition for machine picking seed cotton impurities based on GA-SVM model

    • 摘要: 针对中国机采棉加工过程中混级混轧、缺乏棉花参数检测的现状,提出使用遗传算法优化支持向量机参数的机采籽棉图像分割、杂质识别方法。在图像分割阶段,采用像素点邻域的色调、饱和度、亮度颜色特征与平均亮度、平均对比度、平滑度、三阶矩、一致性、熵等纹理特征构建特征向量,使用最优保留策略的遗传算法优化惩罚参数及核函数参数,建立图像分割SVM分类器;对杂质识别过程,在计算标记区域的颜色特征、纹理特征基础上,增加面积、周长、离心率、矩形度、形状因子等形状特征,使用遗传算法建立杂质识别SVM分类器。测试结果表明,该方法适用于边缘对比度低、纹理信息丰富的机采籽棉含杂图像分割,对杂质的有效识别率为92.6%。该研究为棉花加工设备的参数优化和国产采棉机的研制及优化提供重要参考依据。

       

      Abstract: Abstract: The processing technology of the machine picking seed cotton (MPSC) should be influenced significantly by the kinds and the contents of impurities. But during the MPSC processes in China, there is a lot of the mixed level and the mixed ginned, as well as the lack of online detection technology. In view of the present situations, a method for the identification of impurities in MPSC image using genetic algorithm (GA) to optimize the SVM parameters has been presented in this paper. First, in order to label three categories of the cotton fiber, the light-colored impurities and the dark impurities, the feature vectors were constructed for the image segmentation by the color characteristics of hue, saturation and intensity of pixel neighborhood, and the texture features of the average brightness, the average contrast, the smoothness, the third moment, the consistency and the entropy. GA of optimal retention strategy was used to optimize the penalty parameter and kernel function parameter to establish the SVM classifier of image segmentation, and then morphological operation such as hole filling, opening operation, closing operation was adopted. The specific operation was the use of open operation on light-colored impurities to eliminate the influence of small area noise; while the use of closed operation on dark impurities to smooth the target boundary on the basis of retaining small areas of dust. Then, for the impurity recognition process, shape features including area, perimeter, eccentricity, rectangle degree and shape factor were added to feature vectors besides color feature and texture feature of marked region; five categories of cottonseed, cotton leaf, bell shell, stiff valve and dust miscellaneous were marked; and the SVM classifier for impurity recognition by GA was established. At last, automatic segmentation and impurity recognition for MPSC image were realized using these two SVM classifiers. For the experiment MPSC was taken as the test material. The color planar array CCD camera of technical grade (MV-EM510C/M, Microvision, Inc.) with the industrial lens (M0824-MPW2) was used for the shooting system which included the LED diffuse light source of a 4-segment strip (AFT-WL21244-22W) and the light source controller (AFT-ALP2430-02). When shooting, the camera and the light source were placed in the darkroom, and the MPSC used for the test was pressed against the transparent glass plate on the other side of the darkroom. The data training and the picture test were conducted using MATLAB R2014b and libsvm-3.21 toolbox, and 60 pictures were equally used for both training and testing. The SVM multi-classifier was established during segmentation and recognition operation instead of simple binary classifier. This method utilized SVM small sample and high dimensionality learning ability, and the segmentation and recognition accuracy were further increased. Experimental results show that, comparing with the segmentation results from fuzzy C - means clustering algorithm and traditional SVM algorithm, the classification accuracy was improved significantly by using neighborhood spatial information. When the contrast of the edge of the target area in the image was weak, the suggested method could effectively avoid the situation of taking the shadow of the target as the edge which had shown great adaptability in applications. In this study, compared with the traditional SVM recognition algorithm, GA was used to automatically optimize SVM penalty parameter and kernel function parameter. SVM classifiers for image segmentation and impurity recognition were obtained through the suggested method overcame the blindness of parameter selection and the shortcomings of BP neural network generalization ability. Since the data distribution shapes of the homogeneous image in the color space are usually of similarity, and the characteristics of MPSC impurities texture are of stability, the optimal SVM parameters are common to the same kind of images, while for the other MPSC images with impurities, these two classifiers can be directly used to achieve the image segmentation and the impurity recognition automatically. The test results showed that the suggested method was suitable for the segmentation of natural impurities in MPSC image of low edge contrast and rich texture information, and its effective recognition rate of natural impurities was 92.6%. The study can provide important reference for the parameter optimization of cotton processing equipment and the development and optimization of domestic cotton picker.

       

    /

    返回文章
    返回