• Laser & Optoelectronics Progress
  • Vol. 55, Issue 11, 111506 (2018)
Lingxiao Fu**, Guangfeng Chen*, and Ge Chen
Author Affiliations
  • College of Mechanical Engineering, Donghua University, Shanghai 201620, China
  • show less
    DOI: 10.3788/LOP55.111506 Cite this Article Set citation alerts
    Lingxiao Fu, Guangfeng Chen, Ge Chen. An Edge Detection Algorithm Applied to Setting Machine[J]. Laser & Optoelectronics Progress, 2018, 55(11): 111506 Copy Citation Text show less
    Sketch of the edge detection system
    Fig. 1. Sketch of the edge detection system
    Top view of probe and moving textile. (a) Normal position; (b) left shift; (c) right shift
    Fig. 2. Top view of probe and moving textile. (a) Normal position; (b) left shift; (c) right shift
    Flow chart of detecting edge
    Fig. 3. Flow chart of detecting edge
    Pixel distribution
    Fig. 4. Pixel distribution
    Original image
    Fig. 5. Original image
    Gray scale response curve of textile and background
    Fig. 6. Gray scale response curve of textile and background
    Grayscale response curve with only edge information
    Fig. 7. Grayscale response curve with only edge information
    Flow chart for solving edge starting point xk
    Fig. 8. Flow chart for solving edge starting point xk
    Flow chart for solving edge terminating point xj
    Fig. 9. Flow chart for solving edge terminating point xj
    Experimental platform
    Fig. 10. Experimental platform
    Creamy white carpet edge detection result. (a) Original grayscale; (b) after median filtering; (c) after algorithm post-processing
    Fig. 11. Creamy white carpet edge detection result. (a) Original grayscale; (b) after median filtering; (c) after algorithm post-processing
    Edge detection result of dark gray cotton cloth with hollowed-out and white stripes. (a) Original grayscale; (b) after median filtering; (c) after algorithm post-processing
    Fig. 13. Edge detection result of dark gray cotton cloth with hollowed-out and white stripes. (a) Original grayscale; (b) after median filtering; (c) after algorithm post-processing
    Edge detection result of dark gray cotton cloth with hollowed-out and white stripes in a light gray background. (a) Original grayscale; (b) after median filtering; (c) after algorithm post-processing
    Fig. 14. Edge detection result of dark gray cotton cloth with hollowed-out and white stripes in a light gray background. (a) Original grayscale; (b) after median filtering; (c) after algorithm post-processing
    Contrast among OTSU algorithm, lattice Boltzmann algorithm, and designed algorithm for edge detection. (a) Original grayscale; (b) after median filtering; (c) after OTSU algorithm post-processing; (d) after lattice Boltzmann algorithm post-processing; (e) after designed algorithm post-processing
    Fig. 15. Contrast among OTSU algorithm, lattice Boltzmann algorithm, and designed algorithm for edge detection. (a) Original grayscale; (b) after median filtering; (c) after OTSU algorithm post-processing; (d) after lattice Boltzmann algorithm post-processing; (e) after designed algorithm post-processing
    ParameterDescription
    Ambient temperature range10-25 ℃
    Ambient humidity (relative)30%-60%
    Measuring height36 mm±2 mm
    Experimental backgroundUniform black light absorbent cloth with flannelette
    Environmental light irradiationNatural light in the laboratory
    Light source typeStripe white light source
    Intensity of light sourceConstant size, controlled by light source controller
    Linear CCD modelTCD1209DG
    CCD exposure time2 ms
    Lens magnification0.9×
    Algorithm computing platformMATLAB 2013a
    CPUIntel Core2 Duo CPU
    Operating system (OS)Windows 7
    Table 1. Experimental parameters of environment platform
    TemplateNoise-to-signalratio /dBProcessingtime /ms
    5×138.49581.890
    7×138.21152.160
    9×137.62202.181
    Table 2. Filtering data of 5×1, 7×1, and 9×1 templates
    FabricActual edge position(pixel ordinal number)Detected edge position(pixel ordinal number)Processing time /ms
    Creamy white carpet101310160.264
    Dark gray carpet9859890.265
    Table 3. High and low gray response fabric edge detection data
    FabricActual edge positionDetected edge positionProcessing time /ms
    Dark gray cotton cloth withhollow and white stripes118911860.279
    Table 4. Edge detection data of dark gray cotton cloth with hollowed-out and white stripes
    BackgroundActual edge positionDetected edge positionProcessing time /ms
    Black background cloth118911860.279
    Light gray background cloth119011880.286
    Table 5. Edge detection data for different background colors
    AlgorithmActual edge positionDetected edge positionProcessing time /ms
    OTSU11639828.478
    Lattice Boltzmann1163115510.658
    Designed116311650.266
    Table 6. Edge detection data of different algorithms
    Lingxiao Fu, Guangfeng Chen, Ge Chen. An Edge Detection Algorithm Applied to Setting Machine[J]. Laser & Optoelectronics Progress, 2018, 55(11): 111506
    Download Citation