- P1:=[2196,1689]
- P2 :=[2177,3693]
- Line1:=[2196,1689,2177,3693]
- gen_region_line (RegionLines1, Line1[0],Line1[1],Line1[2],Line1[3])
- skeleton (RegionLines1, Skeleton)
- *junctions_skeleton (RegionLines1, EndPoints, JuncPoints) 一样效果
- junctions_skeleton (Skeleton, EndPoints, JuncPoints)
- get_region_points (EndPoints, Rows1, Columns1)
复制代码 结果 P1:=[2177,3693]、P2 :=[2196,1689]
最后结果与Line1 坐标头尾相反,有没有大佬解决一下
|