简体   繁体   中英

How to make a curve line straight?

Just imagine that you have a curved line. How could you make it a straight line? Do you know any paper or algorithm that can help me out? I know that I one way of doing it is defining an energy function; but, I do not have any idea of what the criterion could be. My problem is not a simple curve, like a half circle. An example of the curve is attached. I do not think that projecting the points on the line on x- or y- axis would be a good option.

Thanks!

您实际使用的方法尚不完全清楚:如果您使用插值算法将离散数量的点与“曲线”相连,那么类似Ramer-Douglas-Peucker算法的方法可能会有用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM