Integrating Computer Vision and GIS for Large-Scale Morphological Mapping and Driving Force Analysis of Vernacular Courtyard Dwellings
Abstract
1. Introduction
1.1. Vernacular Architecture and Courtyard Dwellings
1.2. Traditional Research Paradigms and Their Limitations
1.3. Application of Artificial Intelligence in Vernacular Architecture Studies
1.4. Research Objectives
- (1)
- To develop an automated identification and feature extraction model. Construct and train a deep learning model adapted to the rural environment of southern Hebei, enabling the automatic detection and contour segmentation of Liangshuaixiu dwelling spaces from satellite imagery, and the batch extraction of core morphological parameters, with a focus on courtyard area and primary orientation angle.
- (2)
- To reveal the spatial distribution patterns of courtyard morphology. Based on the extracted regional-scale dataset of courtyard features, employ spatial statistical methods to systematically delineate the spatial distribution patterns of courtyard area and orientation in southern Hebei. This involves identifying spatial clusters, transitional zones, and anomalies to explore underlying regional differentiation patterns.
- (3)
- To investigate the influence mechanisms of physical geographical factors. Spatially overlay the courtyard morphology dataset with natural environmental variables and conduct correlation analysis. Utilize models such as geographically weighted regression (GWR) to quantitatively identify and assess the degree of influence and spatial heterogeneity of different physical geographical factors on courtyard spatial morphology (particularly area and orientation), explaining the causes of morphological variations from a human–environment interaction perspective.
2. Materials and Methods
2.1. Geographical Context and Target Subjects
2.2. Satellite Imagery Collection
2.3. Computer Vision Technology
2.4. Calculation of Courtyard Spatial Morphological Parameters
2.4.1. Courtyard Area Calculation
- (1)
- Area conversion and calibration
- (2)
- Village-scale average courtyard area
- (3)
- Village-scale measure of courtyard area consistency
2.4.2. Courtyard Orientation Calculation
- (1)
- Calculation of individual courtyard orientation angle
- (2)
- Village-scale overall orientation calculation
- (3)
- Village-scale measure of orientation consistency
2.5. GIS Analysis and Geographic Detector
3. Results
3.1. Recognition Accuracy and Data Calibration
3.2. Morphology and Distribution Characteristics of Courtyards
3.3. Exploration of Influencing Mechanisms for Courtyard Morphology
4. Discussion
4.1. Computer Vision for Vernacular Architecture
4.2. Factors Influencing Vernacular Architectural Morphology
- (1)
- Natural factors as the dominant baseline
- (2)
- The primacy of interactions
- (3)
- Socioeconomic factors as amplifiers and modulators
4.3. Originality of the Research
- (1)
- Methodological innovation in architectural analysis
- (2)
- Paradigm shift from typological case studies to empirical census
- (3)
- Quantitative elucidation of human–environment interaction mechanisms
4.4. Limitations and Future Work
5. Conclusions
- (1)
- Methodological validation: The HRNetV2-based pipeline proved effective for the automated, large-scale identification and morphological parameter extraction of vernacular courtyards, achieving an accuracy suitable for regional analysis and providing a scalable digital survey tool.
- (2)
- Spatial patterns quantified: The research systematically quantified the spatial distribution of courtyard area and orientation, revealing clear spatial autocorrelation, west–east gradients in size, and complex, non-linear patterns in orientation diversity and variability.
- (3)
- Driving mechanisms decoded: The analysis demonstrated that courtyard morphology is not determined by single factors but emerges from a complex interplay. While natural climatic and topographic factors set the foundational constraints, the observed spatial patterns–particularly regarding diversity and internal variation–are predominantly driven by nonlinear interactions between these environmental factors and human socio-economic activities. This underscores vernacular architecture as a dynamic, coupled human-environment system.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Zerari, S.; Cirafici, A.; Sriti, L. Issues in the Expression of Local Identity in the Saharan Regions of Algeria: In Search of References to Vernacular Architecture. Conserv. Sci. Cult. Herit. 2022, 22, 181–206. [Google Scholar]
- Chohan, A.H.; Awad, J.; Ismail, M.A.; Arar, M.S. Integrating Technology and Heritage Design for Climate Resilient Courtyard House in Arid Region. Civ. Eng. J.-Tehran 2024, 10, 928–952. [Google Scholar] [CrossRef]
- Moscoso-Garcia, P.; Quesada-Molina, F. Analysis of Passive Strategies in Traditional Vernacular Architecture. Buildings 2023, 13, 1984. [Google Scholar] [CrossRef]
- Philokyprou, M.; Michael, A. Environmental Sustainability in the Conservation of Vernacular Architecture. The Case of Rural and Urban Traditional Settlements in Cyprus. Int. J. Archit. Herit. 2021, 15, 1741–1763. [Google Scholar] [CrossRef]
- Su, Y.W.; Li, M.; Cheng, M.S.; Qiang, M.L.; Zhou, X.B. A Study on the Architectural Form and Characteristics of Tusi Manors in the Yunnan-Tibet Region. Buildings 2025, 15, 1134. [Google Scholar] [CrossRef]
- Sharami, H.J.; Hosseini, S.J. Theoretical framework of the Isfahani style: Inspiring sustainable aspects of a vernacular urban development. Front. Archit. Res. 2024, 13, 349–369. [Google Scholar] [CrossRef]
- Sara, F.; Chaymae, B.; Hicham, M.; Sanae, A. Intermediate spaces in Moroccan vernacular architecture: Climatic and cultural challenges. In Proceedings of the 2024 International Colloquium on Vernacular Architecture, a Support for Territorial Development, Rabat, Morocco, 4–5 October 2024; pp. 69–80. [Google Scholar]
- Shahamat, H. Formal sustainability in Iran’s arid regions: Optimizing thermal performance through vernacular bioclimatic strategies. Archit. Sci. Rev. 2025, 1–18. [Google Scholar] [CrossRef]
- Yang, Q.X.; Lu, W.Z.; Xu, F.; Luo, X.H.; Wen, B.H. A passive strategy for energy-saving retrofitting of courtyard dwellings and its climatic adaptability. Energy Build. 2026, 352, 116811. [Google Scholar] [CrossRef]
- He, M.T.; Li, L.X.; Tao, S.M. Sustainable Design Methods Translated from the Thermodynamic Theory of Vernacular Architecture: Atrium Prototypes. Buildings 2024, 14, 3142. [Google Scholar] [CrossRef]
- Yang, C.; Misni, A. Analysis of Thermal Comfort in Single-Story Courtyard Vernacular Dwellings in Rural China: Passive Design Strategies for Adapting to the Climate. Buildings 2025, 15, 3964. [Google Scholar] [CrossRef]
- Wang, Y.Y.; Agkathidis, A.; Crompton, A. Parametrising historical Chinese courtyard-dwellings: An algorithmic design framework for the digital representation of Siheyuan iterations based on traditional design principles. Front. Archit. Res. 2020, 9, 751–773. [Google Scholar] [CrossRef]
- Rong, W.H.; Bahauddin, A. Heritage and Rehabilitation Strategies for Confucian Courtyard Architecture: A Case Study in Liaocheng, China. Buildings 2023, 13, 599. [Google Scholar] [CrossRef]
- Xu, F.; Bai, Y.; Wen, B.; Xie, W.; Huang, L.; Ou, Y.; Luo, X.; Yang, Q. Contemporary evolution of Tibetan-style dwellings under urbanization: A case study of the Shannan city. J. Asian Archit. Build. Eng. 2025, 1–18. [Google Scholar] [CrossRef]
- FLinas, A.; Chithra, K. Exploring Vernacular Architecture: Unravelling Characteristics and Typologies Through Expert Survey. Scires-It-Sci. Res. Inf. Technol. 2024, 14, 97–110. [Google Scholar]
- Dang, X.; Hong, Q.; Liu, W.; Wang, Y. China’s heritage governance blueprint: Revisiting evolutionary trajectories, reframing institutional priorities and mapping the national registry. Habitat Int. 2025, 165, 103541. [Google Scholar] [CrossRef]
- Salameh, M.; Touqan, B. From Heritage to Sustainability: The Future of the Past in the Hot Arid Climate of the UAE. Buildings 2023, 13, 418. [Google Scholar] [CrossRef]
- Gamage, W.; Lau, S.; Qin, H.; Gou, Z.H. Effectiveness of air-well type courtyards on moderating thermal environments in tropical Chinese Shophouse. Archit. Sci. Rev. 2017, 60, 493–506. [Google Scholar] [CrossRef]
- Li, Z.X.; Cao, X.; Wang, L. From Vernacular Syntax to Algorithmic Regenerative Design: Semiotic Decoding and Encoding of Kashgar’s Earthen Dwellings. Space Cult. 2025, 12063312251371878. [Google Scholar] [CrossRef]
- Wang, L.; Yang, D.Y.; Yang, Y.N.; Cui, Y.L.; Pan, H.S. Vernacular Wisdom in Hani Ethnic Courtyard Houses: Architectural Heritage and Construction Systems in the Samaba Terraced Landscape. Buildings 2025, 15, 3710. [Google Scholar] [CrossRef]
- Shetty, S.S.; Patil, S. Vernacular Architecture and Indoor Environmental Satisfaction: A Systematic Review of Influencing Factors. Architecture 2025, 5, 87. [Google Scholar] [CrossRef]
- Feng, H.C.; Xiao, J.L. Dynamic Authenticity: Understanding and Conserving Mosuo Dwellings in China in Transitions. Sustainability 2021, 13, 143. [Google Scholar] [CrossRef]
- Yang, M.J.; Gao, B.; Li, R.W. Spatial Evolution of Narrow-Courtyard Dwellings in Guanzhong Rural Areas of Shaanxi, China, from 1949 to the Present. Buildings 2025, 15, 4533. [Google Scholar] [CrossRef]
- Mekki, S.; Arigue, B.; Santi, G.; Sriti, L.; Pace, V.; Leporelli, E. Tracing the Morphogenesis and Formal Diffusion of Vernacular Mosques: A Typo-Morphological Study of Djebel Amour, Algeria. Buildings 2025, 15, 4277. [Google Scholar] [CrossRef]
- Kamelnia, H.; Hanachi, P.; Moayedi, M. Exploring the spatial structure of Toon historical town courtyard houses: Topological characteristics of the courtyard based on a configuration approach. J. Cult. Herit. Manag. Sustain. Dev. 2022, 14, 981–997. [Google Scholar] [CrossRef]
- Wu, L.Y.; Zhan, Q.C.; Li, Y.J. Three-Tiered Defensive System and Ethnic Fusion: A Study of Architectural Art in Guomari Fortress, Eastern Qinghai. Buildings 2025, 15, 2218. [Google Scholar] [CrossRef]
- Gao, J.N.; Shi, Y.; Cai, Y. Research on the Application of Uav Oblique Photogrammetry to Lilong Housing: Taking Meilan Lane as an Example. In Proceedings of the 29th CIPA Symposium on Documenting, Understanding, Preserving Cultural Heritage—Humanities and Digital Technologies for Shaping the Future, Florence, Italy, 25–30 June 2023; pp. 629–635. [Google Scholar]
- Huang, H.; Xie, Y.-Q.; Chen, J.-J.; Liang, S.; Chen, Z.-J. Bioclimatic design strategy of vernacular architecture in the south-east of China: A case study in Fujian, China. Int. J. Low-Carbon Technol. 2024, 19, 1–17. [Google Scholar] [CrossRef]
- Liang, L.H.; Wen, B.H.; Xu, F.; Yang, Q.X. From Poor Buildings to High Performance Buildings: The Spontaneous Green Evolution of Vernacular Architecture. Appl. Sci. 2023, 13, 10162. [Google Scholar] [CrossRef]
- Yazdi, H.; Vukorep, I.; Banach, M.; Moazen, S.; Nadolny, A.; Starke, R.; Bazazzadeh, H. Central Courtyard Feature Extraction in Remote Sensing Aerial Images Using Deep Learning: A Case-Study of Iran. Remote Sens. 2021, 13, 4843. [Google Scholar] [CrossRef]
- Spennemann, D.H.R. Generative Artificial Intelligence, Human Agency and the Future of Cultural Heritage. Heritage 2024, 7, 3597–3609. [Google Scholar] [CrossRef]
- Wang, H.M.; Gong, Y.K.; Zhang, Y.G.; Li, F. Artificial Intelligence for Sustainable Cultural Heritage: Practical Guidelines and Case-Based Evidence. Sustainability 2025, 17, 9192. [Google Scholar] [CrossRef]
- Peng, Z.R.; Lu, K.F.; Liu, Y.H.; Zhai, W. The Pathway of Urban Planning AI: From Planning Support to Plan-Making. J. Plan. Educ. Res. 2024, 44, 2263–2279. [Google Scholar] [CrossRef]
- Kamrowska-Zaluska, D. Impact of AI-Based Tools and Urban Big Data Analytics on the Design and Planning of Cities. Land 2021, 10, 1209. [Google Scholar] [CrossRef]
- Labib, R.; Nagy, Z. The Future of Artificial Intelligence in Buildings. Ashrae J. 2023, 65. [Google Scholar]
- Li, Y.L.X.; Chen, H.S.; Yu, P.J.; Yang, L. A Review of Artificial Intelligence Applications in Architectural Design: Energy-Saving Renovations and Adaptive Building Envelopes. Energies 2025, 18, 918. [Google Scholar] [CrossRef]
- Zhang, S.F.; Li, M.M.; Zhao, W.F.; Wang, X.Q.; Wu, Q.Y. Building Type Classification Using CNN-Transformer Cross-Encoder Adaptive Learning from Very High Resolution Satellite Images. IEEE J. Sel. Top. Appl. Earth Obs. Remote Sens. 2025, 18, 976–994. [Google Scholar] [CrossRef]
- Wang, Y.J.; Li, S.C.; Teng, F.; Lin, Y.H.; Wang, M.J.; Cai, H.F. Improved Mask R-CNN for Rural Building Roof Type Recognition from UAV High-Resolution Images: A Case Study in Hunan Province, China. Remote Sens. 2022, 14, 265. [Google Scholar] [CrossRef]
- Li, M.H.; Yu, Y.; Wei, H.N.; Chan, T.O. Classification of the qilou (arcade building) using a robust image processing framework based on the Faster R-CNN with ResNet50. J. Asian Archit. Build. Eng. 2024, 23, 595–612. [Google Scholar] [CrossRef]
- Wang, C.C.; Liu, H.H.; Pei, S.C.; Liu, K.H.; Liu, T.J. Modern Architecture Style Transfer for Ruin Buildings. In Proceedings of the 1st IEEE International Conference on Artificial Intelligence Circuits and Systems (AICAS), Hsinchu, Taiwan, 18–20 March 2019; pp. 293–294. [Google Scholar]
- Hu, H.; Liang, X.R.; Ding, Y.L.; Shang, Q.S.; Xu, B.; Ge, X.M.; Chen, M.; Zhong, R.F.; Zhu, Q. Semi-supervised adversarial recognition of refined window structures for inverse procedural facade modelling. ISPRS J. Photogramm. Remote Sens. 2022, 192, 215–231. [Google Scholar] [CrossRef]
- Ottoni, A.L.C.; Ottoni, L.T.C. A deep learning approach for cultural heritage building classification using transfer learning and data augmentation. J. Cult. Herit. 2025, 74, 214–224. [Google Scholar] [CrossRef]
- Czerniawski, T.; Leite, F. Automated segmentation of RGB-D images into a comprehensive set of building components using deep learning. Adv. Eng. Inform. 2020, 45, 101131. [Google Scholar] [CrossRef]
- Wong, M.O.; Ying, H.Q.; Yin, M.T.; Yi, X.Y.; Xiao, L.Z.; Duan, W.L.; He, C.C.; Tang, L. Semantic 3D reconstruction-oriented image dataset for building component segmentation. Autom. Constr. 2024, 165, 105558. [Google Scholar] [CrossRef]
- Yazdi, H.; Berenji, S.S.; Ludwig, F.; Moazen, S. Deep Learning in Historical Architecture Remote Sensing: Automated Historical Courtyard House Recognition in Yazd, Iran. Heritage 2022, 5, 3066–3080. [Google Scholar] [CrossRef]
- Wen, B.H.; Yang, Q.X.; Peng, F.; Liang, L.H.; Wu, S.H.; Xu, F. Evolutionary mechanism of vernacular architecture in the context of urbanization: Evidence from southern Hebei, China. Habitat Int. 2023, 137, 102814. [Google Scholar] [CrossRef]
- Wen, B.H.; Peng, F.; Yang, Q.X.; Lu, T.; Bai, B.F.; Wu, S.A.; Xu, F. Monitoring the green evolution of vernacular buildings based on deep learning and multi-temporal remote sensing images. Build. Simul. 2023, 16, 151–168. [Google Scholar] [CrossRef]
- Liu, Q.B.; Shang, B. The Impact of Geomorphological Factors on the Distribution of Typical Dwellings in Northern China. Rev. Int. Contam. Ambient. 2019, 35, 177–188. [Google Scholar] [CrossRef]
- Wen, B.H.; Yang, Q.X.; Xu, F.; Zhou, J.; Zhang, R.P. Phenomenon of courtyards being roofed and its significance for building energy efficiency. Energy Build. 2023, 295, 113282. [Google Scholar] [CrossRef]
- Baohua, W.; Qingxin, Y.; Lihua, L.; Feng, X. Architect’s Intervention Approach to the Spontaneous Green Evolution of Vernacular Buildings. In Design for Climate Adaptation; Faircloth, B., Zari, M.P., Thomsen, M.R., Tamke, M., Eds.; Springer International Publishing: Cham, Switzerland, 2023; pp. 551–565. [Google Scholar]
- HChen, L.; Zhang, L.; Yu, Y.; Wu, C.D.; Hua, T.; Gao, C.L. Photovoltaic Power Station Identification Based on High-Resolution Network and Google Earth Engine: A Case Study of Qinghai Province, Northwest China. Remote Sens. 2025, 17, 3896. [Google Scholar]
- Sun, Q.R.; Wang, X.P. Improved ResUNet Method for Extracting Buildings from Remote Sensing Images. Laser Optoelectron. Prog. 2025, 62, 0828003. [Google Scholar]
- Zhang, M.; Li, Y.C.; Shen, W.F. Research on the analysis of three-dimensional spatial pattern based on multi-scale geographically weighted regression. In Proceedings of the 6th International Conference on Geoscience and Remote Sensing Mapping-GRSM, Qingdao, China, 25–27 October 2024. [Google Scholar]
- Alnaim, M.M. The typology of courtyard space in Najdi Architecture, Saudi Arabia: A response to human needs, culture, and the environment. J. Asian Archit. Build. Eng. 2024, 23, 91–110. [Google Scholar] [CrossRef]
- Biradar, V.K.; Mama, S. Vernacular Architecture: A Sustainable Approach. In Proceedings of the National Conference on Sustainable Built Environment, IIT Roorkee, Roorkee, India, 11–12 April 2015; pp. 125–137. [Google Scholar]
- Al-Mohannadi, A.; Furlan, R.; Major, M.D. A Cultural Heritage Framework for Preserving Qatari Vernacular Domestic Architecture. Sustainability 2020, 12, 7295. [Google Scholar] [CrossRef]
- Roesler, S. Cross-cultural thermal knowledge: The case of large-scale tobacco barns in Sumatra (Indonesia). In Proceedings of the 6th International Congress on Construction History (ICCH), Brussels, Belgium, 9–13 July 2018; pp. 257–262. [Google Scholar]
- Mohamadabadi, H.D.; Ghanbaran, A.H.; Dehghan, A.A. The study of air distribution quality in the summer section of Iranian dry climate houses equipped with wind tower. Sustain. Cities Soc. 2022, 86, 104095. [Google Scholar] [CrossRef]
- Wu, K.; Wang, H.W.; Liu, H.; Yin, M.; Xu, J.H.; Qiang, M.L.; Su, Y.W. A Study on the Inheritance and Differentiation of Spatial Forms of Vernacular Architecture in the Yunnan-Tibet Area. Buildings 2025, 15, 2087. [Google Scholar] [CrossRef]
- Eltrapolsi, A.; Mahmoud, K.; Altan, H. A Review of the Geometric Proportions of Shaping a Courtyard of Traditional Architecture in Relation to Human Scale, Tripoli, Libya. Heritage 2022, 5, 2282–2297. [Google Scholar] [CrossRef]
- Al-Mohannadi, A.S.; Furlan, R. The Spatiality of the Vernacular Courtyard House in the Arabian Gulf Region. Heritage 2025, 8, 268. [Google Scholar] [CrossRef]







