Fit points to a plane algorithms, how to iterpret results?

后端 未结 2 1883
臣服心动
臣服心动 2020-12-31 16:57

Update: I have modified the Optimize and Eigen and Solve methods to reflect changes. All now return the \"same\" vector allowing for machine precision.

2条回答
  •  别那么骄傲
    2020-12-31 17:20

    The normal vector of the plane in Eigen solution is the eigenvector for smallest eigenvalue. Some Eigen implementations sort the eigenvalues and eigenvectors some others don't. So in some implementations it's sufficient to take first (or last) eigenvector for normal. In other implementations you have to sort them first. On the other hand the majority of SVD implementations provide sorted values so it's simple first (or last) vector.

提交回复
热议问题