1 Introduction

In the ancient buildings the study of modeling is referred as archaeology. It specifically deals with exploring the human culture and analyzing the material evidences for the explanation of the origin of human civilization (Hussain and Will 2020). Traditionally, carbon dating methods were used to extract the valuable historical information from these sites and building (Cowley and Stichelbaut 2012; Sun et al. 2021). These methods are relatively challenging due to the deficiency of professionally specialized Archaeometallurgy experts (Nakamura et al. 2001; Ren et al. 2021). The documentation of the availability of such records is essential for the reinterpretation of some hypothesis studies (Blakelock et al. 2009; Arooj et al. 2021). Thus, in the early nineteenth century, the advent of photogrammetry came into existence to allow 3D stereoscopic vision for information acquisition (Charlton et al. 2012; Kothai et al. 2021). The complete schematic of the photogrammetry technique for 3D modeling of ancient buildings is being depicted in Fig. 1.

Fig. 1
figure 1

Schematic of photogrammetry technique for 3D modeling of ancient buildings

Chinese ancient architecture has a long history and cultural value, and with its unique style, it plays an important role in social cohesion in Chinese traditional society, occupies an important position in the history of world architecture, and has extremely high artistic achievements and scientific value (Marín-Buzón et al. 2021). Protection is of great significance. Like all other historical relics, the value of ancient architecture is that it is a cultural heritage left over from history, cannot be reproduced and built, once destroyed, it is irreparable, it is the material manifestation of the traditional social and cultural spirit (Ren et al. 2019a; Pérez et al. 2014). It contains rich historical value. In the new period, Chinese traditional ancient architecture bears the inheritance and continuation of Chinese culture and has high cultural value and research value. Therefore, the protection of Chinese ancient architecture is particularly important. The traditional manual point measurement method cannot record the building information completely and may cause damage to the building in the process of measurement. Therefore, it is urgent to use a fast and noncontact method to extract information and model the ancient building in three dimensions (Pavlidis et al. 2007).

As a new technology, 3D laser scanning can break through the limitation of single point measurement of traditional measurement method and has the advantages of noncontact, high efficiency and high precision acquisition of 3D point cloud data on the object surface. This technology has been widely used in digital cultural heritage protection and restoration, intelligent city building, information extraction and so on. First, the technology can provide a high-precision database for building monitoring, protection and reconstruction, and building modeling in the Republic of China. Through these related applications, it is found that the disadvantage of this technology is that it is difficult to realize the omnidirectional three-dimensional modeling of buildings because of the inability to obtain the top data. The Use of UAV photogrammetry in 3D modeling also shows a dynamic role in building future smart cities with the assistance of drones it may help us to monitor the traffic controlling, environmental situation, road investigations etc. Also UAV technology can be imbibed with the ubiquitous computing model for efficient processing and computing since in the ubiquitous computing model processing can be done any time anywhere therefore computational time is very efficient and provides the benefit in the real time for critical applications like military surveillances, medical applications.

2 Contribution

This article contributes in addressing the issue of high precision 3D information acquisition and multiangle real texture feature acquisition by proposing a new method of 3D reconstruction of ancient buildings. The proposed method modifies and combines the 3D laser scanning methodology with tilt photogrammetry to obtain the data of ancient buildings. The data acquired using this technique is then combined using data processing with multisource data. This study takes the traditional ancestral hall of Jingshan as the research object and computes the relative median error is computed for the constructed 3D model. Complete two-dimensional information extraction and three-dimensional model reconstruction restore the traditional ancestral hall building information and model. The modeling efficiency is greatly improved by the proposed method when compared with the traditional method and significant technical support can be provided for the restoration and protection of ancient architectural cultural heritage.

Organization: of this article is as follows; Literature review of traditional restoration and protection methodologies for ancient architectural cultural heritage is provided in Sect. 2. Section 3 discusses the material and methods required for the investigation. Results and discussion are presented in Sect. 4 followed by the conclusion and future research scope in Sect. 5.

3 Literature review

