中文说明:程序先使用骨架提取函数对二维图片当中的骨架进行提取,提取完后,因为本身二维图像的区域属于对称区域,两边的区域存在中心位置,通过寻找骨架抽取后的轮廓中心来得出中心,并进行来连线,得出连线的中心。
English Description:
The program first uses the skeleton extraction function to extract the skeleton in the two-dimensional image. After extraction, because the region of the two-dimensional image belongs to the symmetrical region, there is a central position on both sides of the region. The center can be obtained by looking for the contour center after skeleton extraction, and the center can be obtained by connecting lines.