Acta Geodaetica et Cartographica Sinica ›› 2023, Vol. 52 ›› Issue (12): 2197-2208.doi: 10.11947/j.AGCS.2023.20220539

• Cartography and Geoinformation • Previous Articles     Next Articles

A canonical time warping algorithm for building shape similarity measurement

LI Jingzhong1,2,3, MAO Kainan2,3   

  1. 1. Faculty Geomatics, Lanzhou Jiaotong University, Lanzhou 730070, China;
    2. School of Resource and Environmental Sciences, Wuhan University, Wuhan 430079, China;
    3. Key Laboratory of Urban Land Resources Monitoring and Simulation, Ministry of Natural Resources, Shenzhen 518000, China
  • Received:2022-09-19 Revised:2023-06-08 Published:2024-01-03
  • Supported by:
    The National Natural Science Foundation of China (Nos. 42271454;42001402);The Natural Science Foundation of Hubei Province (No. 2022CFB053);The Open Fund of Key Laboratory of Urban Land Resources Monitoring and Simulation,Ministry of Natural Resources (No. KF-2022-07-017);The Graduate Education Teaching Quality Improvement Project of Lanzhou Jiaotong University (No. JG202301);The Open Research Fund of Key Laboratory of Digital Earth Science, Chinese Academy of Sciences (No. 2022LDE004)

Abstract: This paper proposes a shape similarity measurement model based on canonical time warping (CTW) algorithm. The model combines canonical correlation analysis (CCA) and dynamic time warping (DTW) to align building coordinate sequences with different number of vertices, which can comprehensively evaluate the shape similarity between different shape contours. This method directly uses vector coordinates as model input without constructing complex shape coding and considers the original contour features of building shapes, which can be applied efficiently to shape retrieval and other scenarios. Experiments show that CTW algorithm is invariant to translation, rotation, scaling and mirroring when used to measure the similarity of geometric objects, and can effectively measure the shape similarity between building shapes. The results are consistent with human spatial visual cognition.

Key words: buildings, shape similarity, canonical time warping, spatial cognition

CLC Number: