How to determine path from noisy X, Y data

后端 未结 10 1964
星月不相逢
星月不相逢 2021-02-08 21:54

I have an unsorted list of noisy X, Y points. They do, however, form a path through the world. I would like an algorithm to draw an approximation of this data using line segment

10条回答
  •  既然无缘
    2021-02-08 22:25

    Bezier Interpolation may fit your problem.

    Bezier Interpolation

    This does not address the ordering of the points into a path, however; there are a number of approaches to consider:

    • Any "optimal" type of path (e.g. smallest direction change at each point on the path, * Shortest path through all points) will likely boil down the NP complete Travelling Salesman Problem (TSP).
    • A "reasonable" path to cluster the nodes and then route between clusters, and within clusters. Of course, the larger the cluster, or the larger the number of clusters the more this smaller problem looks like a large n TSP.
    • Ordering the points by one axis. If there are much more than 2 axes, some dimensional reduction strategy may be useful. e.g. Independent Component Analysis.

提交回复
热议问题