[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106091972B - A kind of building change detecting method projecting dot density based on moving window - Google Patents

A kind of building change detecting method projecting dot density based on moving window Download PDF

Info

Publication number
CN106091972B
CN106091972B CN201610512552.XA CN201610512552A CN106091972B CN 106091972 B CN106091972 B CN 106091972B CN 201610512552 A CN201610512552 A CN 201610512552A CN 106091972 B CN106091972 B CN 106091972B
Authority
CN
China
Prior art keywords
point cloud
density
brick
coordinate system
coordinate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610512552.XA
Other languages
Chinese (zh)
Other versions
CN106091972A (en
Inventor
沈月千
黄腾
王伟
沈哲辉
高鹏
韩易
李成仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hohai University HHU
Original Assignee
Hohai University HHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hohai University HHU filed Critical Hohai University HHU
Priority to CN201610512552.XA priority Critical patent/CN106091972B/en
Publication of CN106091972A publication Critical patent/CN106091972A/en
Application granted granted Critical
Publication of CN106091972B publication Critical patent/CN106091972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B11/00Measuring arrangements characterised by the use of optical techniques
    • G01B11/16Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

本发明公开了一种基于移动窗口投影点密度的建筑物变化检测方法,包括步骤:两期点云数据采集并配准;对稳定墙面进行降维分析;计算测站点在固定墙面所在平面的投影点并建立结构坐标系;将两期点云数据转换到结构坐标系;利用K均值分类方法得到砖块点云和砂浆点云;将砂浆点云分别投影至Z方向和Y方向;定义固定窗口长度Lfix和移动窗口长度Lmove,计算沿Z方向和Y方向点云线密度变化;求取砖块间横向和纵向分割线,计算各砖块四个角点坐标和各砖块中心;利用两期相对应砖块中心进行变化检测。本发明自动提取墙面各砖块中心变形信息,自动化程度大幅提高,充分挖掘原始数据,在精度保证的前提下,确保了砖石结构建筑物各个砖块的变形信息能够有效获取。

The invention discloses a building change detection method based on the projected point density of a moving window, comprising the steps of: collecting and registering point cloud data in two phases; performing dimensionality reduction analysis on a stable wall; The projected points and establish the structural coordinate system; convert the point cloud data of the two phases into the structural coordinate system; use the K-means classification method to obtain the brick point cloud and mortar point cloud; project the mortar point cloud to the Z direction and the Y direction respectively; define Fixed window length L fix and moving window length L move , calculate point cloud line density changes along the Z direction and Y direction; find the horizontal and vertical dividing lines between bricks, calculate the coordinates of the four corners of each brick and the center of each brick ; Change detection using two corresponding brick centers. The invention automatically extracts the deformation information of the center of each brick on the wall, greatly improves the degree of automation, fully excavates the original data, and ensures that the deformation information of each brick of the masonry structure building can be effectively obtained under the premise of ensuring accuracy.

Description

一种基于移动窗口投影点密度的建筑物变化检测方法A Building Change Detection Method Based on Projected Point Density of Moving Window

技术领域technical field

本发明设计一种建筑物变化检测方法,具体涉及一种基于移动窗口的建筑物变化检测方法。The invention designs a building change detection method, and in particular relates to a building change detection method based on a moving window.

背景技术Background technique

在城市中,建筑物是人类活动的主要场所,其安全状况关系到人类日常生活及经济活动,因此,对建筑物进行变化检测具有十分重要的意义,基于建筑物的变化检测和修复,尤其是由地震引起的建筑物变形与损坏,是近年来业内的研究重点,在建筑物结构的发展史上,砖石结构自古以来常被广泛用于建筑物的基础结构,用砖、石块、砌体及土坯等各种块体,以灰浆(砂浆、黏土浆等)砌筑而成的一种组合体为砖石结构,砖石结构因造价低、耐火性、耐久性及施工简易被广泛使用,但是其砌体强度较低,抗震能力较差,因此,对砖石结构的建筑物进行变化检测的研究具有及其重要的现实意义,现有的基于影像的变化检测方法,按照信息处理的层次,可以分为基于像素、基于特征和基于目标的变化检测,而对于激光雷达(Light Detection And Ranging)LiDAR数据的变化检测也逐渐开始在摄影测量与计算机视觉界得到研究,而基于影像的变化检测方法精度不够高,目标不够明确,且易受影像质量的影响,获取的变形信息也不够丰富,无法准确获取砖石结构建筑物中每块砖的变形信息,此外,自动化程度低也严重影响了变化检测的效率。In cities, buildings are the main places for human activities, and their safety status is related to human daily life and economic activities. Therefore, it is of great significance to detect changes in buildings. Based on the change detection and repair of buildings, especially The deformation and damage of buildings caused by earthquakes has been the focus of research in the industry in recent years. In the development history of building structures, masonry structures have been widely used in the foundation structure of buildings since ancient times. Bricks, stones, masonry And adobe and other blocks, a combination of mortar (mortar, clay slurry, etc.) However, its masonry strength is low and its earthquake resistance is poor. Therefore, the research on change detection of masonry buildings has extremely important practical significance. The existing image-based change detection methods, according to the level of information processing , can be divided into pixel-based, feature-based, and target-based change detection, and the change detection of LiDAR (Light Detection And Ranging) LiDAR data has gradually begun to be studied in the field of photogrammetry and computer vision, and image-based change detection The accuracy of the method is not high enough, the target is not clear enough, and it is easily affected by the image quality. The obtained deformation information is not rich enough, and it is impossible to accurately obtain the deformation information of each brick in the masonry structure. In addition, the low degree of automation also seriously affects Efficiency of change detection.

发明内容Contents of the invention

发明目的:本发明的目的在于针对现有技术的不足,提供一种基于移动窗口投影点密度的建筑物变化检测方法。Purpose of the invention: The purpose of the present invention is to provide a method for detecting building changes based on the density of projected points of the moving window to address the deficiencies of the prior art.

技术方案:本发明的一种基于移动窗口投影点密度的建筑物变化检测方法,包括以下步骤:Technical solution: A method for detecting building changes based on the density of moving window projection points of the present invention comprises the following steps:

(1)采用激光扫描仪系统对同一建筑物进行两期扫描,获取建筑物表面点云数据,在变化建筑物外围设置m个标靶,其中,m≥3,激光扫描仪系统的观测值为建筑物表面点的三维坐标和激光反射强度;(1) Use the laser scanner system to scan the same building in two phases to obtain the point cloud data of the building surface, and set m targets around the changing building, where m≥3, the observation value of the laser scanner system is Three-dimensional coordinates and laser reflection intensity of building surface points;

(2)利用步骤1)设置的标靶,计算两期点云坐标转换参数Z,对点云进行配准;(2) Using the target set in step 1), calculate the coordinate transformation parameter Z of the point cloud in two phases, and register the point cloud;

