Acceso abierto

Extraction and Protection of Historical Architectural Features of Traditional Villages Based on Computer Vision

  
19 mar 2025

Cite
Descargar portada

Introduction

Traditional villages are the source of China’s farming life and occupy an important position in Chinese culture, and they possess relatively rich traditional resources with certain research and conservation values. However, due to urban expansion and industrial development, the total number of natural villages in China plummeted after the 21st century, dropping from 3.63 million to 2.71 million in 2010, with a total of 900,000 disappearing in 10 years [14]. Since then, the National Rural Development Report put forward the strategy of rural revitalization, which includes “adhering to the harmonious coexistence of man and nature, and taking the road of green development in the countryside” to protect the natural environment of villages and build livable villages, so that villagers are more willing to stay in the villages. It can be seen that China’s traditional village landscape protection has been imminent, but also for Chinese scholars to explore the traditional village landscape genetic information chain gives spiritual support [58]. Traditional villages are important carriers of national culture, cohesion of rich cultural deposits and historical memory, has long been the focus of scholars from all walks of life [910]. At present, Chinese scholars’ research on traditional villages mainly focuses on the direction of planar morphology, spatial structure, cultural landscape and landscape features, as well as the direction of social structure and social culture. And the research methodology has developed from the qualitative research with strong subjectivity to the quantitative research resulting from the cross of multiple disciplines, which has made great progress in the quantitative research related to traditional villages [1113].

Finally, traditional villages are the “living fossil” of regional culture, and the historical buildings in traditional villages carry the genes of regional traditional culture [1415]. Only by protecting the historical buildings of traditional villages can we retain the regional characteristics of traditional culture and the nostalgia of people who have left their hometowns [1617]. In the process of rapid transformation from “Vernacular China” to “Urban China”, the protection and utilization of traditional villages and historical buildings are facing many difficulties, and the tension between protection and development is becoming more and more prominent [1819].

The article comprehends the extraction methods, modes and processes including architectural landscape information, and explores the way to utilize computer vision technology for feature extraction and protection of historical buildings. The basic data of historical buildings are obtained using UAV photography and preprocessed. Interpolation is done using known data, surface construction is done using approximation methods, and building images are fine-mapped using texture mapping technology. The SIFT operator is used to extract the mixed feature points in the environment, and the feature extraction of the building is realized through the steps of extreme value detection, feature point localization, and determining the direction of the feature points. For the color landscape recognition of buildings, the HSV color space model is selected to extract color features and represent them with color histograms. After that, an ancient village in northern Guangdong is selected for study.

Process of extracting information on the landscape of historical buildings in traditional villages

The features of traditional villages have significant heredity, and after the inheritance from the formation and development of villages in a large spatial and temporal scale, the design language that can reflect the characteristics of the historical buildings in each region is still retained in the existing traditional historical buildings and new historical buildings updated from generation to generation, and their cultural meanings and appearance features have no intrinsic relationship. Therefore, the research on extracting the characteristics of traditional villages’ historical architectural features is particularly important for the overall landscape protection of traditional villages.

Information extraction methods

Effective application of historical architectural landscape information in traditional villages in rural construction requires the accurate extraction of historical architectural landscape information. At present, in most traditional villages in China, there are residential historical buildings and public historical buildings constructed in various periods, which are subject to the constraints of the design and creation methods, historical building materials and technology, construction level and other construction modes, as well as the limitations of the economy, society, natural climate and local cultural conditions, and they will show the phenomenon of superposition of the historical architectural features which seems to be “disordered”. However, under the seemingly different appearances, there is a hidden “uniform” and “complex” modulus, which also brings some limitations to the research on the extraction of historical architectural landscape information. Following the four basic principles of “intrinsic uniqueness, extrinsic uniqueness, local uniqueness and overall superiority” can effectively overcome the above limitations.

The architectural style information of the researched villages is decomposed from the aspects of the settlement environment, building materials, spatial layout, modeling style, detailed decoration, etc.: according to the natural environmental factors of the area to which the traditional villages belong, the environmental characteristics such as landform/water system, climate conditions, plant materials/soil and stones are analyzed; according to the characteristic architectural style of the traditional villages, the dominant information elements of their architectural style are analyzed; according to the significant regional cultural characteristics of the traditional villages are identified; according to the distinctive regional cultural characteristics of the traditional villages, the dominant information elements are analyzed; according to the distinctive regional cultural features, the dominant information elements are analyzed; and according to the distinctive regional cultural characteristics of the traditional villages are analyzed. According to the significant regional cultural characteristics of traditional villages, the cultural information elements that affect their architectural style are determined. Taking this as the research basis, we constructed cultural information elements on architectural styles of traditional villages to extract information about architectural styles. Based on this research, the system of extracting elements of architectural style information of traditional villages is constructed, the categories of historical architectural style information are categorized and merged, and the historical architectural style information of traditional villages is meticulously classified into detailed, easy-to-extract and operable element categories.

Information extraction model

The mode of extracting information on the features of historical buildings is different from the extraction method of information on the features of historical buildings described above. The purpose of the extraction method is to differentiate the elements of different historical architectural features and break them down into a number of constituent information, while the purpose of the extraction model of historical architectural features information is to guide the analysis of historical architectural features and the extraction research through the macroscopic technical framework.

In order to better interpret the historical architectural features of traditional villages and study their information structure, the extraction of historical architectural features information can be carried out in five aspects: two-dimensional features, three-dimensional features, spatial structure, visual perception and data investigation. Firstly, the extraction of two-dimensional features mainly includes the plan layout of traditional style historical building compounds, doors, windows, walls and other façade elements, secondly, the extraction of three-dimensional features mainly includes the proportionality of the environmental space of the historical building compounds, the layout of the historical building compounds, and so on, and then, the extraction of spatial structure mainly includes the combinations of the elements such as doors, windows, etc., the relationship of the historical buildings with the streets and alleys, and the relationship between the historical buildings and open spaces, and then, the extraction of spatial structure mainly includes the combinations of doors, windows, etc. Then, the extraction of spatial structure mainly includes the combination of doors, windows and other elements, the relationship between historic buildings and streets and alleys, historic buildings and open spaces, etc. Once again, the extraction of visual perception refers to the people’s perception of the volume of the historic buildings, roofs, detailed decorations and other historic architectural components of the traditional villages, that is, the overall impression of the historic architectural style of the traditional villages, and lastly, the extraction of the data survey mainly includes the intangible information on the historical development of the traditional villages, the traditional handcrafts and the humanistic customs and so on. Therefore, this paper combines the information extraction modes of historical architectural features of the above five extraction methods to study the information characteristics of historical architectural features of traditional villages from the material and non-material levels.

Information extraction process

Analysis of historical architectural landscape information is one of the key steps in the information extraction process, so it is necessary to ensure the accuracy of information extraction through scientific guidance. The process of extracting information on the wind features of historical buildings mainly includes the process of collecting information on the wind features of historical buildings, the process of processing information on the wind features of historical buildings, the process of extracting information on the wind features of historical buildings and the process of analyzing information on the wind features of historical buildings. Through the specific analysis of the features of historical buildings, with the help of digital information acquisition technology methods, the collection of historical building landscape information is carried out to provide a digital information acquisition process applicable to the traditional village environment. Historical architectural landscape information processing process is to overcome the limitations of traditional manual technology methods through 3D reconstruction and point cloud semantic segmentation technology methods, to realize the efficiency and compatibility of the transformation of 3D point cloud to BIM model, and to improve the technology to extract the historical architectural elements at a sufficient level of detail, and the historical architectural landscape information storage and extraction process is to provide a database of historical architectural landscape information for the traditional villages through the BIM technology. The extraction process is used to analyze the specific features of traditional villages through BIM technology for the construction of the database of historical architectural features information through the digital platform and data support for storage, management, sharing and analysis, and the extraction process is used to analyze the specific features of traditional villages’ historical architectural features.

Computer vision-based feature extraction and preservation method for historic buildings
Historical building feature extraction and modeling
Drone tilt-photography to collect basic data on historic buildings

The geometric principle of using UAV tilt photography to collect the basic data of historical buildings and cultural relics is mainly based on the covariance equation, using the beam method of leveling, with the help of the internal orientation elements, solving the coordinates of each point in the image at the moment of aerial photography by UAV, realizing the relative positioning of the common point between the pixels, and then converting the image coordinates into spatial coordinates by coordinate transformation.

When the center of the photo is on the same line with point p and point P on the ground, the expression is shown in (1): xx0=fm1(XAXs)+n1(YAYs)+p1(ZAZs)m3(XAXs)+n3(YAYs)+p3(ZAZs)yy0=fm2(XAXs)+n2(YAYs)+p2(ZAZs)m3(XAXs)+n3(YAYs)+p3(ZAZs)}

Where: x0, y0, f denote the internal parameters of the camera, XA, YA, ZA denote the coordinates of the point A that has been determined in the ground coordinate system, Xs, Ys, Zs are the coordinates of the imaging center of the camera in the ground coordinate system, m, n, p are the direction cosine values of the azimuthal unit, and x, y denote the points to be measured in the ground coordinates. The key consideration to focus on is that the UAV has to surround the building to control the flight during the flight, and if the number of buildings is too many and the scale is too large, then the flight height of the UAV has to be planned to ensure that it can complete the photography of all the individual building bodies. The sailing height of the UAV can be calculated according to equation (2): H=h×GSDq

Where: H denotes the navigational height of the camera relative to the ground (m), h denotes the focal length of the camera (cm), q denotes the pixel size, and GSD is the ground resolution of the image.

Pre-processing of historic buildings and artifacts data

After completing the data collection of historical buildings and cultural relics, its data is pre-processed, which is divided into the following steps.

Cropping: manual cropping is carried out first, which can not only reduce the amount of data, but also facilitate the processing. After completing the cutting process, the data will be output, and the file formed is applicable to TXT format and DXF format.

Chunking: Use the corners to cut these discontinuous surfaces, dividing the entire data block into many small surface domain modules. Next, combined with the linear characteristics of the building point cloud data in the XOY plane, the point cloud data file in TXT format exported from the previous operation is automatically segmented on the basis of the programming implementation.

Setting splicing datum points: when segmenting the data, you can choose to set 3~4 datum points on the segmentation point. These datum points are points common to two neighboring components, which can be used to maintain consistency when splicing. Finally, save the output of the processed data in the form of spatial rectangular coordinates X, Y, Z and select the file type as text file TXT.

For the characteristics of the building plane features more, according to the distance from the point to the plane to determine whether to eliminate the point. Let the space plane equation be expressed as: ax+by+cz=d

Where: (a,b,c) represents the unit normal vector of this plane, d represents the distance from the origin of coordinates to this plane, d ≥ 0. After completing the above operations, the data are then subjected to a roughness clearing operation as follows.

Calculate the initial optimal plane by combining the initial values of the three parameters a, b and c of the plane equation.

Based on the calculated initial values, calculate the distance from each point to the fitted plane as follows: di=| a(xix¯)+b(yiy¯)+c(ziz¯) |

Roughness rejection judgment, when b > di > a (a,b can be set according to the needs of their own), this point is considered to be required to retain, and vice versa, it will be deleted. Through the above steps to complete the preprocessing of historical buildings and cultural relics data.

Constructing three-dimensional models of historic buildings

Through the reverse engineering software, the article first establishes the triangular mesh surface of the processed data according to the nearest principle to form a prototype close to the physical building, and then with the help of the surface fitting method [20], the 3D model is directly formed through the processing of repairing and smoothing. The historical building’s 3D model is created using 3D reconstruction technology based on the processed data. In this paper, the specific approach for modeling historical architectural artifacts is to start from data and construct surfaces using accurate mathematical functions. Then the interpolation method and approximation method are used to interpolate other unknown data points according to certain principles or functions based on known data points, and the approximation method is used to construct the surface as follows: f(x,y,z)=a1x2+a2y2+a3z2+a4xy+a5xz+a6yz+a7x+a8y+a9z=0

When modeling surfaces, the surface is first fitted to the measured data, and then the resulting surfaces are transitioned, blended, and connected to form the final surface model.

Fine mapping of historic building images

After completing the 3D model needs to be finely mapped according to the model contour lines, when the mesh model is represented as a mesh, texture mapping technique is used to determine the corresponding positions (u, v) of the scene surface P and the actual points P [21], while the texture or color defined on (u, v) is used to portray a certain texture feature of the scene object at the P point. The texture mapping technique can be divided into two steps. (1) Determine which parameters of the surface need to be defined as different texture features. (2) On this basis, map the texture space to the scene space and screen space.

The advantage of fine mapping images of historical architectural relics is that it can provide accurate three-dimensional coordinate data and texture information, which provides more reliable data support for the protection and research of historical architectural relics.

Historical building feature extraction algorithm

The original image cannot be directly processed by the computer, but must be transformed into a digital image in the form of a two-dimensional matrix composed of pixel blocks in order to be processed by the computer for grayscaling, binarization and other image processing. The natural features in the real scene include point features, line features, contour features, and colors, etc. Point features are more commonly used in augmented reality tracking and localization algorithms due to their strong occlusion resistance.

The SIFT operator is used to extract the hybrid feature points in the environment, and due to the presence of sign features in the scene, the number of extracted feature points can be reduced by image processing in the image preprocessing stage [22].

The feature extraction process of SIFT operator is mainly divided into the following stages:

Extreme value detection in scale space

The first step of extreme value detection is to determine the location of the key point of the image of the object at different viewpoints and the region in which the key point is located, and the extreme value detection can be determined by a scale space function. Let the function of an input image be I(x.y) and the Gaussian kernel be G(x, y, σ), then the image in scale space is defined as: L(x,y,σ)=G(x,y,σ)*I(x,y)

Among them: G(x,y,σ)=12πσ2e(x2+y2)/2σ2

Scale space D(x, y, σ) is defined as: D(x,y,σ)=(G(x,y,kσ)G(x,y,σ))*I(x,y)=L(x,y,kσ)L(x,y,σ)

The scale space of Gaussian difference is mainly realized by subtraction operation of neighboring images, and OG is mainly used to get the local extreme value by comparing neighboring points, and the position of local extreme value is the position where the key point is located.

Precise localization of hybrid feature points

When the candidate hybrid feature key points are detected, the next step is to refine the hybrid feature points to improve their stability and suppress the influence of noise. The expansion of D(x, y, σ) is obtained: D(X)=D+DTXX+12XT2DX2X where X = (x, y, σ)T is the offset of the sample point, and D, DTX , and 2DX2 are calculated from the sample point. The derivative of equation (9) and making the derivative equal to 0 yields the extreme value X^ : X^=DTX(2DX2)1

Then: D(X^)=D+12DTXX^

When | D(X^) |<0.03 , the extreme point is eliminated.

In the process of using, the above method is not yet able to meet the stability requirements of the hybrid keypoints, in order to further improve the stability of the feature points in the process of extracting the hybrid features and removing the edge effect, the method of Hessian matrix is used to calculate the principal curvature, and the representation of the Hessian matrix is as follows [23]: H=[ DxxDxyDxyDyy ]

Let the characteristic roots of matrix H be α and β(α > β) and α = r β(r > 1), respectively, then: Tr(H)2Det(H)=Dxx+DyyDxxDyy(Dxy)2=(α+β)2αβ=(rβ+β)2rβ2=(r+1)2r

With this equation Tr(H)2Det(H)<(r+1)2r , the detected unqualified hybrid feature points can be eliminated to ensure the stability of the obtained hybrid feature points.

Determine the direction of hybrid feature points

In order to ensure the rotational invariance of the hybrid feature points in the extraction process, each hybrid feature point extracted with the SIFT operator has a direction, and let the image sample be L(x, y), then the gradient m(x, y) of each image sample is: m(x,y)=((L(x+1),y)L(x1,y))2+(L(x,y+1)L(x,y1))2

Direction θ(x, y) for: θ(x,y)=tan1((L(x,y+1)L(x,y1))/(L(x+1,y)L(x1,y)))

Then: θ=tan2(L(x,y+1)L(x,y1))(L(x+1,y)L(x1,y))

Description of hybrid feature points

After eliminating the region candidate points, completing the localization of the image feature points, and assigning orientations to each key hybrid feature point in order to maintain the rotational invariance of the extracted hybrid feature points, the most important thing is to describe them in order to maintain the invariance of the SIFT features when the viewpoints and so on change.

