Next Article in Journal
GIS Mapping Evaluation of Stroke Service Areas in Bangkok Using Emergency Medical Services
Next Article in Special Issue
A Web GIS-Based Integration of 3D Digital Models with Linked Open Data for Cultural Heritage Exploration
Previous Article in Journal
Regression and Evaluation on a Forward Interpolated Version of the Great Circle Arcs–Based Distortion Metric of Map Projections
Previous Article in Special Issue
Edge Detection in 3D Point Clouds Using Digital Images
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Ming and Qing Dynasty Official-Style Architecture Roof Types Classification Based on the 3D Point Cloud

1
School of Geomatics and Urban Spatial Informatics, Beijing University of Civil Engineering and Architecture, Beijing 100044, China
2
Chinese Academy of Surveying and Mapping, Beijing 100036, China
*
Author to whom correspondence should be addressed.
ISPRS Int. J. Geo-Inf. 2021, 10(10), 650; https://doi.org/10.3390/ijgi10100650
Submission received: 7 June 2021 / Revised: 29 August 2021 / Accepted: 13 September 2021 / Published: 27 September 2021
(This article belongs to the Special Issue Cultural Heritage Mapping and Observation)

Abstract

:
The Ming and Qing Dynasty type of official-style architecture roof can provide plenty of prior knowledge relating to the structure and size of these works of architecture, and plays an important role in the fields of 3D modeling, semantic recognition and culture inheriting. In this paper, we take the 3D point cloud as the data source, and an automatic classification method for the roof type of Ming and Qing Dynasty official-style architecture based on the hierarchical semantic network is illustrated. To classify the roofs into the correct categories, the characteristics of different roof types are analyzed and features including SoRs, DfFtR, DoPP and NoREs are first selected; subsequently, the corresponding feature extraction methods are proposed; thirdly, aiming at the structure of the ridges, a matching graph relying on the attributed relational graph of the ridges is given; based on the former work, a hierarchical semantic network is proposed and the thresholds are determined with the help of the construction rules of the Ming and Qing Dynasty official-style architecture. In order to fully verify the efficiency of our proposed method, various types of Ming and Qing Dynasty official-style architecture roof are identified, and the experimental results show that all structures are classified correctly.

1. Introduction

1.1. Backgrounds

The Ming and Qing Dynasty official-style architecture, which mainly includes the royal palaces, official buildings and Buddhist/Taoist temples, is an important carrier for traditional Chinese culture and is considered as the last peak of Chinese architectural history [1,2]. Timberwork is the main construction material for this ancient Chinese architecture, and wooden posts, beams, lintels and joists make up the framework of a house. Suffering from natural disasters and man-made destruction, a mass of the ancient architecture is damaged or has disappeared due to the fact that these construction materials are vulnerable to weathering and fires [3]. To preserve the information of this ancient architecture, digital documentation has become increasingly necessary. The 3D point cloud, which can be captured from terrestrial or airborne LiDAR, and UAV-based SfM processing have become one of the most reliable data sources, and play a more and more important role in the field of digital documentation [4,5,6]. Recent studies on the 3D point cloud have achieved great progress in 3D architectural documentation [7]. However, the ancient buildings in the Ming and Qing Dynasty contain a large number of components with irregular shapes, and this brings great difficulties in reconstructing the 3D parametric model, which has further application [8,9].
Roof types have been widely used in 3D building and parametric modeling and have led to many achievements. Kada and McKinley [10] firstly segmented the point cloud and determined that the roof type relies on the number of segments; then, the roof plane parameters were estimated. Mass and Vosselman [11] selected the heights of the point cloud as weight functions in moment equations to compute the information on the roof type and shape parameters. On this basis, the gable roof was reconstructed in [11]. Much of the literature indicates that roof types play an important role in 3D reconstruction [12,13,14,15].
Similarly, the roof types (form) of the Ming and Qing Dynasty official-style architecture can also improve the efficiency of parametric modeling. Moreover, in the Ming and Qing Dynasty, the hierarchy was strictly divided and the construction of the Ming and the Qing Dynasty official-style architecture followed certain rules, which can be searched for in YingzaoFashi (Building Standards) [16] of the Song Dynasty or Gongchengzuofa zeli (Structural Regulations) [17] published by Qing. The roof types (form) of the Ming and Qing Dynasty official-style architecture can provide more information, including the structure, topological relation and the size of the components. Based on the information from the roof types, Yuan Shen [18] calculated the parameters of the traditional Chinese curvilinear roof based on the roof types (form). Other 3D reconstruction methods for ancient Chinese architecture using roof types can be seen in [19,20,21].
Hence, understanding how to distinguish the roof types of the Ming and Qing Dynasty official-style architecture from the point cloud is an important task, and has a great significance in the field of 3D modeling.

1.2. Related Works

1.2.1. Roof Type Classification

Focusing on the roof type, several classification methods have been proposed by researchers. The previous classical methodologies for roof type classification mainly rely on the texture, geometry, height and other features to form building roof hypotheses. These features can come from images, the 3D point cloud or DSM. For example, Kushwaha et al. [22] applied the inclination to categorize roof points into flat, inclined or dome-type roofs; Mohajeri et al. [23] made use of the number of roof surfaces and the distribution of the binned slope angles to complete the roof classification based on the DSM; Zang et al. [24] designed a new feature to describe the roof and obtain better performance compared with the histogram of oriented gradient (HOG), scale-invariant feature transform (SIFT) and local binary pattern (LBP) features. The methods in [25,26,27] provide other examples.
Despite the data sources being different, features are always the key to roof type recognition in classical roof classification methods. Aiming at the different roof types, the features must be designed carefully. This principle also applies to the roof classification of the Ming and Qing Dynasty official-style architecture. However, the differences between different roof types may be very small. How to select and extract the proper features from a 3D point cloud to distinguish the roof types is still a challenging task.
In recent years, with the advances in the field of artificial neural networks, some researchers have turned their attention towards deep learning for roof types classification. Axelsson et al. [28] applied a pre-trained deep convolutional neutral network (CNN) to classify the most common slope and flat roof types based on the aerial images. Similarly, based on a pre-trained CNN framework, Partovi et al. [29] accomplished building roof types classification. In addition to using a pre-trained CNN framework directly, Partovi et al. extracted the deep features from deep layers of different pre-trained CNN models and made use of an SVM classifier to recognize the building roof type. Jeremy et al. [30] proposed an automatically labelling building roof shape method from publicly available GIS data. In this method, a diverse annotated roof image dataset is created, the multiple CNN architectures are trained and tested, and the experimental results show that the fusion of the satellite image and LiDAR data can provide greater classification accuracy than using either data type alone. To improve the learning efficiency and prediction accuracy, Bittner et al. [31] propose a Multi-Task conditional generative adversarial network (cGAN) for simultaneous space borne DSM refinement and roof-type classification.
The methods based on deep learning for roof classification shows promising results; however, there are some limitations. On one hand, although some roof type training datasets have been published [32], these datasets mainly consist of images and there is rarely a point cloud dataset focusing on the Ming and Qing Dynasty official-style architecture roof. On the other hand, the direct method of applying deep learning on a point cloud is to convert the data into volume representation. Comparing with the 2D image, the amount of 3D volume data will become very large, very fast (although a graphics processing unit (GPU) has been developed). To speed up processing, it is necessary to compromise and adopt a lower resolution (some methods use 64 × 64 × 64). This strategy will cause the loss of details and bring the cost of quantization errors. In fact, some experimental results show that the classical methods may obtain better performance than the deep learning methods in the field of architectural heritage point cloud classification [33].

1.2.2. Object Recognition Based on 3D Point Cloud

Identifying roof types of the Ming and Qing official-style architectures from a point cloud is an object recognition/classification problem. Classical object recognition methods based on the 3D point cloud mostly compare/learn the geometric, shape, structural attributes or multiple attributes to complete the object recognition and classification [34]. From the perspective of the features, these methods can be divided into four categories: object recognition methods based on local features, object recognition methods based on global features, object recognition methods based on graph matching and object recognition methods based on machine learning.
The process of the object recognition methods based on local features can be divided into three stages: key point detection, feature description and matching. Many mature methods which can complete specific functions in each stage have been proposed. In the key point detection stage, the common key point detection algorithms mainly include intrinsic shape signatures (ISSs) [35], Harris 3D [36], local surface patches (LSPs) [37]; fast point feature histograms (FPFHs) [38], SHOT [39] and rotational projection statistics (ROPS) [40] which are used for feature description; the feature matching can be completed by the threshold method, nearest neighbor (NN) and nearest neighbor distance ratio (NNDR) [41]. Due to the fact that this type of method makes use of the local features of the key points, edges and patches to complete the target object recognition directly, it inevitably needs to search for the feature points from the entire scene and model. This causes the recognition process to be time consuming. The object recognition methods based on global features firstly extract the target object from the entire scene and regard the 3D target object as a whole; then, the global features from the whole 3D target are applied for the object recognition. The common classical global features mainly contain GFPFH [42], VFH [43], CVFH [44] and ESF [45]. Although this kind of method is faster compared with the object recognition methods based on global features, it is sensitive to noise and occlusion. This is mainly because the noise and occlusion damage the extraction results of the target object from the complex scene. Moreover, due to the fact that the object recognition methods based on global features regard the target object as a whole, it is difficult to describe the details of 3D models and recognize objects with similar shapes. For the Ming and Qing official-style architecture, the differences are just some details between these roofs. This will damage the recognition rate.
In addition to extracting features directly from the point cloud for object recognition, some researchers decompose the point cloud data into basic shapes and convert these basic shapes into a topological graph to represent and recognize the target objects. Schnabel et al. [46] applies the random sample consensus (RANSAC) algorithm to decompose the point cloud data into basic shapes. Each basic shape is represented by an abstract point, and the adjacent relationship between them is represented by a topological graph. The object recognition is completed by graph matching. The similar methods in [47,48,49] are a few examples. The main difference of these methods is what kind of features are selected and extracted to construct the topological graph. For example, Cheng et al. [47] select various curvature information to construct the topological graph; Hao et al. [48] defines the connection types between different types of planes and analyzes the structure of common objects; Berner et al. [49] combines the outlines and shape to construct the topological graph. For the Chinese ancient architecture roof, the structure of the roof is the important feature. However, only relying the structure of the different Ming and Qing Dynasty official-style architectures is impossible. This is mainly because the different roof types may have the same structure relationship. For example, the structure of the overhanging gable roof and the flush gable roof are the same.
The object recognition method based on machine learning extracts and learns the features of samples, and uses the classifier to complete the classification and recognition of objects. Generally speaking, machine learning classifiers can be divided into two categories: traditional machine learning and deep learning. In the traditional machine learning method, the commonly used classifiers are: support vector machine [50], random forest [51], adaboost [52], jointboost [53], naive Bayes classifier [54] and maximum expectation algorithm [55]. Nowadays, the research of point cloud classification mainly focuses on the recognition of the different ground objects from complex scenes. Much of the literature shows that the most important impactors affecting recognition are the selected features. Hence, the extraction of the features presented in the Ming and Qing official buildings with different styles is very important in the process of the Ming and Qing official building style classification based on the point cloud.
Thanks to the performance improvement of computer hardware, some architectural heritage classification methods based on deep learning are proposed. One of the earliest and most famous deep learning architectures working directly on the point cloud is point net [56]. It is an end-to-end deep neural network, which can learn the features of classification, part segmentation and semantic segmentation by itself. Because the point net does not capture the local geometry, a development, namely PointNet++ [57] is proposed. Besides the PointNet, some researchers [58,59] applied convolution to gain understanding of point-based learning. In 2019, Wang et al. propose a method named DGCNN [60]. Instead of employing individual points, this method exploits local geometric structures by constructing a local neighborhood graph and applying convolution-like operations on the edges connecting neighboring pairs of points. Although the architectural heritage classification methods based on deep learning have obtained a good performance, no matter what the ML or DL, the training datasets are very important. Nowadays, some datasets such as ModelNet 40 [61], KITTI [62], Sydney Urban Objects dataset [63], Semantic3D [64], S3DIS [65] and ArCH [66] have been published, most of the current datasets collect data from urban environments, and there are still no published datasets focusing on immovable cultural assets with an adequate level of detail. This brings difficulties for Ming and Qing Dynasty official-style architecture roof types recognition.

1.3. Motivation and Contributions

In this work, we aim to distinguish the roof type from the 3D point cloud so that the information provided by the roof type can be used in the 3D reconstruction of Ming and Qing Dynasty official-style architecture. Based on a hierarchical semantic network, a classification method for the Ming and Qing Dynasty official-style architecture roof types is presented in this paper. With the help of this method, the roofs are classified into the correct categories. The main contributions of this paper are listed as follows:
  • The features which distinguish the roof types are selected based on the “grammar book” and the corresponding feature extraction methods are proposed.
  • Aiming at the structure of the ridges, the attributed relational graphs of the ridges from different types of the Ming and Qing Dynasty official-style architectures are constructed and recognized.
  • A hierarchical semantic network for the Ming and Qing official-style architecture roof classification is proposed. In this framework, adaptive thresholds are estimated based on the construction rule of Qing Dynasty architecture, and the reliable thresholds are given in this paper.
Research in this paper is organized as follows. Section 2 analyzes and selects the identified features for the classification of the Ming and Qing Dynasty official-style architecture roof. Section 3 gives the corresponding features extraction methods. To recognize the structure of the ridges, graph matching relying on the attributed relational graph of the ridges is proposed in Section 4. In Section 5, a hierarchical semantic network for the classification approach of the Ming and Qing Dynasty official architecture roof is proposed. Section 6 shows the experimental results and analysis. Finally, a conclusion is conducted in Section 7.

2. Feature Selection

2.1. A Brief Introduction of the Roof Types

The roof of ancient Chinese architecture plays a particularly important role in the building facade, which makes the building produce a unique and strong visual effect and artistic appeal. For the Ming and Qing Dynasty official-style architecture, the roof types include basic, special and derived roof types. The basic roof types can be classified into five categories: hip roof, gable-and-hip roof, pyramidal roof, overhanging gable roof, and flush gable roof as is shown in Table 1. The gable-and-hip roof, gable roof and overhanging gable roof have a corresponding round ridge roof; and the hip roof, gable-and-hip roof and pyramidal roof can be further divided into double-eave and single-eave as is shown in Figure 1. Different roof types reflect the different architectural hierarchies and the social status of the holder. For example, the hip roof can only be used for the royal buildings or Confucius halls. From high to low rank, the order of different roof types’ grades is: double-eave hip roof, double-eave gable-and-hip roof, double-eave pyramidal roof, hip roof, gable-and-hip roof, pyramidal roof, overhanging gable roof, round ridge roof, and flush gable roof.
Besides these basic roof types, there are some special and derived roof types for the Ming and Qing Dynasty official-style architecture. The common ones are: fan-shaped gable and hip roof with a round ridge, hip and flat roof, intersecting gable and hip roofs (Figure 2). These roofs are derived from different combinations of basic roofs. For example, the intersecting gable and hip roof is formed by the intersection of two gable-and-hip roofs. The representative intersecting gable and hip roofs building is the corner building of the Palace Museum in Beijing. Through various combinations of roofs, the shape and contour of the building become more abundant.
The roof types of the Ming and Qing Dynasty official-style architecture are rich and varied. It is difficult to list all the roof types. Compared with the special roof types and the derived roof types, the basic roof types are more common. Hence, in this paper, we mainly focus on the classification of the basic roof types.

2.2. Feature Analysis for the Ming and Qing Dynasty Official-Style Architecture Roof Classification

According to the description in Table 1, the roof of the Ming and Qing Dynasty official-style architecture is mainly composed of roofing and ridges. Among the different types of roofs, the number, topological structure of the ridges and the shape, number, and topological relationship of irregular surfaces are different. All these differences can be regarded as the identified features. Although the features from the ridges and roof surfaces are coupled with each other, the features from the ridges can provide more details and are more robust in the recognition of the Ming and Qing Dynasty official-style architecture compared with the features from roof surface. For example, both the hip roof and the pyramidal roof have four slopes. The difference between these two types of roofs is whether there is a main ridge. Similarly, the gable-and-hip roof with a round ridge does not have a main ridge, while the gable-and-hip roof has a main ridge.
However, only relying on the ridges to classify the roof of the Ming and Qing official-style architecture into correct categories is impossible. Several of the limitations are listed as follows:
  • The structural relationship of the ridge vector graph from the flush gable roof and overhanging gable roof are almost the same.
  • The ridges cannot provide the single-eave or multiple-eave information which is used to distinguish the single-eave or multiple-eave hip roof, pyramidal roof and gable and hip roof.
To overcome these limitations, other features from the Ming and Ming and Qing Dynasty official-style architectures should be considered. Based on these analyses, the selected features for the roof classification are listed as follows.
1.
The structure of the ridges—SoRs
The ridges from different roof types of the Ming and Qing Dynasty official-style architecture have different topological relationships. The structure of the ridges of different roof types can be seen in Figure 3. Based on SoRs, most roofs can be classified into the correct categories.
2.
The distance from the outline of the facades to outline of the roof—DfFtR
Figure 4a,b shows a flush gable roof building and an overhanging gable roof building, respectively. For the flush gable roof building, the outline of the facades is basically consistent with the outline of roof on the XOY plane as is shown in Figure 4c, while the outline of the facades is far away from the roof contour on both sides of the overhanging gable roof building as is shown in Figure 4d. From the perspective of the construction system for the Ming and Qing Dynasty official-style architecture, the distance from the outline of the facades to outline of the roof (DfFtR) of the overhanging gable roof building is also called cantilever length (悬挑). Obviously, DfFtR can be regarded as a salient feature for distinguishing the flush gable roof and overhanging gable roof.
3.
The density of the projective points—DoPP
The shape of a main ridge is nearly a cuboid as is shown in Figure 5a. Due to the fact that there are two facades on the front and rear sides of the main ridge, this results in the density of the projective points (DoPP) on the XOY plane being higher than that located in other areas of the roof surface as is shown in Figure 5b. Based on the DoPP, the main ridge can be recognized.
4.
The number of the roof eaves—NoREs
The number of the roof eaves (NoREs) is mainly used for distinguishing the single eave architecture and multiple eave architecture.

