Welcome to visit Scientia Silvae Sinicae,Today is

Scientia Silvae Sinicae ›› 2018, Vol. 54 ›› Issue (11): 134-142.doi: 10.11707/j.1001-7488.20181119

Previous Articles     Next Articles

Research on Adaptive Fast Threshold Segmentation Algorithm for Surface Defect Detection of Wood-Based Panel

Guo Hui1, Wang Xiao1, Liu Chuanze2, Zhou Yucheng1,2   

  1. 1. Research Institute of Wood Industry, CAF Beijing 100091;
    2. School of Information and Electrical Engineering, Shandong Jianzhu University Jinan 250101
  • Received:2018-04-02 Revised:2018-06-05 Online:2018-11-25 Published:2018-12-04

Abstract: [Objective] An adaptive fast thresholding image segmentation algorithm was proposed in this paper, which could quickly and accurately separate the defects from the surface images of wood-based panels,and provide support for on-line detection of wood-based panel surface defects.[Method] Firstly,the algorithm divided the whole image into several sub-regions. Secondly,the defect areas were located by calculating the variance of each sub-region. And then,the image segment was only done in defect areas for solving the problem of accurate segmentation of small targets.The one-dimension gray scale histogram of extracted defect area was processedusing histogram smoothing to remove the non-significant peaks.According to the main wave peaks reserved in the histogram after the processing,the number of the thresholds and segmentation interval for each threshold were determined adaptively. At each interval,the threshold was searched using an improved fast Otsu segmentation algorithm.Through the analysis of the Otsu algorithm,the threshold was found by a conditional search instead of the exhaustive search and the search direction was specified. In each segmentation interval, the improved fast Otsu segmentation algorithm was used to search the threshold,which improved the search speed.[Result] The segmentations of surface images of wood-based panels with five types of defects such as oil stains,big wood shavings,glue spots,sundries and loose regions were done using the adaptive fast algorithm proposed in this paper. Although the number and type of the defects were not fixed,this algorithm still could determine the number of the thresholds automatically. All kinds of defects were separated from the surface images in 15 ms with a above 97% segmentation accuracy rate.[Conclusion] The adaptive fast threshold segmentation algorithm presented in this paper can quickly and accurately separate the defects from the surfaces of the panels,and the execution speed and the segmentation effect meets the requirements of the on-line defect detection system. It provides a new approach for automatic on-line detection of surface defects on wood-based panels.

Key words: Otsu threshold segmentation algorithm, image segmentation, surface defect detection of wood-based panel

CLC Number: