林业科学2019,Vol.55Issue(5):125-133,9.DOI:10.11707/j.1001-7488.20190514
一种基于图像处理的旋切原木直径测量方法
A Measurement Method of Log Diameter for Rotary Cutting Machines Based on Image Processing
摘要
Abstract
[Objective] A non-contact log diameter measurement method for a rotary cutting machine based on image processing technology was proposed in this paper with the aim to provide technical support for the non-contact,low-cost measurement of log diameter for a rotary cutting.[Method] In this study,a red line laser of 650 nm source and an invisible line laser source of 940 nm were added as auxiliary light sources,a Raspberry Pi camera and a USB-interface driverless high-definition industrial camera were selected for different laser light sources to acquire the images,respectively.Five methods of calculation (calculate arc length method,calculate perimeter length method,skeletal method,circle-fitting method,calculate the number of pixels in X axis,and six kinds of fitting method (Fourier fitting method,Exponential fitting method,Gaussian fitting method,Polynomial fitting method,Power fitting method,Sum of Sine method) were adopted when exploring which method is the best way to measure the diameter of the log on the premise of satisfying the precision requirements.[Result] By comparing the goodness of the different fitting method,two schemes of best fitting goodness can be obtained.They're respectively the method of calculating the number of pixels in X axis of laser line and applying the fitting method of Sum of Sine,the coefficient of determination was 0.999 8 and the standard deviation was 1.638.And the method of calculating the number of pixels in X axis of laser line and applying the fitting method of Fourier,the coefficient of determination was 0.999 8 and the standard deviation was 1.881.Furthermore,during the error analysis of log measurements to compare the two method,Fourier fitting and Sum of Sine fitting,had less difference in goodness of fitting.The average absolute error range of the Fourier fitting method was 1.7%,the standard deviation was 2.11,and the variance was 4.45.The average absolute error range of the Sum of Sine fitting method was 1.5%,the standard deviation was 4.35,and the variance was 18.95.[Conclusion] The scheme of calculating the number of pixels in X axis of laser line and applying the fitting method of Fourier can obtain the best goodness of fitting while satisfying the measurement precision of the diameter of the log for the rotary cutting machine.关键词
原木直径测量/图像处理/激光器/标定拟合Key words
log diameter measurement/image processing/laser/calibration and fitting分类
轻工纺织引用本文复制引用
闫磊,高翔,王腾雨,庞磊,苏霖,康永祯..一种基于图像处理的旋切原木直径测量方法[J].林业科学,2019,55(5):125-133,9.基金项目
The Fundamental Research Funds for the Central Universities(2015ZCQ-GX-03) (2015ZCQ-GX-03)
National Natural Science Foundation of China (31770769). (31770769)