林业工程学报2018,Vol.3Issue(2):116-122,7.DOI:10.13360/j.issn.2096-1359.2018.02.019
基于图割算法的木材表面缺陷图像分割
Wood surface defect image segmentation based on Graph Cut algorithm
摘要
Abstract
Since wood surface defect can seriously affect its performance,quality and use value,the segmentation and detection of wood surface defects play important roles in lumber grading evaluation and quality control. Slipknot, wormhole and encased knot of wood surface defect images are selected as the object of this study. In this paper, we investigated the single object,the wood surface defect of multiple?target gray image and color image segmentation. By analyzing the data,we know that wood surface defect image segmentation can effectively improve the utilization rate of wood,thus saving precious forest resources.In order to segment knot and wormhole on planks'surfaces rapidly and effectively,we discussed the principle of the Graph Cut method,which is only effective for gray image segmentation, complex in choosing runtime parameters,and low efficiency and accuracy,and the improved Grab Cut method. These two methods are used to conduct a segmentation experiment with regard to the images of three wood surface defects, namely, slipknots, wormholes and knots. In order to explore the applicability of the Grab Cuts method, the image segmentation verification was performed by using a wood plate image with multiple defect targets. The results showed that the selection of seed points in the target and background of the defect image directly affects the segmentation result of Graph Cuts algorithm. The segmentation result is not ideal because of the low calculation efficiency of Graph Cuts algorithm, long segmentation time, and poor discrimination between adjacent pixels. The improved Grab Cut algorithm is an iterative Graph Cuts. Although this method requires manual drawing of the initialized rectangular frame before the image segmentation, the operation is relatively simple, and the segmentation result can achieve a completely closed boundary of the defect area and is not affected by the type,quantity and size of surface defect,and the shape of defects. Due to the advantages of good segmentation effect,fast segmentation and strong anti?noise,this method is suitable for both grayscale and color images.关键词
木材表面缺陷/图像分割/Graph Cuts算法/Grab Cut算法Key words
wood surface defects/image segmentation/Graph Cuts algorithm/Grab Cut algorithm分类
信息技术与安全科学引用本文复制引用
白雪冰,李润佳,许景涛,宋恩来..基于图割算法的木材表面缺陷图像分割[J].林业工程学报,2018,3(2):116-122,7.基金项目
黑龙江省自然科学基金项目(C201208). (C201208)