张林, 韦平, 伍剑波, 刘翔, 苏真伟. 基于线激光与LED的棉花中异性纤维检测方法[J]. 农业工程学报, 2016, 32(15): 289-293. DOI: 10.11975/j.issn.1002-6819.2016.15.040
    引用本文: 张林, 韦平, 伍剑波, 刘翔, 苏真伟. 基于线激光与LED的棉花中异性纤维检测方法[J]. 农业工程学报, 2016, 32(15): 289-293. DOI: 10.11975/j.issn.1002-6819.2016.15.040
    Zhang Lin, Wei Ping, Wu Jianbo, Liu Xiang, Su Zhenwei. Detection method of foreign fibers in cotton based on illumination of line-laser and LED[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2016, 32(15): 289-293. DOI: 10.11975/j.issn.1002-6819.2016.15.040
    Citation: Zhang Lin, Wei Ping, Wu Jianbo, Liu Xiang, Su Zhenwei. Detection method of foreign fibers in cotton based on illumination of line-laser and LED[J]. Transactions of the Chinese Society of Agricultural Engineering (Transactions of the CSAE), 2016, 32(15): 289-293. DOI: 10.11975/j.issn.1002-6819.2016.15.040

    基于线激光与LED的棉花中异性纤维检测方法

    Detection method of foreign fibers in cotton based on illumination of line-laser and LED

    • 摘要: 激光成像可以检测出皮棉中的白色异性纤维,而深色和有色的异性纤维反光性能差,激光成像难以检测。该文提出了一种基于LED与线激光的双光源一次成像方法,可以检测出各种颜色的异性纤维。试验以白色、深色和浅色共20种典型异性纤维和皮棉作为样本,在相机曝光时间与光圈不变的条件下,逐步改变LED亮度和线激光功率,发现在RGB 颜色空间,利用R(红色)通道,白色异性纤维与棉花的可分度随着激光功率的增大而增大,达到峰值之后又逐步减小;在HIS颜色空间,利用S(饱和度)通道,有色异性纤维与棉花的可分度随着LED亮度的增大而增大,达到峰值之后又逐步减小。在此基础上,该文获取了310幅棉花与异性纤维的图像,作出了基于R与S通道的图像可分度、LED亮度与激光功率的对应变化曲线,然后将两种曲线进行融合,在曝光时间106 μs、光圈2.8C条件下,发现线激光功率7.01 mW、LED亮度3 326 lx时,白色异性纤维和深色、有色异性纤维与棉花的可分度最大。采用上述双光源成像参数和该文的成像装置获取840幅图像,通过简单的二值化图像分割算法,白色异性纤维的正确识别为84.1%,深色和有色异性纤维正确识别为93.9%,优于单独激光成像或单独LED成像的识别率。

       

      Abstract: It is difficult for the existing machine vision systems to sort out white foreign fibers (contaminants) from cotton because their colors are the same or very close.The laser imaging method previously suggested by our research team can detect most of the white foreign fibers in cotton, but the reflect lights of laser from most of the colored foreign fibers, especially from the ones with deep colors are so weak that the colored foreign fibers cannot be distinguished from cotton.In this paper, a new method using a double-light illumination of light emitting diode (LED) and laser for imaging was presented, which could detect different colored foreign fibers, including most of the foreign fibers with white color and deep colors.In the experiment, lint cotton and 20 kinds of typical foreign fibers with deep colors, light colors and white color were collected from a textile plant, and then the foreign fibers were randomly distributed on the cotton surface and driven by a conveyor.Using the line-laser at wavelength of 658 nm, exposure time of 106 μs and aperture of 2.8 C that were previously suggested by our team, 310 frames of the sample images were obtained by a high-speed color line-scan camera under the double-light illumination formed by 2 LED arrays with adjustable luminance and a line-laser with adjustable power.Then, the quantized differences of foreign fibers and cotton background in each frame of the image were calculated by their average pixel values in R channel of RGB (red, green and blue) color space and their average saturation values in S channel of HIS (hue, saturation and intensity) color space separately.Based on the experiment, it was found that in the R channel or S channel, with the increase of the line-laser power or the LED luminance, quantized differences of the foreign fibers and cotton were enlarged, and after the differences reached the maximum value, the curve gradually decreased from the top.Thus, by the significant difference of the targets and background at the 2 curves’ tops respectively, the white foreign fibers and other colored fibers could be easily detected from cotton in the images under the double-light imaging condition.Combining the 2 curves together, an optimized imaging method was obtained, by which the images were captured by a colored line scan camera L301KC at the exposure time of 106 μs and aperture of 2.8 C under the double-light illumination with the LED luminance of 3326lx and the line-laser at wavelength of 658 nm and power of 7.01 mW.Finally, in a comparing experiment, 840 frames of images of 20 kinds of typical foreign fibers with different colors on the cotton surface were taken by the double-light imaging method, LED light imaging method and line-laser imaging method respectively.Then, using the Sobel edge detecting algorithm, the whole successful detecting rate was 86.7% for the double-light imaging method; using the fixed threshold binary algorithm, the successful detecting rates of the white foreign fibers and the other colored fibers could reach up to 84.1% and 93.9% respectively, which were much higher than that of the images from the illumination of individual light source of LED or laser.Next research will focus on the development of the double-light imaging method from the laboratory stage to an on-line stage and the design of faster and more efficient image processing algorithms.

       

    /

    返回文章
    返回