2.1. Study Area
Putian city, Fujian Province is located on the southeast coast of China and is an important area along the world’s Maritime Silk Road, with rich architectural and cultural heritage. Putian Yuanxiang has a strong clan culture, prosperous maritime trade, and frequent cultural exchanges between China and the West. Therefore, in Fujian Putian can be seen everywhere in different styles of traditional Chinese architecture and Western-style buildings, and most of them are concentrated in the local historic district. In 2022 Putian City has completed the late assessment of the declaration of China’s National Historical and Cultural City, is constantly promoting the renewal of historical and cultural districts to create architectural forms rich in Putian style.
Putian-style architecture, as a branch of Minnan architectural style, is also an important addition to the Chinese regional architectural system. Its stylistic features are compatible with the characteristics of traditional architecture in Quanzhou, which focuses on external decoration, and contains the grandeur and majesty of official mansions in Fuzhou, on the basis of which it has formed its own unique architectural personality. Due to the large number of overseas Chinese from Putian to overseas, they will also bring the architectural style of their hometown to foreign countries, becoming a local Chinese businessmen overseas Chinese spiritual trust in their homes. Putian style architecture also broke through the limitations of the region to a larger stage. At the same time, it can be seen that most of the Putian-style buildings use a combination of brick and wood, the use of local materials and fit the natural aesthetic, to adapt to the contemporary requirements of sustainable development of architecture.Due to the rough, large-scale urban construction in the early days, the place we live in has gradually become a reinforced concrete arena, with thousands of cities and no characteristics. As a special area of urban cultural value, historic districts carry non-renewable historical information and will also face the most severe challenge of urban renewal. How to organize the urban context and transform the current style of the historic district has always been the focus of attention from all walks of life. Fujian Putian has recently insisted on the combination of protection and utilization through continuous investment, revitalization of the functions of historical districts, repair of historical buildings, and renovation of street facades to improve the quality of historical districts. The related enthusiasm for conservation renovation has swept through all of Putian and even the entire Fujian Province, while also playing out in other Chinese provinces and cities. By 2022, the number of historical and cultural districts in the country will exceed 1200 [
1]. It is foreseeable that this will become a huge market in urban renewal.
Putian Luomutian Historical and Cultural District (hereinafter referred to as “Luomutian”) and Xinghuafu Historical and Cultural District (hereinafter referred to as “Xinghuafu”) are two representative provincial-level protected historical districts in Fujian Province (
Figure 2). From the perspective of the main street interface, the downstairs section of Luomutian and Xinghuafu retains more original buildings but looks dilapidated due to time. The two districts present a facade style form rich in local characteristics in terms of shape, material and spatial scale., but at the same time, they both face the problem of decoration and transformation of the district facade.
The facade decoration directly affects the external representation and cultural shaping of the district style and is the starting point and focus of the historical district renovation project. At present, the common ways to transform the facades of historic districts include the following: demolition of buildings that conflict with the historical features; downgrading of large high-rise buildings; and stylized micro-renovation of existing buildings. The former two are more difficult to implement due to large investments and the difficulty of unifying public opinions. The stylized micro-renovation has little intervention in the status quo, less investment, and good results, and has become the main way to transform the style of the current neighborhood. Therefore, as early as 2014 and 2017, the official organization organized a general survey and identification of the architectural style elements of the two districts of Luomutian and Xinghuafu to evaluate and determine the style to be adopted for micro-renovation. However, it was difficult for the huge data collection and subjective style definition to be effectively promoted and recognized by relevant units for a while, and the project was repeatedly shelved. Situations like this generally exist in the case of historical district renovation, and some relevant planning texts even directly apply the styles of other places, which will cause irreversible mistakes and cultural value loss to urban renewal.
2.2. Methodology
This study aims to explore the application of conditional generative adversarial networks in the stylization of facade decoration of historic buildings and takes Putian, Fujian, as an example to conduct empirical research. On the one hand, this study adopts CGAN technology to identify and generate the decorative style of historical districts through image generation, style transfer, and other work, and to provide scheme design. On the other hand, this study also explores the adaptability of CGAN technology in historical district reconstruction, facade renovation, and renovation design projects, providing a better auxiliary basis. Especially for districts with obvious decorative styles, the visualization effect is better. At the same time, this study also provides a certain reference significance through the determination and design of the facade decoration style of a specific historical building. Therefore, this study has important practical value for enhancing practitioners’ stylized control of the heritage environment and improving the efficiency and ability of professional design.
The research method based on CGAN consists of five steps: data acquisition, data processing, model training, model evaluation, and model application (
Figure 3). The specific method is as follows:
(1) Data collection.The object of this study is the image data of building facades in the Putian Historic District, Fujian Province. Through several field investigations and interviews with villagers, the researchers learned that the traditional wooden building facades in this area are the characteristic architectural features of this area. The materials and craftsmanship of the doors, windows, and walls of its building facades have unique local characteristics. However, at present, various architectural styles of wooden buildings and modern buildings are mixed together, failing to form a unified district style, and the status quo of district facades is relatively messy. Therefore, the researchers photographed and collected 109 traditional wooden building facades as samples for machine learning in the Putian historical district buildings in Fujian. These samples are representative buildings with historical authenticity and site memory that also have high historical and cultural value. The researchers took sample photos of these building facades to ensure the accuracy and completeness of the data and redrawn each sample as a facade rendering with a consistent color style, which will help improve the reliability of the research results and their practicality.
(2) Data processing. After data collection, the data needs to be preprocessed. First, clean and filter the data to remove noise and low-quality images to ensure the quality of the data. Secondly, label and classify the data, and classify the data according to the following three types of pictures:
1) Building Exterior Profile (BEP): It shows the outline of the building, including elements such as the facade and roof of the building;
2) Label images of facade functional elements (Facial Semantic Labeling, FSL): mark various functional elements in building facades, including doors, windows, walls, columns, railings, eaves, etc., as well as their positions and sizes;
3) The final effect of the building facade (Building Exterior, BE): present the final effect of the building facade, which can include elements such as color, texture, and details.Through this classification method, it can be prepared for the subsequent model training so that the model can more accurately analyze and identify the building facades of the historic district of Putian, Fujian.
(3) Model training. After the data processing is complete, it needs to be trained using a Conditional Generative Adversarial Network (CGAN) model. CGAN is a generative model that learns the mapping between input images and target styles during training. In this study, the researchers will use the CGAN model to generate images of historic building facades with a specific decorative style. Since the building facade contains many elements, the number of samples is limited. Therefore, in order to further improve the accuracy of the model, the task of building facade generation is split into two parts during the training process. That is, the generation from BEP to FSL and the generation from FSL to BE, and two models are trained for these two parts. This way of splitting tasks helps to improve the accuracy and stability of the CGAN model, and increases the controllability of fine-tuning. During the training process, we also need to choose an appropriate loss function and optimizer to improve the accuracy and stability of the model.
(4) Model evaluation. In order to evaluate the performance of the trained CGAN model, a model evaluation is required. Commonly used evaluation methods include looking at the LOSS value in the training log and looking at the test pictures of each generation in the model iteration. The combination of these two methods can have a basic impact on the accuracy of the model. If there are some problems, such as the generated image not matching the target style, obvious distortions, etc., it can be adjusted and tested repeatedly by changing the loss function, increasing the training data, and adjusting the network structure. In addition, the performance and applicability of the model can be further improved by using methods such as human evaluation and user surveys to evaluate the model. The choice of evaluation method can be determined in combination with specific application scenarios and research purposes.
(5) Model application. Finally, the trained CGAN model is applied to the stylized design of building facade decoration in Putian Historic District, Fujian Province. Specific applications include the overall or partial scheme design of the facade, the determination and design of the facade decoration style of a single historical building, the auxiliary basis for reconstruction of historical districts, facade renovation and renovation design, and other projects. At the same time, this method can also be extended to other fields of historical heritage protection and restoration to improve the efficiency and capability of professional design.
2.3. Material Handling
The two historic districts of Luofutian and Xinghuafu in Putian, Fujian Province, selected in this study are the main gathering places of Fujian Minnan culture and overseas Chinese culture. Here is a collection of rich humanities, art, and architectural heritage, reflecting the strong regional characteristics of Puxian-style architecture. This study focuses on the facades of the main streets in the district. Hundreds of buildings are branded with the style of the times, and the old and new buildings are mixed. Among these buildings, 1-3-story buildings are the main ones, but there are also 4-5-story high-rise buildings due to poor protection in recent years, which affects the overall look and feel of the district, and the whole street is facing the upcoming urban transformation. Therefore, it is important to evaluate the decorative style characteristics of building facades in districts as soon as possible. The researchers selected well-preserved historical buildings in the district to ensure the quality and reliability of the image dataset. A total of 153 building facade images were taken, of which 44 samples were removed due to reasons such as building occlusion or inappropriate shooting angles. There are 109 samples left for the experiment.
As shown in
Figure 4, each experimental sample is divided into three types of pictures: BEP, FSL, and BE, and there are 109 pictures, respectively, totaling 327 pictures. These images have a uniform resolution of 512×512 pixels. According to the facade characteristics of different buildings, the researchers marked each image with different colors in the corresponding facade elements and functional segmentation diagrams. These markings include turquoise for doors (R93, G166, B149), blue for windows (R107, G157, B208), orange for guardrails (R238, G163, B36), and light red for walls (R230, G167, B188). The roof is tan (R188, G133, B43), and the columns are gray (R168, G149, B135). Each facade image contains some or all of these six types of elements, depending on the actual situation. These markers aid in machine training and recognition.