Automated Identification and Numbering of Brick in Orthoimages of Ancient City Walls with Settlement
In the maintenance of ancient city walls, segmenting bricks and identifying their row and column positions can help record and track the development trends of defects, while also providing significant potential support for updating data in building information modeling (BIM)-based digital management systems. Traditional image processing faces challenges with misaligned bricks and complex surface textures. Deep learning algorithms can segment each brick accurately, but the results require further sorting due to their unordered nature. Additionally, settlement causes changes in the positions of bricks, making it challenging to automatically determine the brick layer. This paper proposes a pipeline that combines the YOLOv8 object detection algorithm with the unsupervised clustering technique DBSCAN to achieve continuous brick numbering in city wall orthoimages. Initially, a large orthoimage is divided into smaller sections using a sliding window. In each section, YOLOv8 accurately detects brick positions, while DBSCAN efficiently handles the disorder in the detection results. The sliding window technique helps overcome clustering failures caused by settlement, and the results are effectively filtered and integrated. The proposed method was tested on a section of the Forbidden City’s city wall with uneven settlement, which is over 3 m high and more than 30 m long. The results demonstrate that the method can automatically recognize and number the bricks correctly. Furthermore, experimental validation on a section of the Xi’an Hanguang Gate, with no additional training, confirmed the model’s generalization ability. The method automatically calculates the clustering radius, enabling accurate clustering of rows and columns of bricks, followed by correct integration of the numbering, further validating the effectiveness of the proposed approach.
Authors
- Peng Zhao (ORCID: https://orcid.org/0000-0001-7942-388X)
- Zheng Zou (ORCID: https://orcid.org/0000-0001-9508-2368)
- Xuefeng Zhao (ORCID: https://orcid.org/0000-0002-1704-4021)
- Fei Qi (ORCID: https://orcid.org/0000-0003-3638-714X)
- Yaqi Jie
- Jiaqi Li (ORCID: https://orcid.org/0009-0000-9552-1244)
Institutions
- University of Science and Technology Liaoning (CN)
- Dalian University of Technology (CN)
- Palace Museum (CN)
- Dalian Maritime University (CN)
Publication Details
- Journal
- Journal of Computing in Civil Engineering
- Published
- 2025-06-28
- DOI
- https://doi.org/10.1061/jccee5.cpeng-6672
- Primary Topic
- Infrastructure Maintenance and Monitoring
- Type
- article
- Field-Weighted Citation Impact
- 0.00