Plane fit of 3D points with Singular Value Decomposition

岁酱吖の 提交于 2019-12-04 21:41:46

In the wiki article you can read that it is the right singular vector that minimizes the "orthogonal". So I guess you do not want to transpose and use v[2] instead of u[2]; works for me. Note, that using the second, i.e. last element relies on the fact that numpy (LAPACK) returns the singular values in descending order.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!