The information acquisition on large-scale has become an important research area for feature extraction from the ancient building. By several researchers numerous methodologies have implemented to explore the aspects of digital photography, image processing and photogrammetry. These digital imaging and photogrammetry-based techniques are being utilized for various applications related to building archeology (Luo et al. 2018). The utilization of online archeological information in this environment is being done for different social applications and also being used for research purposes (Kumar and Mutanga 2018). Various other digital mapping platforms like Google Earth is also being utilized by the researchers for obtaining a clearer view of the ancient buildings of cultural heritage, large-scale elevation information, and improve the classification of land cover in the entire ecosystem (Verde et al. 2020; Colomina and Molina 2014).

In conventional aircrafts UAV based technology has employed for allowing convenient and fast capturing of significant areas in the reasonably time slot, that is cost efficient at the same time (Yan et al. 2021; Mozas-Calvache et al. 2012). The usage of UAV has become widespread due to the utilization of aerial photogrammetry for performing potential archaeological surveys (Ratta et al. 2021; Tang and Shabaz 2021). The robust technique of modern photogrammetry has varying requirements and the complexity of tasks is substantially reduced while using cost-effective analytics (Leon et al. 2020; Deshmukh et al. 2021). The UAV based schemes can be used in domains like archeology, agriculture, and forests (Zaman et al. 2018; Perea-Moreno et al. 2016).

Tilt photogrammetry technology has been gradually applied to various field measurements and increasing industry recognition and application. For a large building, the terrain is complex, the surface conditions are complicated, and the visual conditions are poor. Researcher has proposed an approach using UAV aviation tilt photographic measurement technology and real three-dimensional modeling technology, combined with traditional completion measurement techniques for urban cell completion measurements. The results show that the quality of the outcomes is fully met to meet various specification requirements, which can extend to other surveying fields (Novas et al. 2019; Thakur et al. 2021). UAV tilt photographic measurement is a high-tech that the remote sensing and surveying and mapping field has developed in recent years. It has the advantages of strong, high resolution, high precision, high efficiency, and low cost. In this article performed a geological environment survey in Guangdong Province that greatly improved the working efficiency, reduced production costs, and enhanced investigation accuracy. The authors realized the application of drone photography in geological environment surveys, and the results obtained can be similar to the future mining geology environment (Ren et al. 2019b).

The survey conducted from the literature indicates that the data collection using the UAV based approach is determined by various factors like changes in slope, surface and border and the photogrammetry-based method provide a platform for data collection at continuous surface points. The digital photography-based methods are also cost-effective, but they lack in adjusting the geometrical distortions and calibration. However, if digital photography as well as photogrammetry goes hand in hand, then this combination may provide a robust and flexible solution for 3D modeling of ancient buildings.

4 Material and methods

4.1 Cloud data acquisition of ancient buildings

Three-dimensional laser scanner is mainly composed of laser ranging and laser scanning system, the surface point cloud data of the object is obtained by transmitting the laser pulse. Data acquisition using Tianbao SX10 3D scanner, to ensure high accuracy and integrity of point cloud data of ancient buildings. A total of 18 site data were collected after a site survey of the building layout and structure, including 10 inside and 8 outside the building. Among them, the interior texture of the ancient building is complex. Adjacent scan sites ensure no more than 5 m distance, when the overlap rate is not less than 50 (Chen et al. 2021; Wakeford et al. 2019). The houses near the outside of the ancient buildings are dense. The overlap rate during external scanning is not less than 30. Select the standard scan (12.5 mm points at 50 m). Scan range 360 × 300, About 50 min of time, each site cloud number is about 3 × 107. Scanner site location map, as shown in Fig. 2.

Fig. 2
figure 2

Map of scanner site location

4.2 Data on tilt photography of ancient buildings

In this study, Dajiang Phantom4RTK UAV was used to obtain image-free tilt photography data of ancient buildings (Fig. 3). Aircraft carrying 1 inch CMOS, Effective pixel, 20 million, 50 km/h; in positioning mode with the RTK navigation module. Provides real-time centimeter positioning data, which improve the accuracy of image metadata. For this study area, the tilt photography area of UAV is 0.04 km2. Actual aerial photography and modelling area 420 m2. The aerial area is shown in Fig. 3. The drone's course is set in the east–west direction, camera angle − 45. The aerial overlap of the image is greater than 80%. The degree of lateral overlap is greater than 80. In this study, 472 images were obtained. Of which 458 were valid images, 3 h in time through the relationship between altitude (H) and ground resolution (GSD). As shown in formula (1), the best altitude of flight can be calculated.

$$ H = \frac{f \times GSD}{{\text{a}}} $$
(1)

H is the relative altitude, f is the focal length of the photographic lens, GSD is the ground resolution of the image, and α is the size of the pixel (Remondino et al. 2012; Chakraborty et al. 2021). The optimum relative flight height is 68 m, and the resolution is less than 5 cm. The final resolution of the model is up to 3 cm, which meets the requirements of 1:500 two-dimensional drawing and subsequent data processing.

Fig. 3
figure 3

A schematic diagram of the aerial range

In a word, the characteristics and advantages of 3D laser scanning and UAV tilt photogrammetry are combined. The acquisition of ancient building data can be divided into three parts: the ground 3D laser scanner is used to obtain the high precision point cloud data, the roof part of the ancient building is obtained by UAV low altitude photogrammetry. Two kinds of data fusion can obtain the complete and omnidirectional ancient building space data information.

4.3 Methodology

In this study, the new method of 3D laser scanning and tilt photogrammetry is used to obtain the data of ancient buildings, and the multisource data of laser point cloud data and tilt photography data are fused based on the feature point matching algorithm. To obtain the complete spatial data model of ancient architecture; secondly, the 3D model of ancient architecture is constructed. Finally, a high-precision and complete three-dimensional model of ancient architecture is obtained. The technical route of data processing is shown in Fig. 4 where improved Feature point Matching Algorithm is used to process two further steps (a. selecting the feature points of same name, b. Calculating the rough rotation and translocation matrices) then 3rd step is to make improvements in the above results by further two processes (a. Kd-Tree Neighborhood Search, b. Plane fitting, normal vector calculation) 4th step is optimizing feature points of same name then calculating the rotation and translocation matrix is done to finally obtain Multi-source data fusion model.

Fig. 4
figure 4

Flowchart of improved feature point matching algorithm

4.3.1 Point cloud data processing

Three-dimensional laser scanning has a large amount of data and many sites. The model needs to be constructed after a series of data registration and splicing, texture mapping and denoising filtering. Firstly, the point cloud data and image data are fused; secondly, the point cloud data of each station are registered, and the residual error between adjacent stations is not more than 2 mm. When registration is carried out the result of point cloud data registration in this study is that the point cloud to point cloud error is 1 mm, the registration error between each station ≤ 2 mm, the average of confidence water is ≥ 50, which meets the requirements of ancient building reconstruction. Finally, the point cloud is de-noised and filtered. The original point cloud data contains unnecessary noise data outside the ancient building, such as noise points generated by indoor moving objects, outdoor trees, wires and other houses, etc., excluding the noise points outside the ancient building and the point cloud data not needed inside the building, but only retaining the main body of the ancient building (Sharma et al. 2021). The laser point cloud data model of the traditional ancestral hall can be obtained after the above processing, as shown in Fig. 5.

Fig. 5
figure 5

Schematic diagram of the point cloud model

4.3.2 Tilt data processing

The oblique image data is processed by even light and uniform color before generating the model (Moreira et al. 2021). In the calculation of aerial triangulation, the aerial triangulation is different from the conventional digital aerial photogrammetry because of the characteristics of large inclination angle, large image deformation, unable to unify the scale, many overlaps and so on. In this study, the vertical image and the inclined image are imported into the calculated beam method to obtain the spatial position and attitude information of the local area network adjustment. Through the dense matching of multiview images, the ultra-high density point cloud based on tilt photography real image can be generated, and the high-resolution real scene 3D model based on real image can be generated (Huang et al. 2020). The generation of tilt model has the problems of matching errors, flaw, and vulnerabilities. The model quality can be improved by model refinement, and then the modified model can be mapped to obtain accurate 3D model data (Dash et al. 2021).

4.3.3 Fusion of point cloud data and tilt data

Because the 3D laser scanner on the ground cannot obtain the data of the cornice and the upper part of the ancient building, and the houses around the ancient building are dense, the image data of the building side obtained by the UAV are less, and the inclined model data are generated (Sookoo et al. 2021). To obtain the building information that meets the precision requirement, this study combines the laser point cloud data with the tilt data to obtain the three-dimensional model data of the ancient architecture that meets the requirements. Based on the improved feature point registration algorithm, the basic principle of feature point matching algorithm is to calculate the rotation matrix and translation matrix by manually selecting the feature points of the same name. The main process is as follows:

  1. 1.

    The manual extraction of feature point pairs with the same name, the rotation matrix R1 and the translation matrix are calculated T1 and the data of the two are spliced.

  2. 2.

    M nearest data point to point T (x, y, z) is obtained by using the Kd-Tree nearest neighbor search algorithm, and the least square plane of point cloud coordinate is established to calculate the normal vector of least square plane \(\overrightarrow {{a_{1} }}\).

  3. 3.

    Using Kd-Tree nearest neighbor search method, M/2 nearest data points are obtained from each data, and the least square plane of point T is constructed to calculate the normal vector of the least square plane \(\overrightarrow {{a_{2} }}\).

  4. 4.

    Calculate the angle between the normal vector, Calculate the angle between the normal vector 1 and the zenith direction, respectively, and the zenith direction, respectively \(\alpha_{1}\),\(\alpha_{2}\) and calculate the difference value of \(\alpha_{1}\),\(\alpha_{2}\), when the difference value is less than or equal to the threshold value, calculate the average value of the M point coordinates. When the difference value is greater than the angle threshold T the feature point of the same name is eliminated, the transformation matrix is recalculated, and all the feature points of the same name meeting the requirements are cycled to improve the registration accuracy.

The steps of feature point registration algorithm are as follows: in the process of two kinds of data fusion, let the original coordinate of laser point cloud data be A, the tilt photogrammetry data coordinate is B, according to the coordinate value of the same name point in A and B. The rotation matrix R and translation matrix a can be obtained by formula (2).

The \(P_{A} = RP_{B} + T\) (2)

$$ \left[ {\begin{array}{*{20}c} {X_{A} } \\ {Y_{A} } \\ {Z_{A} } \\ \end{array} } \right] = R\left[ {\begin{array}{*{20}c} {X_{B} } \\ {Y_{B} } \\ {Z_{B} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {t_{1} } \\ {t_{2} } \\ {t_{3} } \\ \end{array} } \right] $$
(3)
$$ R = \left[ {\begin{array}{*{20}c} {\cos \alpha } \\ {\sin \alpha } \\ 0 \\ \end{array} \begin{array}{*{20}c} { - \sin \alpha } \\ {\cos \alpha } \\ 0 \\ \end{array} \begin{array}{*{20}c} 0 \\ 0 \\ 1 \\ \end{array} } \right]\left[ {\begin{array}{*{20}c} {\cos \beta } \\ 0 \\ {\sin \beta } \\ \end{array} \begin{array}{*{20}c} 0 \\ 1 \\ 0 \\ \end{array} \begin{array}{*{20}c} { - \sin \beta } \\ 0 \\ {\cos \beta } \\ \end{array} } \right] $$
$$ \left[ {\begin{array}{*{20}c} 1 \\ 0 \\ 0 \\ \end{array} \begin{array}{*{20}c} 0 \\ {\cos \gamma } \\ {\sin \gamma } \\ \end{array} \begin{array}{*{20}c} 0 \\ { - \sin \gamma } \\ {\cos \gamma } \\ \end{array} } \right] $$

The PA represents the coordinate value of the same name point A the laser point cloud model, PB the coordinate value of the same name point B the tilt photogrammetry model. R is the rotation transformation matrix between the two models. Secondly, the 3D spatial coordinate values of the three groups of feature points of the same name in the B of the laser point cloud model A and tilt photogrammetry model can be obtained by using the least square method to obtain the 6 parameters needed for coordinate transformation of the two data registration (α, β, γ, t1, t2, t3). The values of rotation matrix R and translation matrix T are obtained are obtained transformation matrix is finally transformed \(Q = \left[ {\left. R \right|T} \right]\).

According to the numerical value of the transformation matrix obtained, the coordinates (\(X_{Bi} ,Y_{Bi} ,Z_{Bi}\)) of each point in the B of the tilt photography model are substituted into the conversion formula (4) between the two stations, respectively. The coordinate values of the B data in the A of the laser point cloud model can be obtained (\(X_{Ai} ,Y_{Ai} ,Z_{Ai}\)). That is to complete the data registration fusion A the tilt photography model, B the point cloud model.

$$ \left[ {\begin{array}{*{20}c} {X_{Ai} } \\ {Y_{Ai} } \\ {Z_{Ai} } \\ \end{array} } \right] = R\left[ {\begin{array}{*{20}c} {X_{Bi} } \\ {Y_{Bi} } \\ {Z_{Bi} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}c} {t_{1} } \\ {t_{2} } \\ {t_{3} } \\ \end{array} } \right] = Q\left[ {\begin{array}{*{20}c} {X_{Bi} } \\ {Y_{Bi} } \\ {Z_{Bi} } \\ \end{array} } \right] $$
(4)

Therefore, this study uses the feature point registration algorithm to obtain high precision cornice model data. After the fusion of the algorithm in this study, the missing data of the laser point cloud data model in the building roof, as well as the phenomenon of pulling flowers and breaking holes in the inclined photography data model, are improved. Finally, the multisource data fusion before and after comparison, as shown in Fig. 6.

Fig. 6
figure 6

source data fusion

Comparison of multi-

5 Results and discussion

5.1 Results

5.1.1 Multi-source data fusion results

In this study, to compare the accuracy of multisource data fusion point error is used. The 12 feature points in the data fusion are shown in Fig. 7. Based on the laser point cloud data, the fusion accuracy of multisource data is shown in Table 1. \(\Delta x,\Delta y,\Delta z\) of 12 points can be obtained by coordinate comparison. According to the point error formula (5), the point error of each point can be calculated. The maximum point error is 3.00 cm, the minimum point error is 1.00 cm, and the average point error is 1.60 cm. Because the resolution of tilt photogrammetry data is centimeter level, the error of multisource data fusion in this study is small.

$$ \Delta S = \sqrt {\Delta x^{2} + \Delta y^{2} + \Delta z^{2} } $$
(5)
Fig. 7
figure 7

Characteristics of buildings

Table 1 Results of multi-

5.1.2 Two-dimensional Information Extraction of Ancient Buildings

According to the point cloud model, tilt model and multisource data fusion model, the information extraction of building plan and elevation map is carried out. Based on the high-precision point cloud model, the two-dimensional information such as the inner facade, the outer facade and the interior plan of the ancient building are extracted; the plane slope map of the area above the eaves of the ancient building is drawn based on the tilt model; the multisource data model which combines the point cloud data with the tilt data can extract the architectural details such as the eaves and cornice of the ancient building. First of all, the view of any angle of the building can be obtained by using the processed model data. The orthophoto image is constructed based on the model data of the exterior facade, interior facade and overlooking surface of the building, and the two-dimensional information extraction of all kinds of elevation plans and plans of ancient buildings is carried out.

Secondly, because the model data has accurate three-dimensional spatial coordinate values, the distance between any points of ancient buildings can be calculated according to the building contour and building structure extracted by orthophoto image, and the relationship between various kinds of building structures and the amount of different building materials can provide reliable and accurate spatial coordinate information for the restoration and reconstruction of ancient buildings. The building facade and plan are provided in Fig. 8.

Fig. 8
figure 8

Building facade and plan

5.1.3 3D Modeling of Ancient Architecture

The three-dimensional modeling of ancient buildings mainly includes the following steps: first, each elevation map extracted based on high precision point cloud data is spliced, and the white model is constructed according to the characteristic line of the building. Secondly, texture mapping is carried out to make the model change from a geometric entity to a true 3D model. In the process of collecting data, the 3D laser scanner acquires the image information of different angles in each direction of the ancient building. By mapping and rendering the image, the effect of the texture picture can reach the most consistent state with the model. Finally, the three-dimensional model of the ancient architecture after texture mapping and rendering, as shown in Fig. 9, can be displayed on the network platform.

Fig. 9.
figure 9

3D model of ancient architecture

3D printing is to present the spatial form of the three-dimensional model in proportion to the three-dimensional entity. For the complex three-dimensional model of ancient architecture, its advantages are more prominent, and the complex solid model can be made efficiently. For cultural relic repair and monitoring. In this study, polymer materials are used for printing, which are easy to form, more economical, and have good ductility and impact resistance. Model printing time is affected by model size, fineness and printing quality. In addition, before the model is printed, it is necessary to check whether the model structure is stable or not, and to set the position strengthened by the model for the unstable situation. This study prints two three-dimensional models of different sizes, with scales of 1:30 and 1:130, respectively. According to the needs of the model, the roof part of the model is printed separately, which is convenient to observe the internal details of the ancient building model. 3D print completed 3D model as shown in Fig. 10. From the figure, we can see that the 3 D printing model completely and truly restores the accurate 3D model of the ancient building of Li's family temple, which can be displayed intuitively, and has a positive effect on the restoration and protection of the ancient building and the spread of clan culture.

Fig. 10
figure 10

Printing model 3D ancient building

5.2 Discussion

5.2.1 Comparison of modeling accuracy

Accuracy verification is essential for 3d modeling. To verify the accuracy of the model, this study uses the actual measurement length of the Leica-d2 laser rangefinder and the comparison of the constructed model to verify the accuracy results 0.8 objects of the ancient building model are selected to compare the actual laser rangefinder data with the actual laser rangefinder data (Fig. 11).

Fig. 11
figure 11

Measurement schematic

In this study, the error and relative median error are used to compare and analyze the accuracy of the target object. The average difference between the 8 objects of the 3D model of the building can be obtained |ΔS| Mean: 4.33, 4.83, 4.67, 3.17, 4.83, 4.00, 5.67 and 4.50 mm, the average error of 8 objects is 4.50 mm.At the same time, the maximum distance difference between the measured length and the model length is the building height |ΔS|Max = 14 mm. Minimum distance difference |ΔS|min = 1 mm.The modeling accuracy should not exceed 20 cm, and the building height difference should not exceed 1.0 m. According to the accurate modeling requirements of the building the error of the 3D model is within the requirement of accurate modeling of the building, and the error is small. Secondly, the relative median error δ, as shown in formula (6), can be further calculated to verify the accuracy of each object.

$$ \delta = \pm \sqrt {\frac{{\left[ {\Delta \Delta } \right]}}{n}} $$
(6)

Among them: Δ = Δs,n is the number of observations. For this study n, calculation results of 6, the relative median errors are shown in Table 2. The relative median errors of 8 objects in the 3D model of buildings are 4.43, 6.72, 5.48, 3.67, 5.08, 4.24, 5.83 and 4.98 mm, The average relative median error of 8 objects is 5.05 mm. It can be the error of each object in this study is small. In summary, from the accuracy analysis of error and relative middle error, this study proposes an improved feature point matching algorithm to realize the accurate fusion of multisource data and the construction of three-dimensional model of ancient architecture. The accuracy is relatively high and meets the requirements of modeling accuracy. Because the 3D model, elevation data of ancient buildings constructed in this study are derived from high precision point cloud data extraction. The accuracy of the model can also reach the millimeter level from the calculation results of error and relative middle error. Therefore, the 3D model constructed in this study has high accuracy.

5.2.2 Modeling efficiency analysis

To verify that the 3D modeling based on this study is more efficient than the traditional measurement methods, the modeling efficiency is analyzed. The laser point cloud data of ancient buildings were collected from 18 stations, the scanning time of a single station was 50 min, and h; a total of 15 UAV tilt photogrammetry acquisition data were synchronized, which took about 3 h. To obtain the data because the 3D laser can be observed all time, it takes only 1 day to obtain the data. Registration and stitching of laser point cloud data, denoising and simplification of laser point cloud data of tilt photogrammetry data, and multisource data fusion of point cloud data and tilt photography data h, A total of 5 building plans and elevation map extraction drawing about 3 h. Due to the complexity of the main entrance structure, doors and windows and internal structure of the ancient architecture, it takes some time to process the model carefully in the later stage of 3D solid modeling, but both 3D laser and tilt photography collect the image of the building and save the time of texture acquisition. Finally, this study uses 3 days to complete the construction of three-dimensional model of ancient architecture.

3D in the acquisition of building size information using traditional manual modeling and manual use of tape measures or laser rangefinder; Secondly, due to the limited building information collected, the time required for 3D modeling of subsequent buildings is greatly increased, and it takes about 1 week to use traditional manual modeling. Available traditional modeling is time-consuming and laborious and the data obtained are inefficient; In the process of manual measurement, frequent contact with the components of ancient buildings is easy to cause damage to ancient buildings. Therefore, the modeling efficiency of this research method is more efficient than that of the traditional method, and of 3D laser point cloud data and UAV tilt photography data can reduce the error rate of internal and external industries in the modeling process. The cost of returning site supplementary measurement data is avoided. At the same time, the 3D laser point cloud data and the ancient building data obtained by UAV tilt photogrammetry are more abundant and complete, which is the original 3D spatial model data that can be archived. It can provide the most original data support for scientific research personnel. To sum up, this research method has great benefit in constructing three-dimensional models of ancient architecture.

6 Concluding remarks

This paper takes the traditional ancestral hall of Jiushan Village, a traditional Chinese village, as the research object, and uses the noncontact measurement technology combined with 3D laser scanning technology and tilt photography technology to carry out the comprehensive and fine 3D modeling application of ancient buildings. The following three conclusions are obtained:

  1. 1.

    The improved feature point matching algorithm is proposed to realize the accurate fusion of multisource data, which can quickly obtain the complete and omnidirectional three-dimensional space data of ancient buildings and provide data support for the modeling of ancient buildings.

  2. 2.

    Average error of fusion accuracy between laser point cloud data and tilt photogrammetry data constructed in this study is 1.6 cm, and the data fusion accuracy is high, which indicates that multisource data fusion has high accuracy.

  3. 3.

    Constructed 3D model compared with the actual measurement, the relative median errors of the eight objects of the constructed 3D model are 4, 7, 5, 4, 5, 4, 6 and 5 mm, and the average value is 5 mm, which meets the requirements of accurate modeling accuracy. Moreover, the relative median error of each object of the model is small and the modeling accuracy is high.

Application results show that this study can provide fine, omni-directional, complete two-dimensional information and data support of three-dimensional models for the restoration of ancient buildings. It can be displayed intuitively by 3D printing model, which has a positive effect on restoration, protection of ancient buildings, and the spread of clan culture. The scopes which should be revealed as a future perspective of this research work are: This study should be tested for large amount of data and more redundant data and the improvement should be investigated further for the extraction of some complex structures. In the future, the development direction is to improve the ability of information extraction and to build a big data platform with the integration of real-time data acquisition, transmission and information extraction, to further enhance the value of data acquisition, information extraction and archiving. Therefore, the modeling efficacy of the method used in this research is extra resourceful compared to the traditional method, At the same time, the 3D laser point cloud data and the ancient building data obtained by UAV tilt photogrammetry are more ample and complete, which is the original 3D spatial model data that can be recorded. This approach can provide the most original data support for scientific research personnel. This research method is determined to have a great benefit in constructing three-dimensional models of ancient architecture.