3. Feature Extraction

The input data are an entire architecture point cloud. Considering the calculation process of the selected features, the roof and the ridges should be extracted before generating the features. In this section, a roof extraction method based on the change of projective areas and a ridge extraction method using the section lines are illustrated at first. On the basis of the extracted roof and ridges, the features are generated in Section 3.3.

3.1. The Roof Extraction Method Based on the Change of Projective Areas

The shape of the Ming and Qing Dynasty official-style architecture roof is sloping or curved and the roof eaves extend out of the beam frame. This results in the projective area of the points becoming small from the roof eaves to the top of the roof on the XOY plane. Based on the change of projective areas, a roof extraction method is proposed. The details of this method are described as follows:
  • Suppose that the original point cloud represented the Ming and Qing Dynasty official-style architecture (Figure 6a) is defined as P = { p i x i y i z i | i = 1 , 2 , , N } , N is the number of points in P . The point p h x h y h z h and the point p l x l y l z l belonging to the point cloud P are the highest and lowest points along z direction separately.
  • Along the z direction, divide the point cloud P into the several of subsets with interval z d as is shown in Figure 6b. The interval z d is set as 0.1   m based on experience. The sampled points are defined as S = s j | j = 1 , 2 , , M , M = int z h z l z d + 1 . A point p i from the point cloud is categorized to the subset   s j which should meet Equation (1).
p i s j j = int   z i z l z d + 1
  • From 1 to M, wipe off the point set s j from the original point cloud in turn. After each point subset is removed, project the remaining points onto the XOY planar coordinates with a scale d s . If the number of points falls in a grid beyond 0, this grid is marked as 255. Subsequently, a morphological close operator with a 7 × 7 square structuring element is used to generate an initial binary image. Figure 6c,d shows the generated binary image created by the points which are higher the red points and the green points labeled as in Figure 6b separately. The number of pixels consisting of the binary image can be regarded as the projective areas on the XOY plane. The histogram composed of the areas is shown in Figure 6e.
Starting with the roof eave, the area becomes smaller with the increasing height. If the elevation value of a point is greater than that of the split roof eave, this point can be regarded as the roof point, otherwise the point is the roof point. The extracted roof can be seen in Figure 6f.

3.2. The Ridge Extraction Using Section Lines

Figure 7 shows the process of the ridge extraction. The details of this process are described as follows:
  • Project the roof points onto the XOY plane, and divide the two-dimensional plane into grids according to the specific size d s . The points p t x t y m a x z t , p b x b y m i n z b , p l m x m i n y l m z l m and p r m x m a x y r m z r m are the top point, bottom point, left-most point and the right-most point separately.
  • Along the Y axis, search the ridge points. Firstly, suppose that the points within the i t h row which are parallel to the X axis are defined as the point set   S x i . S x i = { p x i j x x i j y x i j z x i j |   j = 1 , 2 , , M x i } , M x i is the number of the points. The point p x i j x x i j y x i j z x i j should meet Formula (2).
y m i n + i 1 d < y x i j y m i n + i d
Select the highest point p x i m a x z x x i m a x z y x i m a x z z x i m a x z from the point set   S x i . If a point p x i j meets Formula (3), this point is stored into the point set   p f .
z x i m a x z z x i j z t
In this formula, z x i j is the elevation of the point, z t is the specified threshold. The extracted ridge points belonging to the i t h row are shown in Figure 7b. Figure 7d shows the extracted ridge points within different rows.
  • Similarly, continue step 2 along the X axis and save the ridge points to the point set   p f . The extracted ridge points are shown in Figure 7f.

3.3. Feature Generation

Based on the roof extraction method and the ridge extraction method, the extraction process details of the features including NoREs, DfFtR, DoPP and SoRs are listed as follows.
  • NoREs generation
As is shown in Figure 6e, the histogram can be divided into four stages. In the first stage, only the facade points are removed and the projective area remains unchanged; subsequently, the area becomes small with the decrease of points belong to the first roof eave; in the third stage, the facade points between the first roof eave and the second roof eave are wiped off gradually and the projective area keeps stable; lastly, with the increase of height, the projective area becomes 0. Obviously, the intervals where the projective area remains unchanged correspond to the facade points, and the intervals where the projective area decreases correspond to the roof points. The extracted facade points and roof points can be seen in Figure 6f. The number of the intervals where the projective area remains unchanged is NoREs.
2.
DfFtR generation
After roof extraction, project the façade points and roof points onto the XOY plane, and generate the outline of the facades and roof, separately. DfFtR is equal to the distance between two intersections which are created by a straight line defined by the center point and main direction of the architecture. These two intersections are on the side of the building facade.
3.
SoRs generation
Project the ridge points onto the XOY plane. If the number of the points located in a grid is beyond 1, the grid is labeled as 255. After these steps, the generated ridge lines still have a width of 2–3 pixels. Subsequently, a Skeletonization algorithm [67] is performed to thin the ridge lines. Finally, a straight-line detector based on the Freeman chain code [68] is used to generate the ridge lines.
4.
DoPP generation
The main ridge is parallel to the main direction of the architecture, and is located in the middle area of the architecture. Based on this, the ridge line which represents the main ridge is selected. Around the selected ridge line, create a buffer region. The number of points located in this buffer region divided by the area of this buffer region is the DoPP.

4. Graph Matching Relying on the Attributed Relational Graph of the Ridges

Different from NoREs, DfFtR and DoPP which have a specified threshold, the SoRs is the structural relationship of the ridges. Hence, the structure of the ridges should be converted into a topological graph and the graph matching algorithm is used to distinguish the roof types. Nowadays, the formal description methods of structure are various, including serial grammar, tree grammar, deep learning and so on. The attributed relational graph not only can describe the structural relationship of the graph, but also can introduce the property which describes some characteristics of the graph. In this section, we firstly construct the attributed relational graph of ridges; then, the subgraph isograms are applied to distinguish the roof types.

4.1. The Generation of the Attributed Relational Graph of the Ridges

Here, we define a quadruple to present the attributed relational graph as in Formula (4).
G = V , E , R V , R E , G V , G E
In Formula (4), V = { v 1 v 2 v N } is the finite data set of the vertices, N is the number of vertices in the data set V ; E = { e 1 e 2 e M } is the finite set of the edges, such as e = v i v j , 1 i ,   j N ,   i j , which represents the edge between the vertex v i and the vertex v j , M is the number of edges in E, R V is the vertex property set, and R E is the edge property set. G V is a function that produces vertical properties from V R V , and G E is a function that produces edge properties from E R E .
In the process of describing ridge features using an attributed relational graph, the extracted ridge line is regarded as the vertex V and the connection relationship between the ridges can be used as the edge E . R V and R E contain an attribute separately. The length α is the vertebrae properties in R V and the angle θ between the connected ridges is the edge property in R E . Figure 8 shows the vector graph and the corresponding attributed relational graph of the ridges from the different types of Ming and Qing official architecture. Table 2 shows the attributed relational graph template of the ridges from pyramidal roofs.

4.2. The Roof Type Reorganization Based on the Subgraph Isograms

The generated attributed relational graph from extracted the ridges should match the constructed attributed relational graph template so that the Ming and Qing Dynasty official-style architecture can be classified into the correct category. The graph isomorphism can solve the problem. The graph isomorphism is the function from the graph G = V , E , R V , R E , G V , G E to the graph G = V , E , R V , R E , G V , G E . This function f :   V V should satisfy the followed numbering conditions:
(1)
v V , G V v = G V f v ;
(2)
e = v 1 , v 2 E ,   e = f v 1 , f v 2 E and G E e = G E e ; e = v 1 , v 2 E ,   e = f 1 v 1 , f 1 v 2 E and   G E e = G E e .
When the structure of two graphs is the same, these two graphs must be an isomorphism. However, suffering from the extraction accuracy of the ridges, only a part of the graph is obtained in some cases. Hence, the isomorphism conditions need to be relaxed to allow one graph to be mapped to another part of the graph. This mapping is called subgraph isograms. The function f : V V is the isomorphic function from the graph G to the subgraph of G .
From the analysis above, the isomorphism of the graph is a special case of the subgraph isomorphism. In this paper, the Ullmann algorithm [69] is used to determine the isomorphism of subgraphs.

5. Our Proposed Method

5.1. The Workflow of Our Proposed Methods

The workflow of our proposed method is shown in Figure 9. The process of this workflow is separated into four stages. The details of each stage are described as follows:
  • In the first stage, the roof extraction method is applied to segment the point cloud into the facade points and roof points. The feature NoREs is obtained. If NoREs = 1 , the Ming and Qing official-style architecture roof is classified as a single-eave roof; otherwise, this roof is categorized as a multiple-eaves roof.
  • Secondly, extract the ridge points from the roof points based on the ridge extraction method proposed in Section 3.2 and make use of the ridge points to generate the feature SoRs. Based on the method in Section 4, a single-eave roof can be classified into a hip roof, pyramidal roof, unclassified gable and hip roof or unclassified roof; and the multiple-eaves roof is classified into a hip roof, pyramidal roof or unclassified gable and hip roof.
  • In the third step, calculate the DfFtR. If D f F t R > T h r D f F t R , the unclassified single-eave roof is regarded as an unclassified overhanging gable roof; otherwise, the unclassified single-eave roof is regarded as an unclassified flush gable roof.
  • Finally, calculate the DoPP based on the method in Section 3.3. If D o P P > T h r D o p p , the unclassified flush gable roof, unclassified overhanging gable roof or unclassified gable and hip roof is grouped into the flush gable roof category, overhanging gable roof category or gable and hip roof category; otherwise, the unclassified roof is categorized as an overhanging gable round ridge roof, flush gable round ridge roof or gable and hip round ridge roof.

5.2. Threshold Determination

In our proposed method, T h r D f F t R and T h r D o P P are the thresholds in the suggested hierarchical semantic network for the Ming and Qing official-style architecture classification. These two thresholds are decided by the cantilever length (CL) and the height of the main ridge (HoMRR) separately.
From the perspective of the construction system, the Ming and Qing Dynasty official-style architecture can be further divided into wooden frame architecture with dougongs and wooden frame architecture without dougongs. The former mainly covers the categories of hip roof, gable-and-hip roof, pyramidal roof, overhanging gable roof and flush gable roof; the latter contains the pyramidal roof, overhanging gable roof, and flush gable roof. These two wooden frame architectures have different modules. The dimensions of the main components of the Ming and Qing official architecture should be a multiple of the modules. According to the Gongcheng Zuofa Zeli of the Qing Dynasty, both HoMRR and CL is equal to 12 * doukou under the doukou module system. Under the D module system, HoMRR should be equal to 2.2D and CL is equal to 3.3D as is shown in Table 3.
The doukou has 11 sizes or grades and the minimum dimensions of doukou is 1 cun (3.5 cm) as is show in Figure 10. However, the eave column diameter D does not have an exact value. To overcome this limitation, the corresponding sizes of the same components from the wooden frame architecture with or without dougongs is applied to obtain an approximate value of D. Based on this, D ranges from   3.6   doukou to 5.5   doukou . Considering the different grades of Ming and Qing official-style buildings, HoMRR ranges from 1   cun × 8 to 6   cun × 12 and CL ranges from 1   cun × 3.3 × 3.6 to 6   cun × 12 .
T h r D f F t R should be equal to CL. The higher the grade of the Ming and Qing official-style building is, the bigger CL is. Hence, T h r D f F t R should be higher than the minimum CL— 1   cun × 8 . For T h r D o P P , suppose that the density of point cloud is D E N . In theory, T h r D o P P should be equal to D E N × 2 × H o M R R × d s + d s × d s / d s × d s when d s is bigger than the width of the main ridge; otherwise, T h r D o P P is equal to D E N × H o M R R × d s + d s × d s / d s × d s . In this paper, d s is user-defined. Here, we set d s as H o M R R . We can set this value to be the T h r D o P P which can be set as   2 D E N .

6. Performance Evaluation

6.1. Experimental Data Description

Many Ming and Qing official-style buildings have been established as major historical and cultural sites protected at the national level in China and are managed by corresponding institutions. When we capture the point cloud, the authorization from these institutions is necessary. This results in the acquisition of the point cloud becoming very difficult. In our experiments, three datasets were used to evaluate the performance of our proposed method. The first two datasets consisted of point clouds captured by the terrestrial laser scanning system or generated by UAV images and contained two roof types. To test more roof types, we introduced a third dataset composed of the point clouds derived from 3DsMAX models. The 3D information of these models is consistent with that of real buildings and is reliable test data through inspection and comparison by experts. Each dataset is described as follows:
  • The first dataset contained the point cloud of the Gate of Supreme Harmony and the Hall of Complete Harmony labeled as rectangle 1 and 2 in Figure 11a. These point cloud was captured by the terrestrial laser scanning (TLS) system. Figure 12 shows the point cloud after registration in the commercial software package Leica Cyclone. The point cloud density of the Gate of Supreme Harmony and the Hall of Complete Harmony was 44,083 points/m2 and 43,416 points/m2, respectively.
  • The second dataset was composed of the dense image matching (DIM) point cloud of BaoGuang Hall located in Qutan Temple, QingHai province, China as is shown in Figure 11b. 261 UAV images are collected by DJI Phantom4 which was composed of a FC6310R camera with a 13.2 × 8.8 mm2 sensor size and a 2.41   μ m pixel size. The flight path surrounded the building as is shown in Figure 13. The distance from the exposure points to this building varied from 20   m to 85   m . Considering the   8.8   mm focal length and the photographic distance, the ground sampling distance (GSD) for all cameras ranged from 0.5   cm to 2   cm . Relying on the commercial software package Bentley, this DIM point cloud was generated. The density of the generated DIM point cloud was 59,737 points / m 2 .
Figure 13. The flight path.
Figure 13. The flight path.
Ijgi 10 00650 g013
  • The third dataset included 3DsMAX models of Meridian Gate, LiJing Xuan, Gate of Lasting Happiness labeled as rectangle 4, 5 and 6 in Figure 11a and a 3D model example from a website. To satisfy the data requirements, we converted these 3D models into 3D point cloud based on the commercial software CloudCompare. The density of the point cloud was 95 points/m2.
There are six types of Ming and Qing Dynasty official-style architecture roofs: double-eave hip roof, double-eave gable and hip roof, flush gable roof, round ridge roof, overhanging gable roof and pyramidal roof. The roof type information of each test building is described in Table 4.

6.2. Experimental Results and Discussion

6.2.1. Experimental Results

In our experiment, the thresholds were set according to the description in Section 5.2. Table 5 illustrates the classification details of each test Ming and Qing Dynasty official-style architecture roof from dataset 1, 2 and 3, respectively. The extraction process of each test architecture roof is listed as follows:
  • NoREs extraction. As is shown in the second row of Table 5, for the Hall of Complete Harmony, LiJing Xuan, Gate of Lasting Happiness and the collected example, the projective areas kept stable at first; subsequently, the projective areas became smaller after the height was beyond the eaves. The NoREs from these architectures was 1 and the roofs of these architectures were grouped into the single-eave roofs. For the generated histogram of the Gate of Supreme Harmony, BaoGuang Hall and the Meridian Gate, there were two intervals where the projective area remained unchanged. The NoREs from the three architectures was 2. The roofs of the three architectures were categorized into the double-eave roofs. The extracted roof of each test architecture is shown in the third row of Table 5.
  • SoRs extraction and reorganization. The extracted ridge points from each architecture can be seen in the fifth row of Table 5. The experimental results showed our proposed method could obtain the correct structure of the ridges of each architecture. Based on the extracted SoRs, the roof of the Meridian Gate was distinguished as a double-eave hip roof and the roof of the Hall of Complete Harmony was classified into the pyramidal roof category. The unclassified double-eave gable and hip roof type contained the roofs of Gate of Supreme Harmony and BaoGuang Hall. The roofs of other architectures were categorized as unclassified single-eave roofs.
  • DfFtR detection. For the unclassified single-eave roofs, the DfFtR of the collected 3D model example was 0.32   m and the outlines of the facades and roofs from LiJing Xuan and Gate of Lasting Happiness were almost the same as is shown in the sixth row of Table 5. The roof of the collected 3D model example was regarded as an unclassified overhanging gable roof and the roof of LiJing Xuan and Gate of Lasting Happiness were grouped as unclassified flush gable roofs.
  • DoPP detection. As is shown in the seventh row of Table 5, except the Gate of Lasting Happiness, the density of points located in the areas around the main ridge from other unclassified roofs was higher than that in other areas. After this step, the Gate of Lasting Happiness was categorized as a flush gable roof with round ridge and other unclassified roofs were classified correctly.
The experimental results at each stage were consistent with the theoretical results and all the test architecture roofs were classified into the correct categories. This shows that our proposed method could get a good performance for the Ming and Qing Dynasty official-style architecture roof classification.

6.2.2. The Density of Point Cloud Sensitivity Analysis

The features extraction which relied heavily on the roof and ridge extraction methods had a significant effect on the experimental results. The density of the point cloud seriously influenced the roof and ridge extraction. To verify the robustness of our proposed methods, the sensitivity of the point cloud density should be analyzed. The point cloud of BaoGuang Hall was generated by UAV images, the point cloud of Gate of Lasting Happiness was created from the 3DsMAX and the point cloud of Hall of Complete Harmony was captured by terrestrial laser scanning technology, separately. Three point clouds came from different data sources. On the other hand, the roof types of BaoGuang Hall, the Hall of Complete Harmony and the Gate of Lasting Happiness were different. To ensure the robustness and accuracy of the analysis, we selected the point cloud of BaoGuang Hall, the Gate of Lasting Happiness and the Hall of Complete Harmony as the analysis objects and rarefied the point cloud density to 1/10 and 1/100 of the original density separately in this analysis process.
For the roof extraction, the shape of histogram generated by the projective areas along the Z direction and the extracted roof almost were the same with different point densities as is shown in Table 6, Table 7 and Table 8. Theoretically, when the average distance between two nearest points was beyond the distance from the roof eave to the ground or distance between two roof eaves, the roof extraction would fail. However, this is an extreme case. In this circumstance, the density of point cloud would be too small and could not meet the requirement of 3D modeling. The results showed that the densities of the point cloud had little impact on the roof extraction.
In the ridge extraction stage, the ridges extracted from the Hall of Complete Harmony point cloud with different densities were the same as is shown in Table 7. For BaoGuang Hall, starting from the junction of the diagonal ridge and the vertical ridge, there was a short line segment when the density of point cloud was 1 percent of the original density as is shown in the fourth row and column of Table 6. In fact, a blank area between the diagonal ridge and the vertical ridge for gable and hip roof did exist as is shown the circle in Figure 7a. Due to the fact that the size of this blank area was small, it was completely filled after the morphological close operation with a 7 × 7 operator in our proposed ridge extraction method when the density of the point cloud was 59,737   points / m 2 and   5974   points / m 2 , separately. When the density of the point cloud was lower than a specified value, the distance between the points located on the diagonal ridge or the vertical ridge becomes large and the distance between two grids which contained the projective points was beyond the size of the operator. This resulted in this blank area being preserved after morphological close operation. Hence, the short line segment was generated after the Skeletonization algorithm was performed. Similarly, the phenomenon that the vertical ridge of the Gate of Lasting Happiness was broken when the point cloud density was at minimum as in the fourth row and column of Table 8 was also caused for this reason. Although the extracted ridges had some differences when the densities of the point cloud were different, the generated SoRs was still a subgraph of the true ridge structure graph.
For the main ridge detection, under different point cloud density conditions, the main ridges of BaoGuang Hall were detected as is shown in the fourth column of Table 6. The distribution of the point cloud density on the   XOY plane as is shown in the fourth column of Table 8 illustrated that Gate of Lasting Happiness did not have a main ridge. The experimental results were consistent with the true roof types. Notably, when the distance between points was greater than the height or width of the main ridge, our proposed method may not have detected the main ridge. This is mainly because the points located on the surface of the main ridge did not exist. This is an extreme case. In this paper, we suppose that the point cloud can represent the details of the Ming and Qing official-style architecture. Based on the above analysis, our proposed method is robust to the test point clouds with different densities.
Moreover, the gaps, noise and occlusion of point clouds also influenced the experimental results. In order to ensure that the point cloud data can successfully complete the 3D modeling, the quality of the collected point clouds should meet a certain criterion in practical engineering. Hence, we can ignore these factors in our experiments.

7. Conclusions and Future Work

This paper proposes a method for the classification of the Ming and Qing official-style architectures from 3D point cloud combining the ridges and other features. The highlights of this work are listed as follows:
  • The features including NoREs, DfFtR, DoPP and SoRs are selected for the classification of the Ming and Qing official-style architecture roof and the corresponding feature extraction methods are proposed.
  • The attributed relational graphs of the ridges from different roof types of the Ming and Qing official-style architecture are constructed and the Ullmann algorithm is applied to complete the initial roof type reorganization task based on SoRs.
  • A hierarchical semantic network is proposed to distinguish the type of the Ming and Qing official-style architecture roof and the thresholds used in this semantic network are estimated based on the construction rules of the Ming and Qing official-style architecture. Based on the proposed method, all the selected Ming and Qing official architecture roofs are classified into the correct categories. The experimental results shows that our proposed method can achieve good performance and have robustness.
Additionally, it is worth noting that the classification of the Ming and Qing official-style architecture is not the terminal goal of our work. We hope to reconstruct a historical building information model (HBIM) of the Ming and Qing official-style architecture automatically especially in the geometric parameter acquisition of the model relying on the roof type. In previous work [70,71], how to obtain the single building and how to reconstruct the decorative component have been solved. The future work will include: (1) the Ming and Qing official-style architectural component segmentation and extraction; (2) parameterization of components; (3) the HBIM reconstruction mechanism; and (4) using various strategies to ensure the point cloud can be processed in memory.

Author Contributions

Conceptualization, Youqiang Dong and Miaole Hou; methodology, Biao Xu; software, Youqiang Dong; validation, Miaole Hou, Yuhang Ji and Yihao Li; formal analysis, Biao Xu; investigation, Yuhang Ji; resources, Miaole Hou data curation, Yuhang Ji; writing—original draft preparation, Yuhang Ji and Yihao Li; writing—review and editing, Youqiang Dong; supervision, Biao Xu and Yihao Li; project administration, Miaole Hou; funding acquisition, Youqiang Dong. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by National Key Research and Development Program of China(2019YFC1520800); Scientific Research Project of Beijing Educational Committee (KM202110016005); Beijing Postdoctoral Research Foundation (21009920004); Beijing Municipal Education Commission (KZ202110016021); Young Beijing Scholars Project (04147521504).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, D. Cultural Symbols in Chinese Architecture. Archit. Des. Rev. 2019, 1, 2–17. [Google Scholar] [CrossRef]
  2. Armani, S.; Arbi, E. A Comparative Study on Chinese Architecture in Peninsular Malaysia and Mainland China. J. Des. Built Environ. 2014, 14, 1. [Google Scholar]
  3. Hu, Q.; Wang, S.; Fu, C.; Ai, M.; Yu, D.; Wang, W. Fine Surveying and 3D Modeling Approach for Wooden Ancient Architecture via Multiple Laser Scanner Integration. Remote Sens. 2016, 8, 270. [Google Scholar] [CrossRef] [Green Version]
  4. Gomes, L.; Bellon, O.R.P.; Silva, L. 3D reconstruction methods for digital preservation of cultural heritage: A survey. Pattern Recognit. Lett. 2014, 50, 3. [Google Scholar] [CrossRef]
  5. Hu, Z.; Qin, X. Extended interactive and procedural modeling method for ancient Chinese architecture. Multimed. Tools Appl. 2020, 80, 5773–5807. [Google Scholar] [CrossRef]
  6. Liu, J.; Wu, Z.-K. Rule-Based Generation of Ancient Chinese Architecture from the Song Dynasty. J. Comput. Cult. Herit. 2015, 9, 1–22. [Google Scholar] [CrossRef]
  7. Yang, X.; Grussenmeyer, P.; Koehl, M.; Macher, H.; Murtiyoso, A.; Landes, T. Review of built heritage modelling: Integration of HBIM and other information techniques. J. Cult. Herit. 2020, 46, 350–360. [Google Scholar] [CrossRef]
  8. Calin, M.; Damian, G.; Popescu, T.; Manea, R.; Erghelegiu, B.; Salagean, T. 3D modeling for digital preservation of Romanian heritage monuments. Agric. Agric. Sci. Procedia 2015, 6, 421–428. [Google Scholar] [CrossRef] [Green Version]
  9. Poux, F.; Billen, R.; Kasprzyk, J.-P.; Lefebvre, P.-H.; Hallot, P. A Built Heritage Information System Based on Point Cloud Data: HIS-PC. ISPRS Int. J. Geo-Inf. 2020, 9, 588. [Google Scholar] [CrossRef]
  10. Kada, M.; McKinley, L. 3D building reconstruction from LiDAR based on a cell decomposition approach. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2009, 38, W4. [Google Scholar]
  11. Maas, H.G.; Vosselman, G. Two algorithms for extracting building models from raw laser altimetry data. ISPRS J. Photogramm. Remote Sens. 1999, 54, 153–163. [Google Scholar] [CrossRef]
  12. Henn, A.; Gröger, G.; Stroh, V.; Plümer, L. Model driven reconstruction of roofs from sparse LIDAR point cloud. ISPRS J. Photogramm. Remote Sens. 2013, 76, 17–29. [Google Scholar] [CrossRef]
  13. Zheng, Y.; Weng, Q. Model-driven reconstruction of 3D buildings using LiDAR data. IEEE Geosci. Remote Sens. Lett. 2015, 12, 1541–1545. [Google Scholar] [CrossRef]
  14. Vallet, B.; Pierrot-Deseilligny, M.; Boldo, D.; Brédif, M. Building footprint database improvement for 3D reconstruction: A split and merge approach and its evaluation. ISPRS J. Photogramm. Remote Sens. 2011, 66, 732–742. [Google Scholar] [CrossRef]
  15. Lafarge, F.; Descombes, X.; Zerubia, J.; Pierrot-Deseilligny, M. Automatic building extraction from DEMs using an object approach and application to the 3D-city modeling. ISPRS J. Photogramm. Remote Sens. 2008, 63, 365–381. [Google Scholar] [CrossRef] [Green Version]
  16. Li, J. (Song Dynasty). Yingzao Fashi. Dongjing, Song Dynasty of China. 1103. [Google Scholar]
  17. Qing Department of Qing Dynasty. Qing Gong Bu Gongcheng Zuofa Zeli. Beijing, Qing Dynasty of China. 1733. [Google Scholar]
  18. Shen, Y.; Zhang, E.; Feng, Y.; Liu, S.; Wang, J. Parameterizing the Curvilinear Roofs of Traditional Chinese Architecture. Nexus Netw. J. 2020, 23, 475–492. [Google Scholar] [CrossRef]
  19. Liu, J. Component-driven procedural modeling for ancient Chinese architecture of the Qing Dynasty. Int. J. Archit. Herit. 2017, 12, 280–307. [Google Scholar] [CrossRef]
  20. Li, L.; Tang, L.; Zhu, H.; Zhang, H.; Yang, F.; Qin, W. Semantic 3D Modeling Based on CityGML for Ancient Chinese-Style Architectural Roofs of Digital Heritage. ISPRS Int. J. Geo-Inf. 2017, 6, 132. [Google Scholar] [CrossRef] [Green Version]
  21. Rahmatabadi, S.; Toushmalani, R. Physical order and disorder in Chinese architecture style. Aust. J. Basic Appl. Sci. 2011, 5, 1561–1565. [Google Scholar]
  22. Kushwaha, S.K.P.; Yogender, Y.; Sara, R. A semi-automatic approach for roof-top extraction and classification from airborne lidar. In Proceedings of the Seventh International Conference on Remote Sensing and Geoinformation of the Environment (RSCy2019), Paphos, Cyprus, 18–21 March 2019. [Google Scholar] [CrossRef]
  23. Mohajeri, N.; Assouline, D.; Guiboud, B.; Bill, A.; Gudmundsson, A.; Scartezzini, J.L. A city-scale roof shape classification using machine learning for solar energy applications. Renew. Energy 2018, 121, 81–93. [Google Scholar] [CrossRef]
  24. Zang, A.; Zhang, X.; Chen, X.; Agam, G. Learning-based roof style classification in 2D satellite images. Proc. SPIE 2015, 9473. [Google Scholar] [CrossRef]
  25. Assouline, D.; Mohajeri, N.; Scartezzini, J.L. Building rooftop classification using random forests for large-scale PV deployment. In Proceedings of the Earth Resources and Environmental Remote Sensing/GIS Applications VIII, Warsaw, Poland, 5 October 2017; Volume 10428, p. 1042806. [Google Scholar]
  26. Aissou, B.E.; Aissa, A.B.; Dairi, A.; Harrou, F.; Wichmann, A.; Kada, M. Building Roof Superstructures Classification from Imbalanced and Low Density Airborne LiDAR Point Cloud. IEEE Sens. J. 2021, 21, 14960–14976. [Google Scholar] [CrossRef]
  27. Zhang, X.; Zang, A.; Agam, G.; Chen, X. Learning from synthetic models for roof style classification in point cloud. In Proceedings of the 22nd ACM SIGSPATIAL International Conference on Advances in Geographic Information Systems—SIGSPATIAL, Dallas, TX, USA, 4–7 November 2014; pp. 263–270. [Google Scholar] [CrossRef]
  28. Axelsson, M.; Soderman, U.; Berg, A.; Lithen, T. Roof Type Classification Using Deep Convolutional Neural Networks on Low Resolution Photogrammetric Point Clouds from Aerial Imagery. In Proceedings of the 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), Calgary, AB, Canada, 15–20 April 2018; pp. 1293–1297. [Google Scholar] [CrossRef]
  29. Partovi, T.; Fraundorfer, F.; Azimi, S.; Marmanis, D.; Reinartz, P. Roof type selection based on patch-based classification using deep learning for high resolution satellite imagery. ISPRS-Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2017, 42, 653–657. [Google Scholar] [CrossRef] [Green Version]
  30. Castagno, J.; Atkins, E. Roof Shape Classification from LiDAR and Satellite Image Data Fusion Using Supervised Learning. Sensors 2018, 18, 3960. [Google Scholar] [CrossRef] [Green Version]
  31. Bittner, K.; Körner, M.; Fraundorfer, F.; Reinartz, P. Multi-Task cGAN for Simultaneous Spaceborne DSM Refinement and Roof-Type Classification. Remote Sens. 2019, 11, 1262. [Google Scholar] [CrossRef] [Green Version]
  32. Buyukdemircioglu, M.; Can, R.; Kocaman, S. Deep learning based roof type classification using very high resolution aerial imagery. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2021, 43, 55–60. [Google Scholar] [CrossRef]
  33. Grilli, E.; Özdemir, E.; Remondino, F. Application of machine and deep learning strategies for the classification of heritage point clouds. Int. Arch. Photogramm. Remote Sens. Spat. Inf. Sci. 2019, 42, 447–454. [Google Scholar] [CrossRef] [Green Version]
  34. Tian, Y.; Song, W.; Sun, S.; Fong, S.; Zou, S. 3D object recognition method with multiple feature extraction from LiDAR point clouds. J. Supercomput. 2019, 75, 4430–4442. [Google Scholar] [CrossRef]
  35. Yu, Z. Intrinsic shape signatures: A shape descriptor for 3D object recognition. In Proceedings of the 2009 IEEE 12th International Conference on Computer Vision Workshops, ICCV Workshops, Kyoto, Japan, 27 September–4 October 2009. [Google Scholar]
  36. Mian, A.; Bennamoun, M.; Owens, R. On the Repeatability and Quality of Key points for Local Feature-based 3D Object Retrieval from Cluttered Scenes. Int. J. Comput. Vis. 2010, 89, 348–361. [Google Scholar] [CrossRef] [Green Version]
  37. Hui, C.; Bhanu, B. 3D free-form object recognition in range images using local surface patches. Pattern Recognit. Lett. 2007, 28, 1252–1262. [Google Scholar] [CrossRef]
  38. Rusu, R.B.; Blodow, N.; Beetz, M. Fast Point Feature Histograms (FPFH) for 3D registration. In Proceedings of the 2009 IEEE International Conference on Robotics and Automation, Kobe Japan, 12–17 May 2009; pp. 3212–3217. [Google Scholar] [CrossRef]
  39. Guo, Y.; Sohel, F.; Bennamoun, M.; Lu, M.; Wan, J. Rotational projection statistics for 3D local surface description and object recognition. Int. J. Comput. Vis. 2013, 105, 63. [Google Scholar] [CrossRef] [Green Version]
  40. Tombari, F.; Salti, S.; Di Stefano, L. Unique Signatures of Histograms for Local Surface Description. In Proceedings of the 11th European Conference on Computer Vision Conference on Computer Vision: Part III, Crete, Greece, 5–11 September 2010; Springer: Berlin/Heidelberg, Germany, 2010; pp. 356–369. [Google Scholar] [CrossRef] [Green Version]
  41. Mikolajczyk, K.; Schmid, C. A performance evaluation of local descriptors. IEEE Trans. Pattern Anal. Mach. Intell. 2005, 27, 1615–1630. [Google Scholar] [CrossRef] [Green Version]
  42. Rusu, R.B.; Holzbach, A.; Beetz, M.; Bradski, G. Detecting and segmenting objects for mobile manipulation. In Proceedings of the 2009 IEEE 12th International Conference on Computer Vision Workshops, ICCV Workshops, Kyoto, Japan, 27 September–4 October 2009; IEEE: Kyoto, Japan, 2009. [Google Scholar]
  43. Rusu, R.B.; Bradski, G.; Thibaux, R.; Hsu, J. Fast 3D recognition and pose using the Viewpoint Feature Histogram. In Proceedings of the 2010 IEEE/RSJ International Conference on Intelligent Robots and Systems, Taipei, Taiwan, 18–22 October 2010; IEEE: Taipei, Taiwan, 2010. [Google Scholar]
  44. Aldoma, A.; Vincze, M.; Blodow, N.; Gossow, D.; Gedikli, S.; Rusu, R.B.; Bradski, G. CAD-model recognition and 6D OF pose estimation using 3D cues. In Proceedings of the IEEE International Conference on Computer Vision Workshops, ICCV 2011 Workshops, Barcelona, Spain, 6–3 November 2011; IEEE: Barcelona, Spain, 2011. [Google Scholar]
  45. Wohlkinger, W.; Vincze, M. Ensemble of shape functions for 3D object classification. In Proceedings of the 2011 IEEE International Conference on Robotics and Biomimetics, Phuket, Thailand, 7–11 December 2012; IEEE: Phuket, Thailand, 2012. [Google Scholar]
  46. Schnabel, R.; Wahl, R.; Wessel, R.; Klein, R. Shape Recognition in 3D Point-Clouds. In Proceedings of the 16th International Conference in Central Europe on Computer Graphics, Visualization and Computer Vision’2008, Plzen-Bory, Czech Republic, 4–7 February 2008. [Google Scholar]
  47. Cheng, Y.-M.; Ding, H.-X.; Wang, Y.-X.; Zhang, H.-H. Curved Object Recognition Based on Geometrical Features. J. Image Graph. 2000, 5, 573–579. [Google Scholar]
  48. Hao, W.; Wang, Y. Structure-based object detection from scene point clouds. Neurocomputing 2016, 191, 148. [Google Scholar] [CrossRef]
  49. Berner, A.; Li, J.; Holz, D.; Stuckler, J.; Behnke, S.; Klein, R. Combining contour and shape primitives for object detection and pose estimation of prefabricated parts. In Proceedings of the 2013 IEEE International Conference on Image Processing, Melbourne, Australia, 15–18 September 2013; p. 3326. [Google Scholar] [CrossRef]
  50. Dehbi, Y.; Henn, A.; Gröger, G.; Stroh, V.; Plümer, L. Robust and fast reconstruction of complex roofs with active sampling from 3D point clouds. Trans. GIS 2020, 12659. [Google Scholar] [CrossRef]
  51. Zeybek, M. Classification of UAV point clouds by random forest machine learning algorithm. Turk. J. Eng. 2021, 5, 51–61. [Google Scholar] [CrossRef]
  52. Wang, Z.; Zhang, L.; Fang, T.; Mathiopoulos, P.T.; Tong, X.; Qu, H.; Xiao, Z.; Li, F.; Chen, D. A Multiscale and Hierarchical Feature Extraction Method for Terrestrial Laser Scanning Point Cloud Classification. IEEE Trans. Geosci. Remote Sens. 2015, 53, 2409–2425. [Google Scholar] [CrossRef]
  53. Guo, B.; Huang, X.; Zhang, F.; Sohn, G. Classification of airborne laser scanning data using JointBoost. ISPRS J. Photogramm. Remote Sens. 2015, 100, 71–83. [Google Scholar] [CrossRef]
  54. Yi, Z.; Wang, H.; Duan, G.; Wang, Z. An Airborne LiDAR Building-Extraction Method Based on the Naive Bayes-RANSAC Method for Proportional Segmentation of Quantitative Features. J. Indian Soc. Remote Sens. 2020, 1–12. [Google Scholar] [CrossRef]
  55. Eckart, B.; Kelly, A. REM-Seg: A robust EM algorithm for parallel segmentation and registration of point clouds. In Proceedings of the 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 2013), Tokyo, Japan, 3–7 November 2013; pp. 4355–4362. [Google Scholar] [CrossRef]
  56. Qi, C.R.; Su, H.; Mo, K.; Guibas, L.J. Pointnet: Deep learning on point sets for 3D classification and segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 652–660. [Google Scholar]
  57. Qi, C.R.; Yi, L.; Su, H.; Guibas, L.J. Pointnet++: Deep hierarchical feature learning on point sets in a metric space. arXiv 2017, arXiv:1706.02413. [Google Scholar]
  58. Li, Y.; Bu, R.; Sun, M.; Wu, W.; Di, X.; Chen, B. Pointcnn: Convolution on x-transformed points. arXiv 2018, arXiv:1801.07791. [Google Scholar]
  59. Su, H.; Jampani, V.; Sun, D.; Maji, S.; Kalogerakis, E.; Yang, M.H.; Kautz, J. Splatnet: Sparse lattice networks for point cloud processing. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 2530–2539. [Google Scholar]
  60. Wang, Y.; Sun, Y.; Liu, Z.; Sarma, S.E.; Bronstein, M.M.; Solomon, J.M. Dynamic graph cnn for learning on point clouds. ACM Trans. Graph. 2019, 38, 146. [Google Scholar] [CrossRef] [Green Version]
  61. Wu, Z.; Song, S.; Khosla, A.; Yu, F.; Zhang, L.; Tang, X.; Xiao, J. 3D shapenets: A deep representation for volumetric shapes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Boston, MA, USA, 7–12 June 2015; pp. 1912–1920. [Google Scholar]
  62. Geiger, A.; Lenz, P.; Stiller, C.; Urtasun, R. Vision meets Robotics: The KITTI Dataset. Int. J. Robot. Res. IJRR 2013, 32, 1231–1237. [Google Scholar] [CrossRef] [Green Version]
  63. De Deuge, M.; Quadros, A.; Hung, C.; Douillard, B. Unsupervised feature learning for classification of outdoor 3D scans. In Proceedings of the Australasian Conference on Robitics and Automation, Sydney, Australia, 2–4 December 2013; Volume 2, p. 1. [Google Scholar]
  64. Hackel, T.; Savinov, N.; Ladicky, L.; Wegner, J.D.; Schindler, K.; Pollefeys, M. SEMANTIC3D.NET: A new large-scale point cloud classification benchmark. ISPRS Ann. Photogram. Remote Sens. Spat. Inf. Sci. 2017, IV-1-W1, 91–98. [Google Scholar] [CrossRef] [Green Version]
  65. Armeni, I.; Sener, O.; Zamir, A.R.; Jiang, H.; Brilakis, I.; Fischer, M.; Savarese, S. 3D semantic parsing of large-scale indoor spaces. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA, 27–30 June 2016; pp. 1534–1543. [Google Scholar]
  66. Pierdicca, R.; Paolanti, M.; Matrone, F.; Martini, M.; Morbidoni, C.; Malinverni, E.S.; Frontoni, E.; Lingua, A.M. Point Cloud Semantic Segmentation Using a Deep Learning Framework for Cultural Heritage. Remote Sens. 2020, 12, 1005. [Google Scholar] [CrossRef] [Green Version]
  67. Iwanowski, M.; Soille, P. Fast Algorithm for Order Independent Binary Homotopic Thinning. In Proceedings of the International Conference on Adaptive and Natural Computing Algorithms, Warsaw, Poland, 11–14 April 2007; Springer: Berlin, Germany, 2007; pp. 606–615. [Google Scholar]
  68. Lu, X.; Yao, J.; Li, K.; Li, L. CannyLines: A parameter-free line segment detector. In Proceedings of the 2015 IEEE International Conference on Image Processing (ICIP), Quebec City, QC, Canada, 27–30 September 2015; pp. 507–511. [Google Scholar]
  69. Čibej, U.; Mihelič, J. Improvements to Ullmann’s Algorithm for the Subgraph Isomorphism Problem. Int. J. Pattern Recognit. Artif. Intell. 2015, 29, 1550025. [Google Scholar] [CrossRef]
  70. Dong, Y.; Zhang, L.; Cui, X.; Ai, H.; Xu, B. Extraction of Buildings from Multiple-View Aerial Images Using a Feature-Level-Fusion Strategy. Remote Sens. 2018, 10, 1947. [Google Scholar] [CrossRef] [Green Version]
  71. Huo, P.; Hou, M.; Dong, Y.; Li, A.; Ji, Y.; Li, S. A Method for 3D Reconstruction of the Ming and Qing Official-Style Roof Using a Decorative Components Template Library. ISPRS Int. J. Geo-Inf. 2020, 9, 570. [Google Scholar] [CrossRef]