The SIFT operator is based on a biological vision model and first creates SIFT feature descriptors. An array of descriptors each with 8 directions, and a 4×4×8 dimensional vector consisting of the sum of the gradients in each direction is the SIFT descriptor.

Building color feature extraction algorithm based on HSV space
Color feature extraction based on HSV space

In this paper, HSV color space model is selected for extraction of color features. Generally, images are saved in RGB, while in this paper, images are converted from RGB color space to HSV space. Let Vc is a color in RGB color space and Wc is a color in HSV color space, the transformation process from RGB color space to HSV color space can be represented by equation (17) [24]: Wc=Tc(Vc)

Where Tc represents a linear transformation, which is the transformation process that converts the color from RBG space to HSV space. If r, g, and b in the RGB color model are normalized, the values of h, s, and v of the HSV model after the linear transformation will also be in the [0,1] range. The Tc transformation is represented as follows: h={ 5+b,Whenr=max(r,g,b)Andg=max(r,g,b)1g,Whenr=max(r,g,b)Andgmax(r,g,b)1+r,Wheng=max(r,g,b)Andb=min(r,g,b)3b,Wheng=max(r,g,b)Andbmin(r,g,b)3+g,Whenb=max(r,g,b)Andr=min(r,g,b)5r,Othercasesv=max(r,g,b)s=vmin(r,g,b)v

Among them: r1=vrvmin(r,g,b)g1=vgvmin(r,g,b)b1=vbvmin(r,g,b)

Global Histogram

Color histograms are often used to represent the color features of an image with fast computation, simple algorithms, and scale, translation, and rotation invariance. [25]. This method has good applications in image feature extraction, image classification, and retrieval. The algorithm is able to represent the distribution of different colors and the proportion of colors in the whole image, i.e., the colors contained in the image and the probability of occurrence of each color.

The color histogram of an image can be viewed as a one-dimensional discrete function with the following formula: H(k)=nkNk=0,1,,L1

Where k represents the color grade of the image, L is the number of desirable color grades. nk is the number of pixels in the image having color level k, and N represents the total number of pixels in the image.

Structural characterization of historic buildings

This paper takes a historical ancient village in northern Guangdong as the research object, and applies the method of this paper to extract and analyze the features of the ancient stagecoach route and the historical buildings along the route in the village.

Characterization of the Patriarchal Morphology

Combined with the field research and the ArcGIS fixed-point labeling, we defined the labeling of the layout, architectural form and spatial symbols of the clan temples and statistically assigned values to 15 variables, as shown in Table 1. The number of ancestral halls was entered into the SPSS list, and through the comparison of different variables, the statistical analysis was made to objectively derive the morphology and spatial distribution pattern of ancestral halls along the ancient stagecoach routes in the northern part of Guangdong Province.

The ancestral hall form variable and its corresponding tag value

Variable Tag value
Settlement layout The ancient way 1=Tea pavilion-lianjiang water ancient road, 2=yile and xijing, 3=the ancient road of the city, 4=The ancient road of yuegan
Village form 1=Group type, 2=Layer type, 3=Centralized type, 4=permutation, 5=Centripetal type
Main orientation 0.5=northwest, 1.0=north, 1.5=northeast, 2=east, 2.5=southeast, 3=south, 3.5=southwest, 4.0=west
Name 1=The ancestral hall, 2=hall, 3=common shrine, 4=the temple, 5=the temple, 6=the family temple, 7=the other
Building system Layer quantity 1=Single layer, 2=double layer, 3=triple layer
Header integrity 0=off, 1=complete
Type of head door 0=flat open, 1=nice door, 2=convee, 3=door hall, 4=concave bucket, 5=door hall + hollow bucket
School 0=No, 1=yes
Patio 0=monomer, 1=single patio, 2=courtyard, 3=corridor, 4=courtyard + patio, 5=corridor + patio
Room 1=one room, 2=three rooms, 3=five rooms
Mountain wall 0=no, 1=man’s word, 2=wide-pan ear, 3=guest family, 4=guest water type pan, 5=guest fire pan, 6=wooden head wall, 7=mixed
Frame type 0=no, 1=lift beam, 2=hard mountain put Lin, 3=variaceous, 4=triangular wooden frame, 5=modern imitation structure
Space symbol Lunar basin 0=no, 1=half-moon, 2=other, 3=missing
Axis 0=turn, 1=complete
Boundary 0=flat, 1=concave bump
Axis and orientation

The Chating-Lianjiang Waterway Ancient Road is taken as an example to be analyzed. According to the results of the correlation analysis of the elements of the zongshi forms along the Chating-Lianjiang Waterway Ancient Road, there are 9 pairs of significant correlations in the zongshi forms along the Chating-Lianjiang Waterway Ancient Road, and the correlation analysis table of the elements of the zongshi forms along the Ancient Road is shown in Table 2.

The correlation analysis of the morphological elements of the ancestral temple

Form Na Ori la HI ToH Pat room wall Frame Sch Lb Ax Bd
Form /
Na 0.14 /
Ori 0.10 -0.30 /
1a 0.19 -0.29 0.28 /
HI 0.29 0.20 -0.19 0.65 /
ToH -0.88 0.40 0.36 -1.19 -0.04 /
Pat 0.21 0.51 0.09 -0.08 -0.30 0.18 /
room 0.11 0.32 0.11 0.93 0.71 0.31 -0.43 /
wall -0.26 0.32 0.06 0.40 0.23 0.23 0.19 0.32 /
Frame -0.14 -0.15 0.30 -0.06 0.24 0.16 -0.33 0.32 0.21 /
Sch a a a a a a a a a a /
Lb 0.16 0.47 -0.14 -0.14 -0.26 -0.10 0.25 -0.59 -0.30 -0.34 a /
Ax 0.10 0.36 0.50 -0.19 0.08 0.53 -0.16 0.34 0.10 0.18 a -0.22 /
Bd -0.25 -0.03 -0.30 -0.12 -0.55 -0.23 0.28 -0.77 -0.41 -0.31 a 0.44 -0.62 /

In the sample, 13.9% of the zongshi axes were turned, and all of them were oriented to the north. To further explore the reasons from the research subjects, there are two cases of the axial turning of ancestral halls located in the northern part of the Xingzi Ancient Road, which are the Tang Clan Ancestral Hall in Lou Village and the Yi Clan Ancestral Hall in Yi Jia Village, which are closely connected with the residential buildings, and are large in size, and it is difficult to leave a square for activities in front of the head gate, and so they are surrounded by a wall to form a courtyard, which is a common practice in part of the region of Jiangxi Province. The axes of 86.6% of the ancestral halls are still in place, with 48.5% facing southwest and only a few facing east or north.

Patios, Frames and Moon Pools

Along the ancient road, 72.78% of the samples have patios and 13.38% have corridors, and most of the samples with corridors are located in Hakka huts, which appear in the southern part of the ancient road. The architectural beauty of this type of ancestral halls is insufficient, and a large number of examples are not included in the list of immovable heritage, but the author believes that this type of ancestral halls with corridors can be regarded as a typical form in the southern part of the Chatting-Lianjiang Waterway Ancient Road. Among the ancestral halls with patios, raised beam structures are widespread, accounting for 87.67% of the total, and 87.38% of these raised beam buildings with patios do not have moon pools, 6.44% have half-moon moon pools, and 6.21% have other types of moon pools. The Chaoyang He Clan Ancestral Hall in Qingjiang Village, which has a half-moon moon pool, was built in the early Qing Dynasty and rebuilt in the Qianlong Dynasty. The overall shape conforms to the common features along the northern part of the ancient road mentioned above, and the presence of moon pools can be seen as one of the strong evidences of the integration of Hakka elements. Among the samples with corridors, 66.32% have half-moon moon pools, and 33.84% have other moon pools.

Headgate, Opening and Boundary Relationships

Along the ancient road, 95.1% are integrated ancestral halls, and in the research case, only the Luo’s Yuzhang Hall in Shuiyuan Village has the phenomenon that the head gate is disconnected from the main body of the building. Lianzhou villages often have a gatehouse at the entrance, and from this point of view, the Luo ancestral hall can also be regarded as a gatehouse in front of the ancestral hall and a monolithic building. However, most of the gate towers in Lianzhou have eight-character walls, and there is a half-moon moon pool in front of the gate tower of Luo’s ancestral hall, so the author discusses this case as one of the few cases in which the head gate and the building are separated in Lianzhou. 95.3% of the remaining ancestral hall buildings are three-roomed buildings, and the outer boundaries of the buildings are flat with no protrusions. From the above relevant analysis, we can depict the general characteristics of the ancestral halls along the Chating-Lianjiang waterway: there is a square in front of the ancestral hall buildings along the ancient road in the northern Lianzhou and Yangshan territories, and there is no moon pool on the square. The face is three rooms wide, with a lifting beam structure. The outer boundary of the building is level. In the south, along the ancient road in the territory of Yingde, there gradually appeared the horizontal hall house type residence and rituals in one building form, this kind of ancestral hall building and the same material used in ordinary residential houses, is located in the center of the horizontal hall house, the area is small, the head gate, the middle hall and the sacrificial hall are separated by the horizontal hall house corridor, single room or three rooms are available, the area is small. The outer boundary of the building is connected to the residence, which shows concave and convex changes along with the functional facade of the residence. In front of the plaza, there is a half-moon-shaped moon pond. The two types are not limited to a specific region, as there is a fusion of architectural forms along the ancient road.

Quantitative analysis of materials used in historic buildings

Because of the small number of samples of earth main material elevation, it is more difficult to form a trend line of numerical distribution, and the preference of traditional building materials for the stone colony will be taken mainly from the brick and wood main material elevation. The brick main material elevation is divided into front elevation and side elevation to summarize the data separately, and the analysis results are shown in Figure 1. Take a single traditional building elevation as an example:

The main brick façade was statistically analyzed to obtain the main values: the main material of the wall, brick material, was distributed in the range of 58% to 88% of the area of the façade for statistical purposes (Ay-Max) (Fig. 1a), and the area of auxiliary materials of the wall was distributed in the range of 4% to 40% of the façade for statistical purposes (Ay) (Fig. 1b), and the wall base material was distributed in the range of 4% to 40% for statistical purposes (Fig. 1c).), and the area share (B) of wall base materials in the statistically used elevations is distributed in the range of 2% to 12% (Fig. 1c).