(3)选取固定墙面点云数据,利用主成分分析方法对其进行降维分析,获得特征向量(vi,i=1,2,3),计算测站点在固定墙面所在平面的投影,将其作为坐标原点,建立结构坐标系,将点云数据由测站坐标系转换至结构坐标系;(3) Select the point cloud data of the fixed wall, use the principal component analysis method to perform dimension reduction analysis on it, obtain the eigenvectors (v i , i=1,2,3), and calculate the projection of the station on the plane where the fixed wall is located , take it as the coordinate origin, establish the structural coordinate system, and convert the point cloud data from the station coordinate system to the structural coordinate system;

(4)基于点云数据的强度信息,采用K均值聚类方法对变化墙面的点云进行分类,分离得到砖块点云和砂浆点云;(4) Based on the intensity information of the point cloud data, the K-means clustering method is used to classify the point cloud of the changing wall, and the brick point cloud and the mortar point cloud are separated;

(5)利用步骤(4)得到的砂浆点云,将点云坐标投影至Z方向和Y方向,定义固定窗口长度Lfix和移动窗口长度Lmove,通过移动窗口,分别计算沿Z方向和Y方向点云线密度变化;(5) Using the mortar point cloud obtained in step (4), project the point cloud coordinates to the Z and Y directions, define the fixed window length L fix and the moving window length L move , and calculate the distance along the Z direction and Y direction respectively by moving the window Direction point cloud line density change;

(6)根据步骤(5)得到的线密度变化,分别求取各砖块间横向和纵向分割线,计算每个砖块四个角点坐标,建立砖块模型;(6) According to the linear density variation that step (5) obtains, obtain horizontal and vertical dividing line between each brick respectively, calculate the coordinates of four corner points of each brick, set up the brick model;

(7)根据步骤(6)得到的砖块模型获取各砖块点云,计算各砖块中心;(7) obtain each brick point cloud according to the brick model that step (6) obtains, calculate each brick center;

(8)根据步骤(7)得到的两期相应的砖块中心三维坐标,获取变形信息。(8) Obtain deformation information according to the three-dimensional coordinates of the brick centers corresponding to the two phases obtained in step (7).

优选的,步骤(1)两期扫描过程中,标靶固定不动。Preferably, during the two-phase scanning in step (1), the target is fixed.

优选的,步骤(2)与步骤(3)中所述三维坐标转换方程具体如下:Preferably, the three-dimensional coordinate conversion equation described in step (2) and step (3) is specifically as follows:

设矩阵A为A坐标系下的点云三维坐标,矩阵B为B坐标系下的点云三维坐标,A、B两坐标系的三维坐标转换方程如下所示:Let matrix A be the three-dimensional coordinates of the point cloud in the A coordinate system, and matrix B be the three-dimensional coordinates of the point cloud in the B coordinate system. The three-dimensional coordinate transformation equations of the two coordinate systems A and B are as follows:

(Δx、Δy和Δz表示坐标原点的平移量,k为尺度因子,k=0,R为A坐标系到B坐标系的旋转矩阵)(Δx, Δy and Δz represent the translation of the coordinate origin, k is the scale factor, k=0, R is the rotation matrix from the A coordinate system to the B coordinate system)

优选的,步骤(2)所述由两期数据配准转换参数的计算具体如下:Preferably, in step (2), the calculation of the registration conversion parameters by the two-period data is specifically as follows:

坐标转换参数Z进一步写成,Z=[Δx,Δy,Δz,εx,εy,εz,1]利用最小二乘法对坐标转换参数Z进行参数估计,可得坐标转换参数Z的估值为:The coordinate transformation parameter Z is further written as, Z=[Δx, Δy, Δz, ε x , ε y , ε z , 1] The least square method is used to estimate the coordinate transformation parameter Z, and the estimate of the coordinate transformation parameter Z can be obtained as :

Z=(ATQ-1A)-1ATQBZ=(A T Q -1 A) -1 A T QB

式中,Q为B坐标系下m个标靶坐标测量误差的协方差矩阵,形式如下:In the formula, Q is the covariance matrix of m target coordinate measurement errors in the B coordinate system, and the form is as follows:

优选的,步骤(3)所提由测站坐标系转换至结构坐标系中主成分分析降维及坐标原点确定的具体方法为:Preferably, the specific method of converting from the station coordinate system to the structure coordinate system in the step (3) is:

设扫描点X的三维坐标{Xi=(xi,yi,zi)|i=1,2,…,n},构造相应的协方差矩阵:Assuming the three-dimensional coordinates of the scanning point X {X i =(xi , y i , zi )|i=1,2,…,n}, construct the corresponding covariance matrix:

其中, 为点集的重心坐标,对矩阵C进行主成分分析,可求得三个特征值λ1、λ2、λ3按降序排列,得到λ1≥λ2>λ3>0,λ3所对应的特征向量v3,且v3为法向量,v3为结构坐标系的X轴在测站坐标系下的单位向量,而结构坐标系的Z轴指向与测站坐标系一致,Y轴垂直于确定的XOZ平面,构成右手坐标系,计算测站点坐标S(0,0,0)在固定墙面所在平面的投影S'(xs,ys,zs),将其作为结构坐标系的坐标原点,因此平移向量(Δx,Δy,Δz)=(-xs,-ys,-zs),确立了平移参数及坐标轴旋转参数后,将两期配准后的点云数据旋转至结构坐标系;in, is the center of gravity coordinates of the point set, and the matrix C is subjected to principal component analysis, and the three eigenvalues λ 1 , λ 2 , λ 3 can be obtained in descending order, and λ 1 ≥ λ 2 > λ 3 > 0, corresponding to λ 3 The eigenvector v 3 of , and v 3 is the normal vector, v 3 is the unit vector of the X-axis of the structure coordinate system in the station coordinate system, and the Z-axis of the structure coordinate system is consistent with the station coordinate system, and the Y-axis is vertical Based on the determined XOZ plane, a right-handed coordinate system is formed, and the projection S'(x s , y s , z s ) of the station coordinate S(0,0,0) on the plane where the fixed wall is located is calculated, and it is used as the structural coordinate system The origin of the coordinates, so the translation vector (Δx, Δy, Δz) = (-x s , -y s , -z s ), after establishing the translation parameters and coordinate axis rotation parameters, the point cloud data after the two-phase registration Rotate to the structure coordinate system;

优选的,步骤(4)所提基于强度信息的K均值聚类方法分离墙面砖块和砂浆的具体方法为:Preferably, the specific method for separating wall bricks and mortar by the K-means clustering method based on strength information proposed in step (4) is:

采用聚类误差平方和函数E作为聚类准则函数,以点强度信息作为分类属性,其中,xij是第i类第j个样本,mi是第i类的聚类中心或称质心,ni是第i类样本个数,K均值聚类算法通过反复迭代寻找k个最佳的聚类中心,其中k=2,将全体n个样本点分配到离它最近的聚类中心,使得聚类误差平方和E最小,过程如下:The clustering error square sum function E is used as the clustering criterion function, and the point intensity information is used as the classification attribute, where, x ij is the jth sample of class i, m i is the cluster center or centroid of class i, n i is the number of samples of class i, and the K-means clustering algorithm finds k best clusters through repeated iterations. The cluster center, where k=2, assigns all n sample points to the cluster center closest to it, so that the sum of squared clustering errors E is the smallest, the process is as follows:

a,随机指定k个聚类中心mi(i=1,2,…,k);a, randomly designate k cluster centers m i (i=1,2,...,k);

b,对每一个样本xi找到离它最近的聚类中心,将其分配到该类;b, find the nearest cluster center for each sample xi , and assign it to this class;

c,重新计算各簇新中心:Ni是第i簇当前样本数;c. Recalculate the new centers of each cluster: N i is the current sample number of the i-th cluster;

d,计算偏差, d, calculate the deviation,

e,如果E值收敛,则返回mi(i=1,2,…,k),算法终止,否则返回b;e, if the E value converges, then return m i (i=1,2,…,k), the algorithm terminates, otherwise return b;

优选的,步骤(5)所提利用砂浆点云,基于窗口移动法计算点云线密度变化,其具体方法如下:Preferably, step (5) uses the mortar point cloud to calculate the line density change of the point cloud based on the window moving method. The specific method is as follows:

设砂浆的平均宽度为已知量Lmortar,定义固定窗口长度Lfix和移动窗口长度Lmove,三者满足如下关系:Let the average width of the mortar be the known quantity L mortar , define the fixed window length L fix and the moving window length L move , and the three satisfy the following relationship:

Lmortar≈Lwindow+2Lmove L mortgage ≈L window +2L move

分别计算沿Z方向和Y方向移动窗口数目:Calculate the number of moving windows along the Z and Y directions respectively:

其中[]为取整符号,Where [] is rounding symbol,

分别计算沿Z方向和Y方向各个窗口内的点数目:Calculate the number of points in each window along the Z direction and the Y direction respectively:

nzi(i=1,2,…,ny),nyi(i=1,2,…,nz)n zi (i=1,2,…,n y ),n yi (i=1,2,…,n z )

分别计算沿Z方向和Y方向的点的线密度:Calculate the line density of points along the Z and Y directions separately:

Density_z=(nz(i-1)+nzi+nz(i+1))/(3Lfix)(i=2,3,…,(nz-1))Density_z=(n z(i-1) +n zi +n z(i+1) )/(3L fix )(i=2,3,…,(n z -1))

Density_y=(ny(i-1)+nyi+ny(i+1))/(3Lfix)(i=2,3,…,(ny-1))Density_y=(n y(i-1) +n y +n y(i+1) )/(3L fix )(i = 2,3,...,(n y -1))

对于Z方向和Y方向各个窗口,计算其线密度变化率:For each window in the Z direction and Y direction, calculate the line density change rate:

Grad(i,1)=Density_y(i)-Density_y(i-1)Grad(i,1)=Density_y(i)-Density_y(i-1)

Grad(i,2)=Density_y(i+1)-Density_y(i)Grad(i,2)=Density_y(i+1)-Density_y(i)

优选的,步骤(6)所述利用线密度变化,计算各砖块间横向和纵向分割线,其具体方法如下:Preferably, described in step (6) utilizes linear density variation, calculates horizontal and vertical dividing line between each brick, and its concrete method is as follows:

对于分析的Z方向或Y方向,点云线密度在垂直于该方向的砂浆接缝处明显高于非接缝处区域,因此,选定该方向上窗口平均密度作为阈值(ntotal为点云总数目),当窗口内点云密度大于阈值,且满足Grad(i,1)>0和Grad(i,2)<0时,所处固定窗口即为砂浆接缝的范围,通过砂浆接缝范围内的点云计算砂浆接缝中心线,再通过砖块四周接缝中心线计算砖块模型四个角点坐标,建立砖块模型。For the analyzed Z direction or Y direction, the point cloud line density is significantly higher than the non-joint area at the mortar joint perpendicular to this direction, so the average density of the window in this direction is selected as the threshold ( n total is the total number of point clouds), when the point cloud density in the window is greater than the threshold, and Grad(i,1)>0 and Grad(i,2)<0, the fixed window is the range of the mortar joint , Calculate the center line of the mortar joint through the point cloud within the range of the mortar joint, and then calculate the coordinates of the four corner points of the brick model through the center line of the joint around the brick to establish the brick model.

有益效果:本发明的一种基于移动窗口投影点密度的建筑物变化检测方法,一方面自动化程度高,另一方面充分利用了原始数据,精度高,在精度保证的前提下,确保了砖石结构建筑物各个砖块的变形信息能够有效获取。Beneficial effects: The method for detecting building changes based on the density of moving window projection points of the present invention has a high degree of automation on the one hand, and fully utilizes the original data on the other hand with high precision. The deformation information of each brick of the structural building can be effectively obtained.

附图说明Description of drawings

图1为本发明的流程图;Fig. 1 is a flowchart of the present invention;

图2为本发明的测站坐标系示意图;Fig. 2 is the schematic diagram of station coordinate system of the present invention;

图3为本发明的结构坐标系示意图;Fig. 3 is a schematic diagram of a structural coordinate system of the present invention;

图4为本发明的砖块模型示意图;Fig. 4 is a schematic diagram of a brick model of the present invention;

图5为本发明选取的某一墙面K均值分类结果;Fig. 5 is a certain wall surface K mean value classification result that the present invention chooses;

图6为本发明点云投影点线密度变化直方图;Fig. 6 is a histogram of point line density variation of point cloud projection in the present invention;

图7为本发明提取的各砖块中心点示意图;Fig. 7 is the schematic diagram of each brick central point that the present invention extracts;

图8位本发明获取的砖块三维变形信息。Figure 8 is the three-dimensional deformation information of bricks acquired by the present invention.

具体实施方式Detailed ways

下面对本发明技术方案进行详细说明,但是本发明的保护范围不局限于所述实施例。The technical solutions of the present invention will be described in detail below, but the protection scope of the present invention is not limited to the embodiments.

如图1所示,一种基于移动窗口投影点密度的建筑物变化检测方法,包括以下步骤:As shown in Figure 1, a building change detection method based on the density of moving window projection points includes the following steps:

(1)采用激光扫描仪系统对同一建筑物进行两期扫描,获取建筑物表面点云数据,在变化建筑物周围固定区域设置m个标靶,一般情况下m≥4,考虑到激光扫描仪自带自动安平功能,且每次测量时仪器均为水平状态,因此,m≥3即可,激光扫描仪系统的观测值为建筑物表面点的三维坐标和激光反射强度;(1) Use the laser scanner system to scan the same building in two phases to obtain the point cloud data of the building surface, and set m targets in the fixed area around the changing building. Generally, m≥4. Considering the laser scanner It comes with an automatic leveling function, and the instrument is in a horizontal state for each measurement, so m≥3 is sufficient, and the observation values of the laser scanner system are the three-dimensional coordinates of the building surface points and the laser reflection intensity;

(2)利用步骤(1)设置的标靶,计算两期点云坐标转换参数Z,对点云进行配准;(2) Using the target set in step (1), calculate the coordinate transformation parameter Z of the point cloud in two phases, and register the point cloud;

(3)选取固定墙面点云数据,利用主成分分析方法对其进行降维分析,获得特征向量(vi,i=1,2,3),计算测站点在固定墙面所在平面的投影,将其作为坐标原点O,建立结构坐标系,将点云数据由测站坐标系转换至结构坐标系;(3) Select the point cloud data of the fixed wall, use the principal component analysis method to perform dimension reduction analysis on it, obtain the eigenvectors (v i , i=1,2,3), and calculate the projection of the station on the plane where the fixed wall is located , take it as the coordinate origin O, establish a structural coordinate system, and convert the point cloud data from the station coordinate system to the structural coordinate system;

(4)基于点云数据的强度信息,采用K均值聚类方法对变化墙面的点云进行分类,分离得到砖块点云和砂浆点云;(4) Based on the intensity information of the point cloud data, the K-means clustering method is used to classify the point cloud of the changing wall, and the brick point cloud and the mortar point cloud are separated;

(5)利用步骤(4)得到的砂浆点云,将点云坐标投影至Z方向和Y方向,定义固定窗口长度Lfix和移动窗口长度Lmove,通过移动窗口,分别计算沿Z方向和Y方向点云线密度变化;(5) Using the mortar point cloud obtained in step (4), project the point cloud coordinates to the Z and Y directions, define the fixed window length L fix and the moving window length L move , and calculate the distance along the Z direction and Y direction respectively by moving the window Direction point cloud line density change;

(6)根据步骤(5)得到的线密度变化,分别求取各砖块间横向和纵向分割线,计算每个砖块四个角点坐标,建立砖块模型;(6) According to the linear density variation that step (5) obtains, obtain horizontal and vertical dividing line between each brick respectively, calculate the coordinates of four corner points of each brick, set up the brick model;

(7)根据步骤(6)得到的砖块模型获取各砖块点云,计算各砖块中心;(7) obtain each brick point cloud according to the brick model that step (6) obtains, calculate each brick center;

(8)根据步骤(7)得到的两期相应的砖块中心三维坐标,获取变形信息。(8) Obtain deformation information according to the three-dimensional coordinates of the brick centers corresponding to the two phases obtained in step (7).

以“某实验场砖石结构建筑在地震前后变化检测”为例,对本发明作进一步阐述:Taking "the change detection of a masonry structure building before and after an earthquake" as an example, the present invention is further elaborated:

{1}利用Leica C10激光扫描仪系统对建筑物进行扫描,在如图5所示位置架设仪器,在实验建筑物以外稳定区域布设4个标靶,分别在地震测试前后进行扫描,获取两期建筑物表面激光点云数据,观测值包含两类:三维坐标,激光反射强度;{1} Use the Leica C10 laser scanner system to scan the building, set up the instrument at the position shown in Figure 5, and set up 4 targets in the stable area outside the experimental building, scan before and after the earthquake test respectively, and obtain two phases Laser point cloud data on the surface of buildings, observations include two types: three-dimensional coordinates, laser reflection intensity;

{2}如图2所示,以测站为中心,竖直方向为Z轴,利用步骤{1}设置的标靶,计算两期点云坐标转换参数Z,将地震测试后点云坐标配准至地震测试前点云测站坐标系中,至此,两期点云处于相同的坐标系下,以便于后期进行变形分析;{2}As shown in Figure 2, with the station as the center and the vertical direction as the Z axis, use the target set in step {1} to calculate the coordinate conversion parameter Z of the two-phase point cloud, and coordinate the coordinates of the point cloud after the earthquake test Accurate to the coordinate system of the point cloud station before the seismic test, so far, the two point clouds are in the same coordinate system, so as to facilitate the deformation analysis in the later stage;

{3}如图3所示,三个坐标轴分别平行于建筑物以某角点为中心的相邻三个面,选取固定墙面点云数据,利用主成分分析进行降维分析,获得固定墙面法向量,即结构坐标系X轴单位向量为[0.9348 0.3551 0.0011],结构坐标系Z轴单位向量为[0 0 1],因此Y轴单位向量为[0.3551 -0.9348 0],测站坐标系坐标原点至固定墙面的投影点为[8.27663.1442 0.0095],根据上述参数及转换关系,将点云数据由测站坐标系转换至结构坐标系;{3}As shown in Figure 3, the three coordinate axes are respectively parallel to the three adjacent faces of the building centered on a certain corner point. The point cloud data of the fixed wall surface is selected, and the dimensionality reduction analysis is carried out by principal component analysis to obtain the fixed The normal vector of the wall, that is, the X-axis unit vector of the structural coordinate system is [0.9348 0.3551 0.0011], the Z-axis unit vector of the structural coordinate system is [0 0 1], so the Y-axis unit vector is [0.3551 -0.9348 0], and the station coordinates The projection point from the origin of system coordinates to the fixed wall is [8.27663.1442 0.0095]. According to the above parameters and conversion relationship, the point cloud data is converted from the station coordinate system to the structure coordinate system;

{4}如图5所示,根据点云数据的强度信息,采用K均值聚类方法分别对两期墙面的点云进行分类,分离得到砖块点云和砂浆点云;{4} As shown in Figure 5, according to the intensity information of the point cloud data, the point cloud of the two phases of the wall is classified by the K-means clustering method, and the brick point cloud and the mortar point cloud are separated;

{5}经过现场勘查与测量,砖块间砂浆的平均宽度为10-12mm,因此,根据Lmortar≈Lwindow+2Lmove定义固定窗口长度Lfix=0.008m和移动窗口长度Lmove=0.002m,利用步骤{4}得到的砂浆点云,将点云坐标投影至Z方向和Y方向,通过移动窗口,分别计算沿Z方向和Y方向点云线密度变化,结果如图6所示;{5} After on-site investigation and measurement, the average width of mortar between bricks is 10-12mm. Therefore, according to L mortar ≈ L window + 2L move , the fixed window length L fix = 0.008m and the moving window length L move = 0.002m , using the mortar point cloud obtained in step {4}, project the point cloud coordinates to the Z direction and Y direction, and calculate the point cloud line density changes along the Z direction and Y direction by moving the window, and the results are shown in Figure 6;

{6}根据步骤{5}得到的线密度变化,分别求取各砖块间的纵向和横向分割线,并计算每个砖块的四个角点坐标,建立如图4所示的砖块模型;{6}According to the linear density change obtained in step {5}, respectively obtain the vertical and horizontal dividing lines between each brick, and calculate the coordinates of the four corner points of each brick, and establish the brick as shown in Figure 4 Model;

{7}如图7所示,根据步骤{6}得到的砖块模型获取各砖块点云数据,计算各砖块中心;{7}As shown in Figure 7, according to the brick model obtained in step {6}, the point cloud data of each brick is obtained, and the center of each brick is calculated;

{8}如图8所示,根据步骤{7}得到的两期相应的砖块中心三维坐标,获取变形信息。{8}As shown in Figure 8, according to the three-dimensional coordinates of the brick centers corresponding to the two phases obtained in step {7}, the deformation information is obtained.

Claims (7)

1.一种基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:包括以下步骤:1. a kind of building change detection method based on moving window projection point density, it is characterized in that: comprise the following steps: 1)采用激光扫描仪系统对同一建筑物进行两期扫描,获取建筑物表面点云数据,在变化建筑物外围设置m个标靶,其中,m≥3,激光扫描仪系统的观测值为建筑物表面点的三维坐标和激光反射强度;1) Use the laser scanner system to scan the same building in two phases to obtain the point cloud data of the building surface, and set m targets around the changing building, where m≥3, the observation value of the laser scanner system is the building The three-dimensional coordinates of the object surface point and the laser reflection intensity; 2)利用步骤1)设置的标靶,计算两期点云坐标转换参数Z,对点云进行配准;2) Using the target set in step 1), calculate the coordinate transformation parameter Z of the point cloud in two phases, and register the point cloud; 3)选取固定墙面点云数据,利用主成分分析方法对其进行降维分析,获得特征向量vi,i=1,2,3,计算测站点在固定墙面所在平面的投影,将其作为坐标原点,建立结构坐标系,将点云数据由测站坐标系转换至结构坐标系;3) Select the fixed wall point cloud data, use the principal component analysis method to perform dimension reduction analysis on it, obtain the feature vector v i , i = 1, 2, 3, calculate the projection of the station on the plane where the fixed wall is located, and calculate its As the coordinate origin, establish a structural coordinate system, and convert the point cloud data from the station coordinate system to the structural coordinate system; 4)基于点云数据的强度信息,采用K均值聚类方法对变化墙面的点云进行分类,分离得到砖块点云和砂浆点云;4) Based on the intensity information of the point cloud data, the K-means clustering method is used to classify the point cloud of the changing wall, and the brick point cloud and the mortar point cloud are separated; 5)利用步骤4)得到的砂浆点云,不妨设砂浆的平均宽度为Lmortar,将点云坐标投影至Z方向和Y方向,定义固定窗口长度Lfix和移动窗口长度Lmove,满足:Lmortar≈Lwindow+2Lmove;根据点云中点坐标分量Z或者Y的最大值和最小值确定移动窗口数目,通过移动窗口,分别计算沿Z方向和Y方向点云线密度变化;5) Using the mortar point cloud obtained in step 4), it is advisable to set the average width of the mortar as L mortar , project the coordinates of the point cloud to the Z direction and the Y direction, and define the fixed window length L fix and the moving window length L move to satisfy: L Mortar ≈L window +2L move ; determine the number of moving windows according to the maximum and minimum values of the point coordinate component Z or Y in the point cloud, and calculate the line density changes of the point cloud along the Z direction and the Y direction through the moving window; 6)步骤5)已得点云的线密度变化,对于分析的Z方向或Y方向,点云线密度在垂直于该方向的砂浆接缝处明显高于非接缝处区域,因此,选定该方向上窗口平均密度作为阈值ntotal为点云总数目,当窗口内点云密度大于阈值,且满足Grad(i,1)>0和Grad(i,2)<0时,所处固定窗口即为砂浆接缝的范围,通过砂浆接缝范围内的点云计算砂浆接缝中心线,再通过砖块四周接缝中心线计算砖块模型四个角点坐标,建立砖块模型;6) Step 5) The linear density change of the obtained point cloud. For the analyzed Z direction or Y direction, the point cloud linear density is significantly higher than the non-joint area at the mortar joint perpendicular to this direction. Therefore, select this The average density of the window in the direction is used as the threshold n total is the total number of point clouds. When the point cloud density in the window is greater than the threshold and Grad(i,1)>0 and Grad(i,2)<0, the fixed window is the range of the mortar joint. Calculate the center line of the mortar joint through the point cloud within the range of the mortar joint, and then calculate the coordinates of the four corner points of the brick model through the center line of the joint around the brick to establish the brick model; 7)根据步骤6)得到的砖块模型获取各砖块点云,求取砖块点云的几何中心,获取各砖块中心;7) Obtain each brick point cloud according to the brick model obtained in step 6), obtain the geometric center of the brick point cloud, and obtain each brick center; 8)根据步骤7)得到的两期相应的砖块中心三维坐标,获取变形信息。8) Obtain deformation information according to the three-dimensional coordinates of the brick centers corresponding to the two phases obtained in step 7). 2.如权利要求1所述的基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:步骤1)两期扫描过程中,标靶固定不动。2. The building change detection method based on the projected point density of the moving window as claimed in claim 1, characterized in that: step 1) During the two-stage scanning process, the target is fixed. 3.如权利要求1所述的基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:步骤2)与步骤3)中所述三维坐标转换方程具体如下:3. the building change detection method based on moving window projection point density as claimed in claim 1, is characterized in that: step 2) and described in step 3) three-dimensional coordinate conversion equation is specifically as follows: 设矩阵A为A坐标系下的点云三维坐标,矩阵B为B坐标系下的点云三维坐标,A、B两坐标系的三维坐标转换方程如下所示:Let matrix A be the three-dimensional coordinates of the point cloud in the A coordinate system, and matrix B be the three-dimensional coordinates of the point cloud in the B coordinate system. The three-dimensional coordinate transformation equations of the two coordinate systems A and B are as follows: 其中,Δx、Δy和Δz表示坐标原点的平移量,k为尺度因子,k=0,R为A坐标系到B坐标系的旋转矩阵。Among them, Δx, Δy and Δz represent the translation of the coordinate origin, k is the scale factor, k=0, and R is the rotation matrix from the A coordinate system to the B coordinate system. 4.如权利要求1所述的基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:步骤2)所述由两期数据配准转换参数的计算具体如下:4. the building change detection method based on moving window projection point density as claimed in claim 1, is characterized in that: step 2) described by the calculation of two-period data registration transformation parameter is specifically as follows: 坐标转换参数Z进一步写成,Z=[Δx,Δy,Δz,εx,εy,εz,1],用最小二乘法对坐标转换参数Z进行参数估计,可得坐标转换参数Z的估值为:The coordinate transformation parameter Z is further written as, Z=[Δx, Δy, Δz, ε x , ε y , ε z , 1], the coordinate transformation parameter Z is estimated by the least square method, and the estimation of the coordinate transformation parameter Z can be obtained for: Z=(ATQ-1A)-1ATQBZ=(A T Q -1 A) -1 A T QB 式中,Q为B坐标系下m个标靶坐标测量误差的协方差矩阵,形式如下:In the formula, Q is the covariance matrix of m target coordinate measurement errors in the B coordinate system, and the form is as follows: 5.如权利要求1所述的基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:步骤3)所提由测站坐标系转换至结构坐标系中主成分分析降维及坐标原点确定的具体方法为:5. the building change detection method based on moving window projection point density as claimed in claim 1, is characterized in that: step 3) mentioned is transformed into principal component analysis dimensionality reduction and coordinate origin in the structure coordinate system by station coordinate system The specific method of determination is: 设扫描点X的三维坐标{Xi=(xi,yi,zi)|i=1,2,…,n},构造相应的协方差矩阵:Assuming the three-dimensional coordinates of the scanning point X {X i =(x i ,y i , zi )|i=1,2,…,n}, construct the corresponding covariance matrix: 其中, 为点集的重心坐标,对矩阵C进行主成分分析,可求得三个特征值λ1、λ2、λ3按降序排列,得到λ1≥λ2>λ3>0,λ3所对应的特征向量v3,且v3为法向量,v3为结构坐标系的X轴在测站坐标系下的单位向量,而结构坐标系的Z轴指向与测站坐标系一致,Y轴垂直于确定的XOZ平面,构成右手坐标系,计算测站点坐标S(0,0,0)在固定墙面所在平面的投影S'(xs,ys,zs),将其作为结构坐标系的坐标原点,因此平移向量(Δx,Δy,Δz)=(-xs,-ys,-zs),确立了平移参数及坐标轴旋转参数后,将两期配准后的点云数据旋转至结构坐标系。in, is the center of gravity coordinates of the point set, and the matrix C is subjected to principal component analysis, and the three eigenvalues λ 1 , λ 2 , λ 3 can be obtained in descending order, and λ 1 ≥ λ 2 > λ 3 > 0, corresponding to λ 3 The eigenvector v 3 of , and v 3 is the normal vector, v 3 is the unit vector of the X-axis of the structure coordinate system in the station coordinate system, and the Z-axis of the structure coordinate system is consistent with the station coordinate system, and the Y-axis is vertical Based on the determined XOZ plane, a right-handed coordinate system is formed, and the projection S'(x s , y s , z s ) of the station coordinate S(0,0,0) on the plane where the fixed wall is located is calculated, and it is used as the structural coordinate system The origin of the coordinates, so the translation vector (Δx, Δy, Δz) = (-x s , -y s , -z s ), after establishing the translation parameters and coordinate axis rotation parameters, the point cloud data after the two-phase registration Rotate to the structure coordinate system. 6.如权利要求1所述的基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:步骤4)所提基于强度信息的K均值聚类方法分离墙面砖块和砂浆的具体方法为:6. the building change detection method based on moving window projection point density as claimed in claim 1, is characterized in that: step 4) the concrete method that the proposed K-means clustering method based on intensity information separates metope brick and mortar for: 采用聚类误差平方和函数E作为聚类准则函数,以点强度信息作为分类属性,其中,xij是第i类第j个样本,mi是第i类的聚类中或称质心,ni是第i类样本个数,K均值聚类算法通过反复迭代寻找k个最佳的聚类中心,其中k=2,将全体n个样本点分配到离它最近的聚类中心,使得聚类误差平方和E最小,过程如下:The clustering error square sum function E is used as the clustering criterion function, and the point intensity information is used as the classification attribute, where, x ij is the jth sample of the i-th class, m i is the cluster or centroid of the i-th class, and n i is the number of samples in the i-th class. The K-means clustering algorithm finds k best clusters through repeated iterations. The cluster center, where k=2, assigns all n sample points to the cluster center closest to it, so that the sum of squared clustering errors E is the smallest, the process is as follows: Step 1,随机指定k个聚类中心mi(i=1,2,…,k);Step 1, randomly designate k cluster centers m i (i=1,2,...,k); Step 2,对每一个样本xi找到离它最近的聚类中心,将其分配到该类;Step 2, find the nearest cluster center for each sample xi , and assign it to this class; Step 3,重新计算各簇新中心:Ni是第i簇当前样本数;Step 3, recalculate the new centers of each cluster: N i is the current sample number of the i-th cluster; Step 4,计算偏差, Step 4, calculate the deviation, Step 5,如果E值收敛,则返回mi(i=1,2,…,k),算法终止,否则返回Step2。Step 5, if the E value converges, then return mi ( i =1,2,...,k), and the algorithm terminates, otherwise, return to Step2. 7.如权利要求1所述的基于移动窗口投影点密度的建筑物变化检测方法,其特征在于:步骤5)所提利用砂浆点云,基于窗口移动法计算点云线密度变化,其具体方法如下:7. the building change detection method based on moving window projection point density as claimed in claim 1, is characterized in that: step 5) mentions and utilizes mortar point cloud, calculates point cloud linear density change based on window moving method, its specific method as follows: 分别计算沿Z方向和Y方向移动窗口数目:Calculate the number of moving windows along the Z and Y directions respectively: 其中[]为取整符号,ymax和ymin分别为点云中点Y坐标分量的最大值和最小值;zmax和zmin分别为点云中点Z坐标分量的最大值和最小值;Where [] is the rounding symbol, y max and y min are the maximum and minimum values of the Y coordinate component of the point cloud, respectively; z max and z min are the maximum and minimum values of the Z coordinate component of the point cloud, respectively; 分别计算沿Z方向和Y方向各个窗口内的点数目:Calculate the number of points in each window along the Z direction and the Y direction respectively: nzi(i=1,2,…,ny),nyi(i=1,2,…,nz)n zi (i=1,2,…,n y ),n yi (i=1,2,…,n z ) 分别计算沿Z方向和Y方向的点的线密度:Calculate the line density of points along the Z and Y directions separately: Density_z=(nz(i-1)+nzi+nz(i+1))/(3Lfix)(i=2,3,…,(nz-1))Density_z=(n z(i-1) +n zi +n z(i+1) )/(3L fix )(i=2,3,…,(n z -1)) Density_y=(ny(i-1)+nyi+ny(i+1))/(3Lfix)(i=2,3,…,(ny-1))Density_y=(n y(i-1) +n y +n y(i+1) )/(3L fix )(i = 2,3,...,(n y -1)) 对于Z方向和Y方向各个窗口,计算其线密度变化率:For each window in the Z direction and Y direction, calculate the line density change rate: Grad(i,1)=Density_y(i)-Density_y(i-1)Grad(i,1)=Density_y(i)-Density_y(i-1) Grad(i,2)=Density_y(i+1)-Density_y(i)。Grad(i,2)=Density_y(i+1)−Density_y(i).
CN201610512552.XA 2016-06-30 2016-06-30 A kind of building change detecting method projecting dot density based on moving window Active CN106091972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610512552.XA CN106091972B (en) 2016-06-30 2016-06-30 A kind of building change detecting method projecting dot density based on moving window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610512552.XA CN106091972B (en) 2016-06-30 2016-06-30 A kind of building change detecting method projecting dot density based on moving window

Publications (2)

Publication Number Publication Date
CN106091972A CN106091972A (en) 2016-11-09
CN106091972B true CN106091972B (en) 2018-09-21

Family

ID=57212867

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610512552.XA Active CN106091972B (en) 2016-06-30 2016-06-30 A kind of building change detecting method projecting dot density based on moving window

Country Status (1)

Country Link
CN (1) CN106091972B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844983B (en) * 2017-01-26 2021-07-23 厦门理工学院 A method for improving the typhoon-proof ability of buildings
WO2019187309A1 (en) * 2018-03-26 2019-10-03 パナソニックIpマネジメント株式会社 Measurement device and measurement method
CN108416785B (en) * 2018-03-26 2020-08-11 北京进化者机器人科技有限公司 Topology segmentation method and device for closed space
CN109035206B (en) * 2018-06-28 2020-10-09 中国地震局地震预测研究所 Building damage state detection method
CN109684970B (en) * 2018-12-18 2020-08-07 暨南大学 Window length determination method for moving principal component analysis of structural dynamic response
CN111832582B (en) * 2019-04-15 2023-07-21 中国矿业大学(北京) Method for classifying and segmenting sparse point cloud by utilizing point cloud density and rotation information
CN110132233B (en) * 2019-04-16 2021-11-12 西安长庆科技工程有限责任公司 Point cloud data-based terrain map drawing method under CASS environment
CN110060338B (en) * 2019-04-25 2020-11-10 重庆大学 Prefabricated part point cloud identification method based on BIM model
CN112067314B (en) * 2020-09-01 2023-02-28 无锡威莱斯电子有限公司 A Calculation Method of Barrier Intrusion in MPDB
CN112884687B (en) * 2021-01-29 2022-02-11 郑州信大云筑工程科技有限公司 Mapping laser radar scanning strategy control method and system based on artificial intelligence
CN115063677B (en) * 2022-06-10 2023-10-10 安徽农业大学 A method and device for identifying the lodging degree of wheat fields based on point cloud information
CN116045833B (en) * 2023-01-03 2023-12-22 中铁十九局集团有限公司 Bridge construction deformation monitoring system based on big data
CN116258967B (en) * 2023-05-09 2023-08-04 深圳市森歌数据技术有限公司 A detection method for urban illegal construction changes based on improved SNUNet-CD
CN117152472B (en) * 2023-10-27 2024-01-09 延边大学 Building deformation measurement method for building design

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103307999A (en) * 2013-06-14 2013-09-18 河海大学 Three-dimensional laser scanning control rack and field operation scanning and point cloud registration method for same
CN103870845A (en) * 2014-04-08 2014-06-18 重庆理工大学 Novel K value optimization method in point cloud clustering denoising process
CN103940356A (en) * 2014-02-27 2014-07-23 山东交通学院 Building overall-deformation monitoring method based on three-dimensional laser scanning technology
CN105136054A (en) * 2015-04-27 2015-12-09 北京工业大学 Fine structure deformation monitoring method and system based on ground three-dimensional laser scanning
CN105423915A (en) * 2015-11-16 2016-03-23 天津师范大学 Accurate positioning method of planar target for ground laser scanning data registration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103307999A (en) * 2013-06-14 2013-09-18 河海大学 Three-dimensional laser scanning control rack and field operation scanning and point cloud registration method for same
CN103940356A (en) * 2014-02-27 2014-07-23 山东交通学院 Building overall-deformation monitoring method based on three-dimensional laser scanning technology
CN103870845A (en) * 2014-04-08 2014-06-18 重庆理工大学 Novel K value optimization method in point cloud clustering denoising process
CN105136054A (en) * 2015-04-27 2015-12-09 北京工业大学 Fine structure deformation monitoring method and system based on ground three-dimensional laser scanning
CN105423915A (en) * 2015-11-16 2016-03-23 天津师范大学 Accurate positioning method of planar target for ground laser scanning data registration

Also Published As

Publication number Publication date
CN106091972A (en) 2016-11-09

Similar Documents

Publication Publication Date Title
CN106091972B (en) A kind of building change detecting method projecting dot density based on moving window
CN106338277B (en) A baseline-based method for building change detection
Okorn et al. Toward automated modeling of floor plans
CN113031005B (en) Crane dynamic obstacle identification method based on laser radar
CN111461023A (en) Method for quadruped robot to automatically follow pilot based on three-dimensional laser radar
JP6114052B2 (en) Point cloud analysis processing device and point cloud analysis processing program
CN110956690A (en) Building information model generation method and system
Teza et al. Geometric characterization of a cylinder-shaped structure from laser scanner data: Development of an analysis tool and its use on a leaning bell tower
CN111369609B (en) Building local deformation analysis method based on point cloud curved surface feature constraint
CN110360963B (en) Rock mass structural plane three-dimensional roughness description method based on drilling and shooting technology
CN107462587A (en) A kind of the precise vision detecting system and method for flexible IC substrates bump mark defect
CN105571511B (en) A kind of ship plank formed precision online test method
CN113362461B (en) Point cloud matching method and system based on semantic segmentation and scanning terminal
CN115639547A (en) Multi-line laser radar and GNSS-INS combined calibration method, system and medium
CN118196618B (en) A method and system for analyzing rock mass crack correlation in tunnels
Li et al. A deep learning-based indoor acceptance system for assessment on flatness and verticality quality of concrete surfaces
CN113673011A (en) Method for intelligently identifying tunnel invasion boundary in operation period based on point cloud data
CN116934705A (en) A flatness detection method based on three-dimensional laser scanning
CN1224938C (en) Method of measuring scene and geometric data of bodies inside the scene via single frame of image
CN105043962B (en) A kind of method of quantitative measurment sandstone matter cultural artifact surface weathering speed
CN113674256B (en) Geological outcrop fracture identification method based on 3D laser scanning technology
Xi et al. Automatic spacing inspection of rebar spacers on reinforcement skeletons using vision-based deep learning and computational geometry
Yonglin et al. Identification of inclined buildings from aerial lidar data for disaster management
CN114372313A (en) Image processing method and system for actual measurement and laser scanner
CN113436244B (en) Model processing method and system for actual measurement actual quantity and laser radar

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20161109

Assignee: ANHUI JINHE SOFTWARE Co.,Ltd.

Assignor: HOHAI University

Contract record no.: X2020980010569

Denomination of invention: Building change detection method based on projection point density of moving window

Granted publication date: 20180921

License type: Common License

Record date: 20210104

EE01 Entry into force of recordation of patent licensing contract