| Dependent Variable | Rank | Main Driving Factor (Independent q-Value) | Key Interaction Pair (Interaction q-Value) | Interaction Type |
|---|---|---|---|---|
| Average courtyard area | 1 | X11 Air Pressure (0.563 ***) | X11 & X5 Distance to Water System (0.664) | Nonlinear Enhancement |
| 2 | X6 Wind Speed (0.546 ***) | X6 & X2 Aspect (0.628) | Nonlinear Enhancement | |
| 3 | X1 Elevation (0.522 ***) | X11 & X16 Resident Population (0.631) | Two-factor Enhancement | |
| Courtyard area standard deviation | 1 | X6 Wind Speed (0.137 ***) | X14 Population & X7 Min Temperature (0.347) | Nonlinear Enhancement |
| 2 | X1 Elevation (0.129 ***) | X6 Wind Speed & X10 Relative Humidity (0.349) | Nonlinear Enhancement | |
| 3 | X18 Cultivated Land Area (0.098 ***) | X1 Elevation & X14 Population (0.266) | Two-factor Enhancement | |
| Average courtyard orientation | 1 | X7 Min Temperature (0.197 ***) | X7 Min Temperature & X4 Distance to Roads (0.364) | Nonlinear Enhancement |
| 2 | X1 Elevation (0.180 ***) | X6 Wind Speed & X9 Max Temperature (0.404) | Nonlinear Enhancement | |
| 3 | X6 Wind Speed (0.177 ***) | X1 Elevation & X12 Precipitation (0.306) | Two-factor Enhancement | |
| Number of different angles | 1 | X1 Elevation (0.218 ***) | X15 Households & X9 Max Temperature (0.523) | Nonlinear Enhancement |
| 2 | X14 Population (0.206 ***) | X14 Population & X6 Wind Speed (0.507) | Nonlinear Enhancement | |
| 3 | X15 Households (0.201 ***) | X1 Elevation & X16 Resident Population (0.483) | Two-factor Enhancement | |
| Angle standard deviation | 1 | X6 Wind Speed (0.178 ***) | X6 Wind Speed & X2 Aspect (0.342) | Nonlinear Enhancement |
| 2 | X7 Min Temperature (0.166 ***) | X1 Elevation & X12 Precipitation (0.291) | Two-factor Enhancement | |
| 3 | X1 Elevation (0.149 ***) | X6 Wind Speed & X7 Min Temperature (0.314) | Two-factor Enhancement |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Liang, L.; Li, X.; Liu, S.; Guo, Z.; Tang, S.; Wen, B. Integrating Computer Vision and GIS for Large-Scale Morphological Mapping and Driving Force Analysis of Vernacular Courtyard Dwellings. Buildings 2026, 16, 1118. https://doi.org/10.3390/buildings16061118
Liang L, Li X, Liu S, Guo Z, Tang S, Wen B. Integrating Computer Vision and GIS for Large-Scale Morphological Mapping and Driving Force Analysis of Vernacular Courtyard Dwellings. Buildings. 2026; 16(6):1118. https://doi.org/10.3390/buildings16061118
Chicago/Turabian StyleLiang, Lihua, Xianda Li, Shutong Liu, Zhenhao Guo, Shuo Tang, and Baohua Wen. 2026. "Integrating Computer Vision and GIS for Large-Scale Morphological Mapping and Driving Force Analysis of Vernacular Courtyard Dwellings" Buildings 16, no. 6: 1118. https://doi.org/10.3390/buildings16061118
APA StyleLiang, L., Li, X., Liu, S., Guo, Z., Tang, S., & Wen, B. (2026). Integrating Computer Vision and GIS for Large-Scale Morphological Mapping and Driving Force Analysis of Vernacular Courtyard Dwellings. Buildings, 16(6), 1118. https://doi.org/10.3390/buildings16061118

