Searched refs:eigen_vecs (Results 1 – 2 of 2) sorted by relevance
69 vector<Point2d> eigen_vecs(2); in getOrientation() local73 eigen_vecs[i] = Point2d(pca_analysis.eigenvectors.at<double>(i, 0), in getOrientation()83 …int p1 = cntr + 0.02 * Point(static_cast<int>(eigen_vecs[0].x * eigen_val[0]), static_cast<int>(ei… in getOrientation()84 …int p2 = cntr - 0.02 * Point(static_cast<int>(eigen_vecs[1].x * eigen_val[1]), static_cast<int>(ei… in getOrientation()88 double angle = atan2(eigen_vecs[0].y, eigen_vecs[0].x); // orientation in radians in getOrientation()
622 Mat eigen_vals, eigen_vecs; in waveCorrect() local623 eigen(moment, eigen_vals, eigen_vecs); in waveCorrect()627 rg1 = eigen_vecs.row(2).t(); in waveCorrect()629 rg1 = eigen_vecs.row(0).t(); in waveCorrect()