Compute the 'elbow' for a curve automatically and mathematically

前端 未结 4 1017
失恋的感觉
失恋的感觉 2020-12-23 12:10

One example for curve is shown as below. The elbow point might be x=3 or 4. How to compute the elbow for a curve automatically and mathematically?

4条回答
  •  别那么骄傲
    2020-12-23 12:36

    What you really want is the point with maximum curvature. When the slope is much smaller than 1, this can be approximated by the second derivative (as @ebo points out), but this is not always the case.

提交回复
热议问题