YAN Haowen, YANG Weifang, LU Xiaomin, ZHU Tianshu, MA Ben, YIN Shuoshuo
Calculation of shape similarity between curves is one of the most fundamental and theoretical problems in cartography, graphics, and geometry. Although existing machine learning methods can be used to calculate curve shape similarity, they often rely on extensive sets of sample curves, leading to a low efficiency. To address this issue, this paper proposes a method for directly calculating shape similarity between simple curves. First, two curves are moved, rotated, and scaled to obtain the optimal position where the mean distance between the two curves is the least. Second, the two curves are divided into a number of subsections based on their intersections of the curves. Third, the shape similarity within each subsection (i.e., two sub-curves) is calculated by the principle of proximity in Gestalt. Finally, the shape similarity of the two curves can be obtained by calculating the weighted shape similarity of all subsections. The proposed method is validated through the psychological experiments, and the results show that the calculated shape similarity aligns with human spatial cognition, indicating its practical applicability in specific scenarios. Moreover, the proposed method not only directly calculates curve shape similarity but also eliminates the reliance on a large number of curve samples, resulting in increased computational efficiency. The method presented in this paper provides a more efficient and direct tool for calculating curve shape similarity and holds promise for applications in various fields such as cartography, graphics, and geometry.