The statistical analysis of the side elevation of the main brick material yielded the main values: the area share of the main wall material in the statistical elevation (Ay-Max) was distributed in the range of 70% to 95% (Fig. 1d), the area share of the auxiliary wall material in the statistical elevation (Ay) was distributed in the range of 1% to 20% (Fig. 1e), and the area share of the wall base material in the statistical elevation (B) was distributed in the range of 2% to 20% (Fig. 1f). Figure 1f).

Most of the wood-based façades do not have wall foundations, but have pedestals. Statistical analysis shows that the area share of wood, the main material that makes up the wall, in the statistical façade (Ay-Max) is distributed in the range of 80% to 95% (Fig. 1g), and the area share of pedestal material in the statistical façade (D) is distributed in the range of 8% to 15% (Fig. 1h). (Figure 1h).

Figure 1.

The positive and lateral elevation analysis of brick material

In summary, it can be concluded that the material measurement scale of each level of materials in each wall main material façade in the village of Shungshi can be derived to show the range of values of materials used in the traditional architecture of Shungshi settlement and objectively express the characteristics of materials used in the façade of the building.

Quantitative Analysis of Color Landscape Characteristics of Historic Village Buildings

The village environment base color and historical and humanistic color of the main representative object of the main color of the objective status quo characteristics of the collection and analysis, combined with the Chinese architectural standard color card and its electronic software, digital camera photographs and PS software on the collection of color calibration, to determine the color of the basic attributes of the HV / C value, through the analysis of the color composition of the village color landscape obtained, the village village of the overall landscape color composition distribution, as shown in Figure 2 shown, and the analysis of architectural color sampling is shown in Table 3.

Figure 2.

Village color composition

Sampling analysis of architecture color

Number Color information Sequency
1 HTML: #EB0007,Tone: 254,Saturation degree: 255,brightness: 118 R,G,B: 235,0,7 19
2 HTML: #E78D0F,Tone: 25,Saturation degree: 224,brightness: 123 R,G,B:231, 141,15 24
3 HTML: #F8FC37,Tone: 43,Saturation degree: 247,brightness: 154 R,G,B: 248, 252, 55 13
4 HTML: #98BB2A,Tone: 53,Saturation degree: 161,brightness: 114 R,G,B: 152, 187, 42 15
5 HTML: #024707,Tone: 88,Saturation degree: 241,brightness: 37 R,G,B: 2, 71, 7 16
6 HTML: #025282,Tone: 143,Saturation degree: 247,brightness: 66 R,G,B: 2, 82, 130 32
7 HTML: #0058BE,Tone: 150,Saturation degree: 255,brightness: 95 R,G,B: 0, 88, 190 22
8 HTML: #020182,Tone: 170,Saturation degree: 251,brightness: 66 R,G,B: 2, 1, 130 10
9 HTML: #810259,Tone: 226,Saturation degree: 247,brightness: 66 R,G,B: 129, 2, 89 7
10 HTML: #C30458,Tone: 236,Saturation degree: 245,brightness: 99 R,G,B: 195, 4, 88 8
Traditional residential colors

The existing traditional houses in this village are mainly built with traditional building materials, and the chosen materials are mainly red bricks, granite stones, and red tiles. The colors of these traditional materials themselves make the traditional houses form a unique color style. The color analysis of the traditional residential buildings, the analysis results are shown in Figure 3.

Figure 3.

Distribution of traditional residential houses color composition

The roofs and red tiles are mainly in the range of R (red) and YR (yellow-red) hues, which are warm and can bring a warm feeling, and the walls are mainly N (no color), Y (yellow) and GY (yellow-green), which are inclined to warm tones, and the overall landscape has fewer kinds of colors, with a simpler match. The brightness and color values of all the colors are in the middle and low grades, giving people a subtle and calm feeling.

Color of religious buildings

The village is a traditional village with comprehensive beliefs in Buddhism, Taoism, and folk beliefs, etc. There are more than ten temples in the village, as well as a number of ancestral halls and ancestral house buildings with different family names. Most of the temple buildings with color is relatively bold, gorgeous and rich, with white stone wainscoting, wall plugs, counter feet, etc., with red bricks into the body of the building walls, with white or green stone carved into the bar Hoven windows, chi dragon windows, etc., the roof with brick-red tiles, the roof, the walls, porches and other places there are a number of painted decorations, colorful and gorgeous, the overall building in red is the most eye-catching. Ancestral buildings are similar to traditional residential buildings, compared to residential buildings, they are larger in volume and more opulent in color, focusing on the ridge decoration and stone and brick carvings on the walls, with red and off-white as the main colors.

Quantitative analysis of religious building colors, the results are shown in Figure 4. Red bricks and red tiles are mainly R (red phase, a warm color system, the temple’s green stone carving columns are B (blue), BG (purple-blue phase, a cold color system, the contrast between cold and warm, especially eye-catching. White stone carvings, granite oyster shells are mainly N (no color), G (yellow-green), Y (yellow) color phase, architectural color decoration is very rich in color. Brightness, basically belongs to the range of medium brightness, R (red) color value is concentrated in the medium color level, the rest of the color phase are low color ridge of the decorative color color and brightness is higher to play a certain role in the embellishment.

Figure 4.

Distribution of traditional residential houses color composition

Conclusion

This study proposes a computer vision-based feature extraction and conservation method for historical buildings, using a drone to collect basic data of historical buildings and establish 3D models, followed by the extraction of structural features and color features of the buildings. The method of this paper is applied to extract historical buildings from a traditional village in northern Guangdong. The axes of the vast majority of the clanhouse buildings remain intact, with a larger proportion of southwest-oriented clanhouses. Raised beam structures are prevalent in buildings with patios, and 95.1% of ancestral halls are integrated structures. The historical buildings in this village are mainly made of brick and wood, and the color characteristics of the roofs and walls of the traditional houses are in warm tones, while the ancestral halls show contrasting characteristics of cold and warm tones. It can be seen that this paper realizes the extraction of the characteristics of structure, material and color of the historical buildings of the selected traditional villages through computer technology, which provides data support for the conservation of historical buildings.