

技术领域technical field
本发明涉及林木测量,尤其涉及一种基于光学相似三角形法的立木胸径测量方法。The invention relates to forest tree measurement, in particular to a method for measuring the diameter at breast height of a standing tree based on an optical similar triangle method.
背景技术Background technique
森林蓄积量是国家自然资源的重要组成部分,其消长动态是林业经济效益的主要标志,也是制定采伐培育计划的依据。传统的森林林木胸径测量方法如采用胸径测量围尺或轮尺,将长度转换为直径刻度,从而进行林木胸径估测,操作中受环境及人为因素影响大,结果误差极大。为了解决上述问题,发明人提供了一种基于光学相似三角形法的立木胸径测量方法。Forest stock volume is an important part of the country's natural resources, and its growth and decline dynamics are the main symbol of forestry economic benefits and the basis for formulating felling and cultivation plans. The traditional method of measuring forest tree diameter at breast height, such as using a diameter measuring girth or a caliper, converts the length into a diameter scale, so as to estimate the forest tree diameter at breast height. The operation is greatly affected by environmental and human factors, and the result error is huge. In order to solve the above problems, the inventor provides a method for measuring the diameter at breast height of standing trees based on the optical similar triangle method.
发明内容Contents of the invention
鉴于上述现有技术的不足以及实际应用的需要,本发明提供一种基于光学相似三角形法的立木胸径测量方法,实现简单快速、无接触的立木胸径测量。In view of the above-mentioned deficiencies in the prior art and the needs of practical applications, the present invention provides a method for measuring the diameter at breast height of standing trees based on the optical similar triangle method, so as to realize simple, fast and non-contact measurement of the diameter at breast height of standing trees.
本发明是通过以下具体技术方案实现的:The present invention is achieved through the following specific technical solutions:
本发明提供一种基于光学相似三角形法的立木胸径测量方法,所述方法包括以下步骤:The invention provides a method for measuring the diameter of standing trees based on the optical similar triangle method, the method comprising the following steps:
步骤一、对所拍摄的立木图像进行预处理,提取单像素的激光光斑骨架部分后,得到所述激光光斑在相平面的点(X’,Y’);Step 1. Perform preprocessing on the photographed standing tree image, extract the laser spot skeleton part of a single pixel, and obtain the point (X', Y') of the laser spot on the phase plane;
步骤二、根据光学相似三角形原理,将上述激光光斑落在相平面的点(X’,Y’)向三维空间进行坐标转换得到点(X,Y,Z);Step 2. According to the principle of optical similar triangles, the point (X', Y') where the above-mentioned laser spot falls on the phase plane is converted to the three-dimensional space to obtain the point (X, Y, Z);
步骤三、对上述所得三维空间点(X,Y,Z)进行处理后,向水平方向进行投影得点(X投,Y投);采用最小二乘圆拟合方法对点(X投,Y投)进行圆拟合;Step 3, after processing the above-mentioned three-dimensional space points (X, Y, Z), project to the horizontal direction to get points (Xprojection , Yprojection ); use least squares circle fitting method to point (Xprojection , Yprojection ) ) for circle fitting;
步骤四、上述拟合后所得圆半径参数即为被测立木的胸径大小;Step 4, the circle radius parameter obtained after the above-mentioned fitting is the diameter at breast height of the measured standing tree;
步骤二中所述根据光学三角原理,将激光光斑落在相平面的坐标点(X’,Y’)向三维空间进行坐标转换得到点(X,Y,Z)包括:According to the principle of optical triangulation described in step 2, the coordinate point (X', Y') where the laser spot falls on the phase plane is converted to the three-dimensional space to obtain the point (X, Y, Z) including:
由以下表达式:by the following expression:
实现立木图像相平面的坐标点(X’,Y’)向三维空间的坐标点(X,Y,Z)的转换;其中,f为实验设备中的焦距,b为激光源到摄像机光轴的距离,θ为激光源射出的光平面与COMS平面所成夹角。Realize the conversion of the coordinate point (X', Y') of the phase plane of the standing tree image to the coordinate point (X, Y, Z) of the three-dimensional space; where, f is the focal length in the experimental equipment, b is the distance from the laser source to the optical axis of the camera Distance, θ is the angle formed between the light plane emitted by the laser source and the COMS plane.
步骤三中所述采用最小二乘圆拟合方法对点(X投,Y投)进行拟合包括(如下原理推导式中采用X,Y来表达X投,Y投):In step 3, using the least squares circle fitting method to fit the points (Xprojection , Yprojection ) includes (the following principle derivation uses X, Y to express Xprojection , Yprojection ):
令:make:
由Depend on
得:have to:
实现最小二乘圆拟合;其中a,b,c为圆一般方程的系数,C,D,E,G,H为中间计算参量,N为所有特征点总数。Realize the least squares circle fitting; where a, b, c are the coefficients of the general equation of the circle, C, D, E, G, H are the intermediate calculation parameters, and N is the total number of all feature points.
本发明的特点及技术效果:Features and technical effects of the present invention:
由上述一种基于光学相似三角形法的立木胸径测量方法可以看出,本发明通过实现相平面坐标点(X’,Y’)向三维空间坐标点(X,Y,Z)的转换,以及采用最小二乘圆拟合方法对点(X投,Y投)进行拟合,从而简单快速、无接触的测得立木实际胸径大小;尤其是在对林木实现大量测量的工作中,与传统的测量技术相比,能够在很大程度上减少时间及人力消耗。As can be seen from the above-mentioned standing tree diameter measurement method based on the optical similar triangle method, the present invention realizes the conversion of the phase plane coordinate point (X', Y') to the three-dimensional space coordinate point (X, Y, Z), and adopts The least squares circle fitting method fits the points (Xprojection , Yprojection ), so that the actual diameter of standing trees can be measured simply, quickly and without contact; Compared with technology, it can greatly reduce the time and labor consumption.
附图说明Description of drawings
图1为本发明立木胸径测量系统图;Fig. 1 is a standing tree diameter measurement system diagram of the present invention;
图2为本发明具体实施方法的流程图;Fig. 2 is the flow chart of specific implementation method of the present invention;
图3为本发明具体实施方法中的光学相似三角形法原理图;Fig. 3 is the schematic diagram of the optical similar triangle method in the specific implementation method of the present invention;
图4为本发明具体实施方法中的圆拟合原理图;Fig. 4 is a schematic diagram of circle fitting in the specific implementation method of the present invention;
具体实施方式Detailed ways
本发明具体实施方法提供一种基于光学三角形法的立木胸径测量方法,所述方法如图1所示,包括以下步骤:The specific implementation method of the present invention provides a kind of standing tree diameter measuring method based on optical triangulation method, described method as shown in Figure 1, comprises the following steps:
步骤一、对所拍摄的立木图像进行预处理,提取单像素的激光光斑骨架部分后,得到所述激光光斑在相平面的点(X’,Y’);Step 1. Perform preprocessing on the photographed standing tree image, extract the laser spot skeleton part of a single pixel, and obtain the point (X', Y') of the laser spot on the phase plane;
该步骤中所述立木图像预处理方法包括对图像进行G(绿色)分量及B(蓝色)分量弱化后,对立木图像进行二值化处理;该步骤中所述提取单像素的激光光斑骨架方法包括对图像采用数学形态学的基本算法——膨胀和腐蚀来实现激光光斑的细化,然后通过寻找细化后图像的最大联通区域来去除激光光斑骨架以外的噪声点,从而得到单像素的激光光斑骨架部分。The standing tree image preprocessing method described in this step comprises after carrying out G (green) component and B (blue) component weakening to image, carries out binarization processing to standing tree image; Said in this step extracts the laser spot skeleton of single pixel The method includes using the basic algorithm of mathematical morphology—expansion and erosion to realize the thinning of the laser spot, and then removing the noise points outside the skeleton of the laser spot by finding the largest connected area of the thinned image, so as to obtain a single-pixel image. The skeleton part of the laser spot.
步骤二、根据光学相似三角形原理,将上述激光光斑落在相平面的点(X’,Y’)向三维空间进行坐标转换得到点(X,Y,Z);Step 2. According to the principle of optical similar triangles, the point (X', Y') where the above-mentioned laser spot falls on the phase plane is converted to the three-dimensional space to obtain the point (X, Y, Z);
该步骤中所述将激光光斑落在相平面的点(X’,Y’)向三维空间转换得到点(X,Y,Z)是通过图3中所示光学三角形原理进行推导计算,得到式1,从而实现相平面的点坐标(X’,Y’)向三维空间转换得到点(X,Y,Z)。In this step, the point (X', Y') where the laser spot falls on the phase plane is converted to the three-dimensional space to obtain the point (X, Y, Z) is derived and calculated by the principle of optical triangle shown in Figure 3, and the formula 1. In this way, the point coordinates (X', Y') of the phase plane can be converted to the three-dimensional space to obtain the point (X, Y, Z).
式1I Formula 1I
其中,f为实验设备中的焦距,b为激光源到摄像机光轴的距离,θ为激光源射出的光平面与COMS平面所成夹角,(X’,Y’)为相平面的点M’坐标,(X,Y,Z)为三维空间点M坐标;Among them, f is the focal length in the experimental equipment, b is the distance from the laser source to the optical axis of the camera, θ is the angle between the light plane emitted by the laser source and the COMS plane, (X', Y') is the point M of the phase plane 'coordinates, (X, Y, Z) is the M coordinate of the three-dimensional space point;
步骤三、对上述所得三维空间点(X,Y,Z)进行处理后,向水平方向进行投影得点(X投,Y投);采用最小二乘圆拟合方法对点(X投,Y投)进行圆拟合;Step 3, after processing the above-mentioned three-dimensional space points (X, Y, Z), project to the horizontal direction to get points (Xprojection , Yprojection ); use least squares circle fitting method to point (Xprojection , Yprojection ) ) for circle fitting;
该步骤中所述三维空间的点(X,Y,Z)向水平方向进行投影得点(X投,Y投)包括将三维空间点所在坐标平面向水平面投影,所述水平面与三维空间点所在坐标平面之间的夹角为90°-θ;所述投影所得点(X投,Y投)与三维空间点中的(X,Y)之间存在如关系:The points (X, Y, Z) in the three-dimensional space described in this step are projected to the horizontal direction to get points (Xprojection , Yprojection ) comprising projecting the coordinate plane where the three-dimensional space point is located to the horizontal plane, and the horizontal plane and the coordinates where the three-dimensional space point is located The angle between the planes is 90°-θ; there is such a relationship between the projected point (Xprojection , Yprojection ) and (X, Y) in the three-dimensional space point:
X投=XXvote = X
Y投=Y·cos(90°-θ)Ycast = Y cos(90°-θ)
该步骤中所述采用最小二乘圆拟合方法对点(X投,Y投)进行圆拟合包括:最小二乘圆拟合方法是通过最小误差的平方和找到一组数据的最佳函数匹配,可通过下述方法实现最小二乘圆拟合方法(如下原理推导式中采用X,Y来表达X投,Y投);Said in this step adopts the least squares circle fitting method to carry out circle fitting to the point (Xthrows , Ythrows ) and comprises: the least squares circle fitting method is to find the optimal function of a group of data by the square sum of minimum error Matching, the least squares circle fitting method can be realized by the following method (in the following principle derivation formula, X and Y are used to express Xcast and Ycast );
圆曲线方程式为:The equation of a circular curve is:
R2=(X-A)2+(Y-B)2R2 =(XA)2 +(YB)2
展开式得:Expanded to get:
R2=X2-2AX+A2+Y2-2BY+B2R2 =X2 -2AX+A2 +Y2 -2BY+B2
令make
a=-2Aa=-2A
b=-2Bb=-2B
c=A2+B2-R2c=A2 +B2 -R2
故可得圆曲线一般方程式:Therefore, the general equation of the circular curve can be obtained:
X2+Y2+aX+bY+c=0X2 +Y2 +aX+bY+c=0
只要求出参数a,b,c即可求得圆心半径的参数:Only the parameters a, b, and c are required to obtain the parameters of the radius of the center of the circle:
点集(Xi,Yi)i∈(1,2,3...N)中点到圆心距离为di:The distance from the point to the center of the point set (Xi , Yi )i∈(1, 2, 3...N) is di :
di=(Xi-A)2+(Yi-B)2di =(Xi -A)2 +(Yi -B)2
点(Xi,Yi)到圆边缘的距离的平方与半径平方的差为:The difference between the square of the distance from the point (Xi , Yi ) to the edge of the circle and the square of the radius is:
令Q(α,b,c)为δi的平方和:Let Q(α,b,c) be the sum of the squares ofδi :
求解参数a,b,c使得Q(a,b,c)的值最小即可;Solve the parameters a, b, c so that the value of Q(a, b, c) is the smallest;
令make
D=(N∑XiYi-∑Xi∑Yi)D=(N∑Xi Yi -∑Xi ∑Yi )
可以解得:can be solved:
得:have to:
步骤四、上述拟合后所得圆半径参数即为被测立木的胸径大小;Step 4, the circle radius parameter obtained after the above-mentioned fitting is the diameter at breast height of the measured standing tree;
通过上述步骤的实现,可以完成立木胸径的快速测量;本发明所提供的实施方案可以简单快速、无接触的完成立木胸径测量;本发明所述的实施方案具体实例形式灵活,故任何熟悉本领域的技术人员,在本发明揭示的技术范围内,可以轻易想到的变换或替换,都应涵盖在本发明之内。因此,本发明的保护范围应以权利要求的保护范围为准。Through the realization of the above steps, the rapid measurement of the standing tree diameter at breast height can be completed; the embodiment provided by the present invention can be simple, fast and non-contact to complete the standing tree diameter at breast height measurement; the embodiment of the present invention is flexible in form, so anyone familiar with the art Within the technical scope disclosed in the present invention, any changes or substitutions that can be easily conceived by those skilled in the art shall be covered by the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210451967.2ACN102927921B (en) | 2012-11-13 | 2012-11-13 | Based on the standing tree tree breast diameter survey method of optics similar triangles method |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210451967.2ACN102927921B (en) | 2012-11-13 | 2012-11-13 | Based on the standing tree tree breast diameter survey method of optics similar triangles method |
| Publication Number | Publication Date |
|---|---|
| CN102927921Atrue CN102927921A (en) | 2013-02-13 |
| CN102927921B CN102927921B (en) | 2016-04-27 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210451967.2AExpired - Fee RelatedCN102927921B (en) | 2012-11-13 | 2012-11-13 | Based on the standing tree tree breast diameter survey method of optics similar triangles method |
| Country | Link |
|---|---|
| CN (1) | CN102927921B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103499304A (en)* | 2013-10-16 | 2014-01-08 | 北京林业大学 | High-precision electronic tree diameter measuring instrument and method thereof |
| CN103604380A (en)* | 2013-11-28 | 2014-02-26 | 东北林业大学 | Tree breast-height diameter measuring method and portable tree breast-height diameter measuring system |
| CN103697826A (en)* | 2013-12-27 | 2014-04-02 | 东北林业大学 | Stumpage DBH (diameter at breast height) 6-point measurement method on basis of laser distance measurement |
| CN104048614A (en)* | 2013-12-03 | 2014-09-17 | 南京森林警察学院 | Stumpage diameter measuring method and measuring equipment |
| CN106767452A (en)* | 2017-01-03 | 2017-05-31 | 徐兆军 | A kind of wood-based product's width detecting and its detection method |
| CN107084672A (en)* | 2017-05-08 | 2017-08-22 | 北京林业大学 | An image acquisition device, system and method for tree diameter measurement |
| CN108571931A (en)* | 2018-05-17 | 2018-09-25 | 北京林业大学 | A Tree Measurement Method Using TOF Depth Camera as a Tool |
| CN110274549A (en)* | 2019-06-24 | 2019-09-24 | 北京林业大学 | A method and device for measuring breeding targets |
| CN113446952A (en)* | 2021-08-17 | 2021-09-28 | 华北科技学院(中国煤矿安全技术培训中心) | Online non-contact shaft diameter measuring method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5090811A (en)* | 1989-05-31 | 1992-02-25 | General Electric Company | Optical radius gauge |
| US5129010A (en)* | 1989-12-15 | 1992-07-07 | Kabushiki Kaisha Toyoto Chuo Kenkyusho | System for measuring shapes and dimensions of gaps and flushnesses on three dimensional surfaces of objects |
| US20030160974A1 (en)* | 2000-06-27 | 2003-08-28 | Michael Demeyere | Measurement of cylindrical objects through laser telemetry |
| CN102003942A (en)* | 2010-10-12 | 2011-04-06 | 北京林业大学 | Image-based method for detecting tree diameter |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5090811A (en)* | 1989-05-31 | 1992-02-25 | General Electric Company | Optical radius gauge |
| US5129010A (en)* | 1989-12-15 | 1992-07-07 | Kabushiki Kaisha Toyoto Chuo Kenkyusho | System for measuring shapes and dimensions of gaps and flushnesses on three dimensional surfaces of objects |
| US20030160974A1 (en)* | 2000-06-27 | 2003-08-28 | Michael Demeyere | Measurement of cylindrical objects through laser telemetry |
| CN102003942A (en)* | 2010-10-12 | 2011-04-06 | 北京林业大学 | Image-based method for detecting tree diameter |
| Title |
|---|
| 王典: "基于二维激光扫描的林木联合采育机作业环境测量", 《中国博士论文全文数据库》* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103499304A (en)* | 2013-10-16 | 2014-01-08 | 北京林业大学 | High-precision electronic tree diameter measuring instrument and method thereof |
| CN103604380A (en)* | 2013-11-28 | 2014-02-26 | 东北林业大学 | Tree breast-height diameter measuring method and portable tree breast-height diameter measuring system |
| CN103604380B (en)* | 2013-11-28 | 2016-02-17 | 东北林业大学 | Tree breast-height diameter method and Portable tree tree breast diameter survey system |
| CN104048614A (en)* | 2013-12-03 | 2014-09-17 | 南京森林警察学院 | Stumpage diameter measuring method and measuring equipment |
| CN103697826A (en)* | 2013-12-27 | 2014-04-02 | 东北林业大学 | Stumpage DBH (diameter at breast height) 6-point measurement method on basis of laser distance measurement |
| CN106767452A (en)* | 2017-01-03 | 2017-05-31 | 徐兆军 | A kind of wood-based product's width detecting and its detection method |
| CN107084672A (en)* | 2017-05-08 | 2017-08-22 | 北京林业大学 | An image acquisition device, system and method for tree diameter measurement |
| CN108571931A (en)* | 2018-05-17 | 2018-09-25 | 北京林业大学 | A Tree Measurement Method Using TOF Depth Camera as a Tool |
| CN110274549A (en)* | 2019-06-24 | 2019-09-24 | 北京林业大学 | A method and device for measuring breeding targets |
| CN113446952A (en)* | 2021-08-17 | 2021-09-28 | 华北科技学院(中国煤矿安全技术培训中心) | Online non-contact shaft diameter measuring method |
| CN113446952B (en)* | 2021-08-17 | 2022-08-02 | 华北科技学院(中国煤矿安全技术培训中心) | An online non-contact shaft diameter measurement method |
| Publication number | Publication date |
|---|---|
| CN102927921B (en) | 2016-04-27 |
| Publication | Publication Date | Title |
|---|---|---|
| CN102927921A (en) | Stumpage breast height diameter measuring method based on optics similar triangle method | |
| CN105066909B (en) | A kind of many laser stripe quick three-dimensional measuring methods of hand-held | |
| Ma et al. | Improved salient feature-based approach for automatically separating photosynthetic and nonphotosynthetic components within terrestrial lidar point cloud data of forest canopies | |
| CN110221311A (en) | The high method of high close-stand tree is extracted based on TLS and UAV automation | |
| CN102980510B (en) | A kind of laser light chi image assize device and tree survey method thereof | |
| US20190285410A1 (en) | Point cloud data extraction method and point cloud data extraction device | |
| CN110308438B (en) | Method for correcting reflection intensity of laser radar by using multi-echo single-station scanning data | |
| CN102997871A (en) | Method for inverting effective leaf area index by utilizing geometric projection and laser radar | |
| CN103760565A (en) | Regional scale forest canopy height remote sensing retrieval method | |
| CN104463164A (en) | Tree canopy structure information extraction method based on rib method and crown height ratio | |
| CN112344869A (en) | Method and system for monitoring tower deformation based on side fitting | |
| CN110207670B (en) | Method for acquiring crown width parameters of artificial forest by using two-dimensional image | |
| JP2022511147A (en) | Systems and methods to facilitate the generation of geographic information | |
| CN109191519A (en) | A kind of trees stem volume appraising model construction method, volume estimation method and system | |
| Sazaly et al. | 3D indoor crime scene reconstruction from micro UAV photogrammetry technique | |
| Zhang et al. | Natural forest ALS-TLS point cloud data registration without control points | |
| CN114136208A (en) | Low-cost tree structure automatic reconstruction method for lossless estimation of stumpage volume | |
| Chiabrando et al. | TLS models generation assisted by UAV survey | |
| CN104089607A (en) | Normal case photography forest metrology method through common digital camera | |
| Patrucco et al. | SfM-based 3D reconstruction of heritage assets using UAV thermal images | |
| CN109084680A (en) | Isolated tree ebon dry volume evaluation method and system based on mobile terminal 3-D scanning image acquisition and processing | |
| CN115854895A (en) | Non-contact stumpage breast diameter measurement method based on target stumpage form | |
| CN108571931A (en) | A Tree Measurement Method Using TOF Depth Camera as a Tool | |
| Husain et al. | A time efficient algorithm for ground point filtering from mobile LiDAR data | |
| CN118816729A (en) | A method and device for measuring standing tree height and breast diameter using a smart phone combined with computer vision |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20160427 Termination date:20161113 | |
| CF01 | Termination of patent right due to non-payment of annual fee |