Figure 1. The Ming and Qing Dynasty official-style architecture with double-eave roof: (a) double-eave hip roof architecture (b) double-eave gable and hip roof architecture; (c) double-eave pyramidal roof architecture.
Figure 1. The Ming and Qing Dynasty official-style architecture with double-eave roof: (a) double-eave hip roof architecture (b) double-eave gable and hip roof architecture; (c) double-eave pyramidal roof architecture.
Ijgi 10 00650 g001
Figure 2. The special and derived roof type architecture: (a) fan-shaped gable and hip roof with a round ridge architecture; (b) hip and flat roof architecture; (c) intersecting gable and hip roof architecture.
Figure 2. The special and derived roof type architecture: (a) fan-shaped gable and hip roof with a round ridge architecture; (b) hip and flat roof architecture; (c) intersecting gable and hip roof architecture.
Ijgi 10 00650 g002
Figure 3. The vector graph of ridges: (a) hip roofs; (b) gable and hip roof; (c) gable roof or flush gable roof; (d) pyramidal roof.
Figure 3. The vector graph of ridges: (a) hip roofs; (b) gable and hip roof; (c) gable roof or flush gable roof; (d) pyramidal roof.
Ijgi 10 00650 g003
Figure 4. (a) Illustration of a flush gable roof building; (b) illusion of an overhanging gable roof building; (c) the roof and facades of a flush gable roof building from the front perspective views; (d) illustration of DfFtR.
Figure 4. (a) Illustration of a flush gable roof building; (b) illusion of an overhanging gable roof building; (c) the roof and facades of a flush gable roof building from the front perspective views; (d) illustration of DfFtR.
Ijgi 10 00650 g004
Figure 5. (a) The main ridge of a flush gable roof building; (b) the roof point cloud density distribution on the XOY .
Figure 5. (a) The main ridge of a flush gable roof building; (b) the roof point cloud density distribution on the XOY .
Ijgi 10 00650 g005
Figure 6. The roof extraction process: (a) the original point cloud; (b) two sampled points subsets; (c) the generated projective image by the remaining points which are higher than the red points labeled as in (b); (d) the generated projective image by the remaining points which are higher than the red points labeled as in (b); (e) the histogram generated by projective areas; (f) the extracted facades and roof.
Figure 6. The roof extraction process: (a) the original point cloud; (b) two sampled points subsets; (c) the generated projective image by the remaining points which are higher than the red points labeled as in (b); (d) the generated projective image by the remaining points which are higher than the red points labeled as in (b); (e) the histogram generated by projective areas; (f) the extracted facades and roof.
Ijgi 10 00650 g006
Figure 7. The process of extracting ridges: (a) the top view of the original point cloud; (b) section lines; (c) the points from section line along LX 1 labeled as in (b); (d) the points from different section lines along X axis; (e) the points from section line along LX 1 labeled as in (b); (f) the extracted ridge points.
Figure 7. The process of extracting ridges: (a) the top view of the original point cloud; (b) section lines; (c) the points from section line along LX 1 labeled as in (b); (d) the points from different section lines along X axis; (e) the points from section line along LX 1 labeled as in (b); (f) the extracted ridge points.
Ijgi 10 00650 g007
Figure 8. The corresponding attributed relational graph: (a) hip roofs; (b) gable and hip roof; (c) gable roof or flush gable roof; (d) pyramidal roof.
Figure 8. The corresponding attributed relational graph: (a) hip roofs; (b) gable and hip roof; (c) gable roof or flush gable roof; (d) pyramidal roof.
Ijgi 10 00650 g008
Figure 9. Proposed hierarchical semantic network for the Ming and Qing official-style architecture classification.
Figure 9. Proposed hierarchical semantic network for the Ming and Qing official-style architecture classification.
Ijgi 10 00650 g009
Figure 10. The grades and sizes of Qing doukou.
Figure 10. The grades and sizes of Qing doukou.
Ijgi 10 00650 g010
Figure 11. (a) Forbidden City; (b) Qutan Temple.
Figure 11. (a) Forbidden City; (b) Qutan Temple.
Ijgi 10 00650 g011
Figure 12. The point cloud of the Gate of Supreme Harmony and the Hall of Complete Harmony.
Figure 12. The point cloud of the Gate of Supreme Harmony and the Hall of Complete Harmony.
Ijgi 10 00650 g012
Table 1. The roof types of the Ming and Qing official-style architecture.
Table 1. The roof types of the Ming and Qing official-style architecture.
Roof TypeIllustrationsExampleDescription
hip roof Ijgi 10 00650 i001 Ijgi 10 00650 i002Hip roofs with all sides sloping, are the classiest traditional roof style. There are a total of five ridges including a main ridges and four vertical ridges.
gable and hip roof Ijgi 10 00650 i003 Ijgi 10 00650 i004Gable and hip roofs, with two curving sides, are second in importance to hip roofs. They are nine ridges including a main ridges, four vertical ridges and four diagonal ridges.
overhanging gable roof Ijgi 10 00650 i005 Ijgi 10 00650 i006Overhanging gable roofs have two straight, overhanging slopes. They are five ridges including a main ridges and four vertical ridges.
flush gable roof Ijgi 10 00650 i007 Ijgi 10 00650 i008Flush gable roofs have a main ridge and raise sloping ridges on the gable walls. It is a very simple style with two slopes facing front and back.
pyramidal roof Ijgi 10 00650 i009 Ijgi 10 00650 i010Pyramidal roof has four slopes. The number of the slopes is equal to the number of vertical ridges which intersected at one point.
round ridge roof Ijgi 10 00650 i011 Ijgi 10 00650 i012Round ridge roof, with no main ridge, has two straight slopes. It is a variant of the gable and hip roof, overhanging gable roof and flush gable roof.
Table 2. The attributed relational graph template of the ridges from pyramidal roofs.
Table 2. The attributed relational graph template of the ridges from pyramidal roofs.
V = v 1 , v 2 , v 3 , v 4
E = e 1 v 1 v 2 ,   e 2 v 2 v 3 ,   e 3 v 1 v 3 ,   e 4 v 1 v 4 ,   e 5 v 2 v 4 ,   e 6 v 3 v 4
R V = α | α v i , i = 1 , 2 , , N
R E = θ | θ e i , i = 1 , 2 , , M
G V = α i = l i j = 0 N l j
G E = θ e i = cos 1 e i  
Table 3. The rule table for the thresholds.
Table 3. The rule table for the thresholds.
IndexThe Modules of the Wooden Frame with DougongThe Modules of the Wooden Frame without Dougong
eave column height60 doukou11 D
main ridge height12 doukou2.2 D
diameter of the draft1.5 doukouD/3
cantilever length12 doukou3.3 D
Table 4. The details of each test building.
Table 4. The details of each test building.
Architecture NameRoof TypePoint CloudIllustration
Gate of Supreme Harmonydouble-eave gable and hip roof Ijgi 10 00650 i013 Ijgi 10 00650 i014
Hall of Complete Harmonypyramidal roof Ijgi 10 00650 i015 Ijgi 10 00650 i016
BaoGuang Halldouble-eave gable and hip roof Ijgi 10 00650 i017 Ijgi 10 00650 i018
Meridian Gatedouble-eave hip roof Ijgi 10 00650 i019 Ijgi 10 00650 i020
LiJing Xuanflush gable roof Ijgi 10 00650 i021 Ijgi 10 00650 i022
Gate of Lasting Happinessflush gable roof with round ridge Ijgi 10 00650 i023 Ijgi 10 00650 i024
A 3D model exampleoverhanging gable roof Ijgi 10 00650 i025 Ijgi 10 00650 i026
Table 5. The experimental details and results.
Table 5. The experimental details and results.
Gate of Supreme HarmonyHall of Complete HarmonyBaoGuang HallMeridian GateLiJing XuanGate of Lasting HappinessA 3D Model Example
Original point cloud of test Ijgi 10 00650 i027 Ijgi 10 00650 i028 Ijgi 10 00650 i029 Ijgi 10 00650 i030 Ijgi 10 00650 i031 Ijgi 10 00650 i032 Ijgi 10 00650 i033
The change of the areas on the X along the Z directions Ijgi 10 00650 i034 Ijgi 10 00650 i035 Ijgi 10 00650 i036 Ijgi 10 00650 i037 Ijgi 10 00650 i038 Ijgi 10 00650 i039 Ijgi 10 00650 i040
Extracted roof Ijgi 10 00650 i041 Ijgi 10 00650 i042 Ijgi 10 00650 i043 Ijgi 10 00650 i044 Ijgi 10 00650 i045 Ijgi 10 00650 i046 Ijgi 10 00650 i047
NoREs Ijgi 10 00650 i048null Ijgi 10 00650 i050 Ijgi 10 00650 i052nullnullnull
Extracted ridge points Ijgi 10 00650 i054 Ijgi 10 00650 i055 Ijgi 10 00650 i056 Ijgi 10 00650 i057 Ijgi 10 00650 i058 Ijgi 10 00650 i059 Ijgi 10 00650 i060
DfFtRnullnullnullnull Ijgi 10 00650 i061 Ijgi 10 00650 i062 Ijgi 10 00650 i063
Main ridge Ijgi 10 00650 i064null Ijgi 10 00650 i065null Ijgi 10 00650 i066 Ijgi 10 00650 i067 Ijgi 10 00650 i068
Roof typedouble-eave gable and hip roofpyramidal roofdouble-eave gable and hip roofdouble-eave hip roofflush gable roofflush gable roof with round ridgeoverhanging flush gable roof
Table 6. The BaoGuang Hall roof recognition process based on point cloud with different density.
Table 6. The BaoGuang Hall roof recognition process based on point cloud with different density.
Density
p o i n t s / m 2
The Histogram of the Projective AreasRoofRidgesMain Ridges
59,737 Ijgi 10 00650 i069 Ijgi 10 00650 i070 Ijgi 10 00650 i071 Ijgi 10 00650 i072
5974 Ijgi 10 00650 i073 Ijgi 10 00650 i074 Ijgi 10 00650 i075 Ijgi 10 00650 i076
597 Ijgi 10 00650 i077 Ijgi 10 00650 i078 Ijgi 10 00650 i079 Ijgi 10 00650 i080
Table 7. The Hall of Complete Harmony roof reorganization process based on point cloud with different density.
Table 7. The Hall of Complete Harmony roof reorganization process based on point cloud with different density.
Density
( p o i n t s / m 2 )
The Histogram of the Projective AreasRoofRidgesMain Ridges
43,416 Ijgi 10 00650 i081 Ijgi 10 00650 i082 Ijgi 10 00650 i083null
4342 Ijgi 10 00650 i084 Ijgi 10 00650 i085 Ijgi 10 00650 i086null
434 Ijgi 10 00650 i087 Ijgi 10 00650 i088 Ijgi 10 00650 i089null
Table 8. The Gate of Lasting Happiness roof reorganization process based on point cloud with different density.
Table 8. The Gate of Lasting Happiness roof reorganization process based on point cloud with different density.
Density
( p o i n t s / m 2 )
The Histogram of the Projective AreasRoofRidgesMain Ridges
95 Ijgi 10 00650 i090 Ijgi 10 00650 i091 Ijgi 10 00650 i092 Ijgi 10 00650 i093
9.5 Ijgi 10 00650 i094 Ijgi 10 00650 i095 Ijgi 10 00650 i096 Ijgi 10 00650 i097
1 Ijgi 10 00650 i098 Ijgi 10 00650 i099 Ijgi 10 00650 i100 Ijgi 10 00650 i101
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Dong, Y.; Hou, M.; Xu, B.; Li, Y.; Ji, Y. Ming and Qing Dynasty Official-Style Architecture Roof Types Classification Based on the 3D Point Cloud. ISPRS Int. J. Geo-Inf. 2021, 10, 650. https://doi.org/10.3390/ijgi10100650

AMA Style

Dong Y, Hou M, Xu B, Li Y, Ji Y. Ming and Qing Dynasty Official-Style Architecture Roof Types Classification Based on the 3D Point Cloud. ISPRS International Journal of Geo-Information. 2021; 10(10):650. https://doi.org/10.3390/ijgi10100650

Chicago/Turabian Style

Dong, Youqiang, Miaole Hou, Biao Xu, Yihao Li, and Yuhang Ji. 2021. "Ming and Qing Dynasty Official-Style Architecture Roof Types Classification Based on the 3D Point Cloud" ISPRS International Journal of Geo-Information 10, no. 10: 650. https://doi.org/10.3390/ijgi10100650

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop