In light of the limited efficacy of conventional methods for identifying pavement cracks and the absence of comprehensive depth and location data in two-dimensional photographs,this study presents an intelligent strat...In light of the limited efficacy of conventional methods for identifying pavement cracks and the absence of comprehensive depth and location data in two-dimensional photographs,this study presents an intelligent strategy for extracting road cracks.This methodology involves the integration of laser point cloud data obtained from a vehicle-mounted system and a panoramic sequence of images.The study employs a vehicle-mounted LiDAR measurement system to acquire laser point cloud and panoramic sequence image data simultaneously.A convolutional neural network is utilized to extract cracks from the panoramic sequence image.The extracted sequence image is then aligned with the laser point cloud,enabling the assignment of RGB information to the vehicle-mounted three dimensional(3D)point cloud and location information to the two dimensional(2D)panoramic image.Additionally,a threshold value is set based on the crack elevation change to extract the aligned roadway point cloud.The three-dimensional data pertaining to the cracks can be acquired.The experimental findings demonstrate that the use of convolutional neural networks has yielded noteworthy outcomes in the extraction of road cracks.The utilization of point cloud and image alignment techniques enables the extraction of precise location data pertaining to road cracks.This approach exhibits superior accuracy when compared to conventional methods.Moreover,it facilitates rapid and accurate identification and localization of road cracks,thereby playing a crucial role in ensuring road maintenance and traffic safety.Consequently,this technique finds extensive application in the domains of intelligent transportation and urbanization development.The technology exhibits significant promise for use in the domains of intelligent transportation and city development.展开更多
Landslides are one of the most disastrous geological hazards in southwestern China.Once a landslide becomes unstable,it threatens the lives and safety of local residents.However,empirical studies on landslides have pr...Landslides are one of the most disastrous geological hazards in southwestern China.Once a landslide becomes unstable,it threatens the lives and safety of local residents.However,empirical studies on landslides have predominantly focused on landslides that occur on land.To this end,we aim to investigate ashore and underwater landslide data synchronously.This study proposes an optimized mosaicking method for ashore and underwater landslide data.This method fuses an airborne laser point cloud with multi-beam depth sounder images.Owing to their relatively high efficiency and large coverage area,airborne laser measurement systems are suitable for emergency investigations of landslides.Based on the airborne laser point cloud,the traversal of the point with the lowest elevation value in the point set can be used to perform rapid extraction of the crude channel boundaries.Further meticulous extraction of the channel boundaries is then implemented using the probability mean value optimization method.In addition,synthesis of the integrated ashore and underwater landslide data angle is realized using the spatial guide line between the channel boundaries and the underwater multibeam sonar images.A landslide located on the right bank of the middle reaches of the Yalong River is selected as a case study to demonstrate that the proposed method has higher precision thantraditional methods.The experimental results show that the mosaicking method in this study can meet the basic needs of landslide modeling and provide a basis for qualitative and quantitative analysis and stability prediction of landslides.展开更多
Therapeutic effect of bronchisl asthma treated With CO<sub>2</sub> laser irradiating points was ob-served.Ninety-six cases of bronchial asthma,that were considered cold and insufficiency type accord-ing to...Therapeutic effect of bronchisl asthma treated With CO<sub>2</sub> laser irradiating points was ob-served.Ninety-six cases of bronchial asthma,that were considered cold and insufficiency type accord-ing to TCM,were divided into two groups:one treated with CO<sub>2</sub> laser irradiation at Tiantu(CV 22),Danzhong(CV 17),Feishu(BL13)and Dingchuan(EX-BI)(n=48),and the other with warmmoxibustion at same points(n=48).The symptoms,physical signs and pulmonary ventilation(PEF.VC,FEV<sub>1</sub>.0,FEV1%and MMEF)were taken as parameter.xhe results showed that thetherapeutic effect In laser irradiation group was better than that in moxibustion group.Moreover,laser irradiation could obviously improve pulmonary ventilation in patients.Therefore,CO<sub>2</sub> laser irra-diation is an effective therapy for bronchial asthma.展开更多
Paresthesia is the name given to a temporary or permanent sensory loss caused by several surgical procedures that affected the peripheral sensory nerve.In dentistry,common iatrogenic procedures that can lead to sensor...Paresthesia is the name given to a temporary or permanent sensory loss caused by several surgical procedures that affected the peripheral sensory nerve.In dentistry,common iatrogenic procedures that can lead to sensory loss include third molar removal,展开更多
Laser acupuncture therapy was employed in the treatment of spondylopathy.Thetherapeutic effect of the three types of the spondylopathy,nerve root type,vertebral artery type andspinal cord type were stuied and compared...Laser acupuncture therapy was employed in the treatment of spondylopathy.Thetherapeutic effect of the three types of the spondylopathy,nerve root type,vertebral artery type andspinal cord type were stuied and compared.The results indicate a significant difference between thethree types of spondylopathy.The best therapeutic effect was obtained in nerve root type with a remarkable effective rate of 98.5%;the effective rates for the vertebral artery type and the spinal cordtype were 92.3%and 25%,respectively.Combining laser irradiatlon with acupuncture,the therapyposseses the functions of acupuncture,heat effect and mild moxibustion action.Therefore,it showedeffect quickly and had the advantages of short treatment course and high therapeutic effect.Clinicalobservation has confirmed that laser acupuncture is more effective than single laser irradiation.Thistherapy offers another simple but effective method for the treatment of spondylopathy.展开更多
To address the current issues of inaccurate segmentation and the limited applicability of segmentation methods for building facades in point clouds, we propose a facade segmentation algorithm based on optimal dual-sca...To address the current issues of inaccurate segmentation and the limited applicability of segmentation methods for building facades in point clouds, we propose a facade segmentation algorithm based on optimal dual-scale feature descriptors. First, we select the optimal dual-scale descriptors from a range of feature descriptors. Next, we segment the facade according to the threshold value of the chosen optimal dual-scale descriptors. Finally, we use RANSAC (Random Sample Consensus) to fit the segmented surface and optimize the fitting result. Experimental results show that, compared to commonly used facade segmentation algorithms, the proposed method yields more accurate segmentation results, providing a robust data foundation for subsequent 3D model reconstruction of buildings.展开更多
The satellite laser ranging (SLR) data quality from the COMPASS was analyzed, and the difference between curve recognition in computer vision and pre-process of SLR data finally proposed a new algorithm for SLR was ...The satellite laser ranging (SLR) data quality from the COMPASS was analyzed, and the difference between curve recognition in computer vision and pre-process of SLR data finally proposed a new algorithm for SLR was discussed data based on curve recognition from points cloud is proposed. The results obtained by the new algorithm are 85 % (or even higher) consistent with that of the screen displaying method, furthermore, the new method can process SLR data automatically, which makes it possible to be used in the development of the COMPASS navigation system.展开更多
The laser altimeter loaded on the GaoFen-7(GF-7)satellite is designed to record the full waveform data and footprint image,which can obtain high-precision elevation control points for stereo image.The footprint camera...The laser altimeter loaded on the GaoFen-7(GF-7)satellite is designed to record the full waveform data and footprint image,which can obtain high-precision elevation control points for stereo image.The footprint camera equipped on the GF-7 laser altimetry system can capture the energy distribution at the time of laser emission and the image of the ground object where the laser falls,which can be used to judge whether the laser is affected by the cloud.At the same time,the centroid of laser spot on the footprint image can be extracted to monitor the change of laser pointing stability.In this manuscript,a data quality analysis scheme of laser altimetry based on footprint image is presented.Firstly,the cloud detection of footprint image is realized based on deep learning.The fusion result of the model is about 5%better than that of the traditional cloud detection algorithm,which can quickly and accurately determine whether the laser spot is affected by cloud.Secondly,according to the characteristics of footprint image,a threshold constrained ellipse fitting method for extracting the centroid of laser spot is proposed to monitor the pointing stability of long-period lasers.Based on the above method,the change of laser spot centroid since GF-7 satellite was put into operation is analyzed,and the conclusions obtained have certain reference significance for the quality control of satellite laser altimetry data and the analysis of pointing angle stability.展开更多
The appearance of 3D laser scanning technology is one of the most important technology revolutions in surveying and mapping field. It can be widely used in many interrelated fields, such as engineering constructions a...The appearance of 3D laser scanning technology is one of the most important technology revolutions in surveying and mapping field. It can be widely used in many interrelated fields, such as engineering constructions and 3D measurements, owing to its prominent characteristics of the high efficiency and high precision. At present its application is still in the initial state, and it is quite rarely used in China, especially in geotechnical engineering and geological engineering fields. Starting with a general introduction of 3D laser scanning technology, this article studies how to apply the technology to high rock slope investigations. By way of a case study, principles and methods of quick slope documentation and occurrence measurement of discontinuities are discussed and analyzed. Analysis results show that the application of 3D laser scanning technology to geotechnical and geological engineering has a great prospect and value.展开更多
Leaf normal distribution is an important structural characteristic of the forest canopy. Although terrestrial laser scanners(TLS) have potential for estimating canopy structural parameters, distinguishing between le...Leaf normal distribution is an important structural characteristic of the forest canopy. Although terrestrial laser scanners(TLS) have potential for estimating canopy structural parameters, distinguishing between leaves and nonphotosynthetic structures to retrieve the leaf normal has been challenging. We used here an approach to accurately retrieve the leaf normals of camphorwood(Cinnamomum camphora) using TLS point cloud data.First, nonphotosynthetic structures were filtered by using the curvature threshold of each point. Then, the point cloud data were segmented by a voxel method and clustered by a Gaussian mixture model in each voxel. Finally, the normal vector of each cluster was computed by principal component analysis to obtain the leaf normal distribution. We collected leaf inclination angles and estimated the distribution, which we compared with the retrieved leaf normal distribution. The correlation coefficient between measurements and obtained results was 0.96, indicating a good coincidence.展开更多
Seam image processing is the basis of the realization of automatic laser vision seam tracking system, and it has become one of the important research directions. Adding windows processing, gray processing, fast median...Seam image processing is the basis of the realization of automatic laser vision seam tracking system, and it has become one of the important research directions. Adding windows processing, gray processing, fast median filtering, binary processing and image edge extraction are used to pretreat the seam image. In the post-processing of seam image, the feature points of the target image are succesfully detected by using center line extraction and feature points detection algorithm based on slope analysis. The whole processing time is less than 150 ms, and the real-time processing of seam image can be implemented.展开更多
It is necessary that the laser inertial system is used to further improve the fire accuracy and quick reaction capability in the ballistic missile strapdown inertial navigation system. According to the guidance contro...It is necessary that the laser inertial system is used to further improve the fire accuracy and quick reaction capability in the ballistic missile strapdown inertial navigation system. According to the guidance controlling method and the output and error model of ballistic missile laser SIMU, the mathematical model of error propagation mechanism is set up and any transfer environmental function of error coefficient that affects the fire accuracy is deduced. Also, the missile longitudinal/lateral impact point is calculated using MATLAB. These establish the technical foundation for further researching the dispersion characteristics of impact point and reducing the laser guidance error.展开更多
井下斜坡道的定位与建图是实现井下斜坡道无人驾驶的关键技术之一,矿山井下斜坡道区域为典型非结构化环境特征,且道路具有一定倾斜角度,采用传统SLAM算法无法获得精确里程计信息,导致定位与建图精度难以满足无人矿卡行驶需求。针对上述...井下斜坡道的定位与建图是实现井下斜坡道无人驾驶的关键技术之一,矿山井下斜坡道区域为典型非结构化环境特征,且道路具有一定倾斜角度,采用传统SLAM算法无法获得精确里程计信息,导致定位与建图精度难以满足无人矿卡行驶需求。针对上述问题,通过研究激光SLAM(Simultaneous Localization And Mapping)算法LeGO-LOAM,笔者提出一种适用于矿山井下斜坡道环境的定位与建图方法。首先,针对井下斜坡道口两侧均为光滑水泥墙壁,特征点稀少问题,设计了基于人工路标的辅助增强定位方法,有效增加点云特征数量,从而优化位姿估计结果,避免建图漂移现象;然后在特征预处理阶段,提出了一种基于激光点云高度差与坡度信息融合的提取地面点高效算法,通过改善地面地点的选取策略,针对倾斜坑洼路面仍能有效识别地面点,解决了井下斜坡道定位与建图倾斜角度大、误差大等问题;其次,基于CVC(Curved-Voxel Clustering)聚类算法设计了一种斜坡道点云曲率体素聚类算法,采用曲率体素和基于哈希的数据结构对点云进行分割,大幅提高在井下稀疏、噪声环境下点云聚类的鲁棒性;最后,运用Scan-To-Map进行点云匹配,同时兼顾点云配准的性能与速度。在中钢集团山东某井下斜坡道的现场实验证明:与原算法相比精度提升13.15%,Z轴误差降低22.3%,地图质量明显提升,能有效解决井下无人驾驶建图及定位的难题。展开更多
The formation energies and the equilibrium concentration of vacancies, interstitial H, K, P, O and antisite structural defects with P and K in KH2PO4 (KDP) crystals are investigated by ab initio total-energy calcula...The formation energies and the equilibrium concentration of vacancies, interstitial H, K, P, O and antisite structural defects with P and K in KH2PO4 (KDP) crystals are investigated by ab initio total-energy calculations. The formation energy of interstitial H is calculated to be about 2.06 eV and we suggest that it may be the dominant defect in KDP crystal. The formation energy of an O vacancy (5.25 eV) is much higher than that of interstitial O (0.60 eV). Optical absorption centres can be induced by defects of O vacancies, interstitial O and interstitial H. We suggest that these defects may be responsible for the lowering of the damage threshold of the KDP. A K vacancy defect may increase the ionic conductivity and therefore the laser-induced damage threshold decreases.展开更多
基金founded by National Key R&D Program of China (No.2021YFB2601200)National Natural Science Foundation of China (No.42171416)Teacher Support Program for Pyramid Talent Training Project of Beijing University of Civil Engineering and Architecture (No.JDJQ20200307).
文摘In light of the limited efficacy of conventional methods for identifying pavement cracks and the absence of comprehensive depth and location data in two-dimensional photographs,this study presents an intelligent strategy for extracting road cracks.This methodology involves the integration of laser point cloud data obtained from a vehicle-mounted system and a panoramic sequence of images.The study employs a vehicle-mounted LiDAR measurement system to acquire laser point cloud and panoramic sequence image data simultaneously.A convolutional neural network is utilized to extract cracks from the panoramic sequence image.The extracted sequence image is then aligned with the laser point cloud,enabling the assignment of RGB information to the vehicle-mounted three dimensional(3D)point cloud and location information to the two dimensional(2D)panoramic image.Additionally,a threshold value is set based on the crack elevation change to extract the aligned roadway point cloud.The three-dimensional data pertaining to the cracks can be acquired.The experimental findings demonstrate that the use of convolutional neural networks has yielded noteworthy outcomes in the extraction of road cracks.The utilization of point cloud and image alignment techniques enables the extraction of precise location data pertaining to road cracks.This approach exhibits superior accuracy when compared to conventional methods.Moreover,it facilitates rapid and accurate identification and localization of road cracks,thereby playing a crucial role in ensuring road maintenance and traffic safety.Consequently,this technique finds extensive application in the domains of intelligent transportation and urbanization development.The technology exhibits significant promise for use in the domains of intelligent transportation and city development.
基金supported in part by the National Key R&D Program of China(Grant no.2016YFC0401908)。
文摘Landslides are one of the most disastrous geological hazards in southwestern China.Once a landslide becomes unstable,it threatens the lives and safety of local residents.However,empirical studies on landslides have predominantly focused on landslides that occur on land.To this end,we aim to investigate ashore and underwater landslide data synchronously.This study proposes an optimized mosaicking method for ashore and underwater landslide data.This method fuses an airborne laser point cloud with multi-beam depth sounder images.Owing to their relatively high efficiency and large coverage area,airborne laser measurement systems are suitable for emergency investigations of landslides.Based on the airborne laser point cloud,the traversal of the point with the lowest elevation value in the point set can be used to perform rapid extraction of the crude channel boundaries.Further meticulous extraction of the channel boundaries is then implemented using the probability mean value optimization method.In addition,synthesis of the integrated ashore and underwater landslide data angle is realized using the spatial guide line between the channel boundaries and the underwater multibeam sonar images.A landslide located on the right bank of the middle reaches of the Yalong River is selected as a case study to demonstrate that the proposed method has higher precision thantraditional methods.The experimental results show that the mosaicking method in this study can meet the basic needs of landslide modeling and provide a basis for qualitative and quantitative analysis and stability prediction of landslides.
文摘Therapeutic effect of bronchisl asthma treated With CO<sub>2</sub> laser irradiating points was ob-served.Ninety-six cases of bronchial asthma,that were considered cold and insufficiency type accord-ing to TCM,were divided into two groups:one treated with CO<sub>2</sub> laser irradiation at Tiantu(CV 22),Danzhong(CV 17),Feishu(BL13)and Dingchuan(EX-BI)(n=48),and the other with warmmoxibustion at same points(n=48).The symptoms,physical signs and pulmonary ventilation(PEF.VC,FEV<sub>1</sub>.0,FEV1%and MMEF)were taken as parameter.xhe results showed that thetherapeutic effect In laser irradiation group was better than that in moxibustion group.Moreover,laser irradiation could obviously improve pulmonary ventilation in patients.Therefore,CO<sub>2</sub> laser irra-diation is an effective therapy for bronchial asthma.
文摘Paresthesia is the name given to a temporary or permanent sensory loss caused by several surgical procedures that affected the peripheral sensory nerve.In dentistry,common iatrogenic procedures that can lead to sensory loss include third molar removal,
文摘Laser acupuncture therapy was employed in the treatment of spondylopathy.Thetherapeutic effect of the three types of the spondylopathy,nerve root type,vertebral artery type andspinal cord type were stuied and compared.The results indicate a significant difference between thethree types of spondylopathy.The best therapeutic effect was obtained in nerve root type with a remarkable effective rate of 98.5%;the effective rates for the vertebral artery type and the spinal cordtype were 92.3%and 25%,respectively.Combining laser irradiatlon with acupuncture,the therapyposseses the functions of acupuncture,heat effect and mild moxibustion action.Therefore,it showedeffect quickly and had the advantages of short treatment course and high therapeutic effect.Clinicalobservation has confirmed that laser acupuncture is more effective than single laser irradiation.Thistherapy offers another simple but effective method for the treatment of spondylopathy.
文摘To address the current issues of inaccurate segmentation and the limited applicability of segmentation methods for building facades in point clouds, we propose a facade segmentation algorithm based on optimal dual-scale feature descriptors. First, we select the optimal dual-scale descriptors from a range of feature descriptors. Next, we segment the facade according to the threshold value of the chosen optimal dual-scale descriptors. Finally, we use RANSAC (Random Sample Consensus) to fit the segmented surface and optimize the fitting result. Experimental results show that, compared to commonly used facade segmentation algorithms, the proposed method yields more accurate segmentation results, providing a robust data foundation for subsequent 3D model reconstruction of buildings.
文摘The satellite laser ranging (SLR) data quality from the COMPASS was analyzed, and the difference between curve recognition in computer vision and pre-process of SLR data finally proposed a new algorithm for SLR was discussed data based on curve recognition from points cloud is proposed. The results obtained by the new algorithm are 85 % (or even higher) consistent with that of the screen displaying method, furthermore, the new method can process SLR data automatically, which makes it possible to be used in the development of the COMPASS navigation system.
基金National Nature Science Foundation(Nos.41971425,41601505)Special Fund for High Resolution Images Surveying and Mapping Application System(No.42-Y30B04-9001-19/21)。
文摘The laser altimeter loaded on the GaoFen-7(GF-7)satellite is designed to record the full waveform data and footprint image,which can obtain high-precision elevation control points for stereo image.The footprint camera equipped on the GF-7 laser altimetry system can capture the energy distribution at the time of laser emission and the image of the ground object where the laser falls,which can be used to judge whether the laser is affected by the cloud.At the same time,the centroid of laser spot on the footprint image can be extracted to monitor the change of laser pointing stability.In this manuscript,a data quality analysis scheme of laser altimetry based on footprint image is presented.Firstly,the cloud detection of footprint image is realized based on deep learning.The fusion result of the model is about 5%better than that of the traditional cloud detection algorithm,which can quickly and accurately determine whether the laser spot is affected by cloud.Secondly,according to the characteristics of footprint image,a threshold constrained ellipse fitting method for extracting the centroid of laser spot is proposed to monitor the pointing stability of long-period lasers.Based on the above method,the change of laser spot centroid since GF-7 satellite was put into operation is analyzed,and the conclusions obtained have certain reference significance for the quality control of satellite laser altimetry data and the analysis of pointing angle stability.
基金the Key Project of Joint Funds of Yalongjiang River Development of the National Natural Science Foundation of China (No. 50539050)
文摘The appearance of 3D laser scanning technology is one of the most important technology revolutions in surveying and mapping field. It can be widely used in many interrelated fields, such as engineering constructions and 3D measurements, owing to its prominent characteristics of the high efficiency and high precision. At present its application is still in the initial state, and it is quite rarely used in China, especially in geotechnical engineering and geological engineering fields. Starting with a general introduction of 3D laser scanning technology, this article studies how to apply the technology to high rock slope investigations. By way of a case study, principles and methods of quick slope documentation and occurrence measurement of discontinuities are discussed and analyzed. Analysis results show that the application of 3D laser scanning technology to geotechnical and geological engineering has a great prospect and value.
文摘Leaf normal distribution is an important structural characteristic of the forest canopy. Although terrestrial laser scanners(TLS) have potential for estimating canopy structural parameters, distinguishing between leaves and nonphotosynthetic structures to retrieve the leaf normal has been challenging. We used here an approach to accurately retrieve the leaf normals of camphorwood(Cinnamomum camphora) using TLS point cloud data.First, nonphotosynthetic structures were filtered by using the curvature threshold of each point. Then, the point cloud data were segmented by a voxel method and clustered by a Gaussian mixture model in each voxel. Finally, the normal vector of each cluster was computed by principal component analysis to obtain the leaf normal distribution. We collected leaf inclination angles and estimated the distribution, which we compared with the retrieved leaf normal distribution. The correlation coefficient between measurements and obtained results was 0.96, indicating a good coincidence.
基金The work was supported by National Natural Science Foundation of China (No. 50975195).
文摘Seam image processing is the basis of the realization of automatic laser vision seam tracking system, and it has become one of the important research directions. Adding windows processing, gray processing, fast median filtering, binary processing and image edge extraction are used to pretreat the seam image. In the post-processing of seam image, the feature points of the target image are succesfully detected by using center line extraction and feature points detection algorithm based on slope analysis. The whole processing time is less than 150 ms, and the real-time processing of seam image can be implemented.
文摘It is necessary that the laser inertial system is used to further improve the fire accuracy and quick reaction capability in the ballistic missile strapdown inertial navigation system. According to the guidance controlling method and the output and error model of ballistic missile laser SIMU, the mathematical model of error propagation mechanism is set up and any transfer environmental function of error coefficient that affects the fire accuracy is deduced. Also, the missile longitudinal/lateral impact point is calculated using MATLAB. These establish the technical foundation for further researching the dispersion characteristics of impact point and reducing the laser guidance error.
文摘井下斜坡道的定位与建图是实现井下斜坡道无人驾驶的关键技术之一,矿山井下斜坡道区域为典型非结构化环境特征,且道路具有一定倾斜角度,采用传统SLAM算法无法获得精确里程计信息,导致定位与建图精度难以满足无人矿卡行驶需求。针对上述问题,通过研究激光SLAM(Simultaneous Localization And Mapping)算法LeGO-LOAM,笔者提出一种适用于矿山井下斜坡道环境的定位与建图方法。首先,针对井下斜坡道口两侧均为光滑水泥墙壁,特征点稀少问题,设计了基于人工路标的辅助增强定位方法,有效增加点云特征数量,从而优化位姿估计结果,避免建图漂移现象;然后在特征预处理阶段,提出了一种基于激光点云高度差与坡度信息融合的提取地面点高效算法,通过改善地面地点的选取策略,针对倾斜坑洼路面仍能有效识别地面点,解决了井下斜坡道定位与建图倾斜角度大、误差大等问题;其次,基于CVC(Curved-Voxel Clustering)聚类算法设计了一种斜坡道点云曲率体素聚类算法,采用曲率体素和基于哈希的数据结构对点云进行分割,大幅提高在井下稀疏、噪声环境下点云聚类的鲁棒性;最后,运用Scan-To-Map进行点云匹配,同时兼顾点云配准的性能与速度。在中钢集团山东某井下斜坡道的现场实验证明:与原算法相比精度提升13.15%,Z轴误差降低22.3%,地图质量明显提升,能有效解决井下无人驾驶建图及定位的难题。
基金Project supported by the Program for New Century Excellent Talents at the University of China (Grant No.NCET-08-0722)
文摘The formation energies and the equilibrium concentration of vacancies, interstitial H, K, P, O and antisite structural defects with P and K in KH2PO4 (KDP) crystals are investigated by ab initio total-energy calculations. The formation energy of interstitial H is calculated to be about 2.06 eV and we suggest that it may be the dominant defect in KDP crystal. The formation energy of an O vacancy (5.25 eV) is much higher than that of interstitial O (0.60 eV). Optical absorption centres can be induced by defects of O vacancies, interstitial O and interstitial H. We suggest that these defects may be responsible for the lowering of the damage threshold of the KDP. A K vacancy defect may increase the ionic conductivity and therefore the laser-induced damage threshold decreases.