Home
last modified time | relevance | path

Searched refs:eigen_vecs (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/ml/introduction_to_pca/
Dintroduction_to_pca.cpp69 vector<Point2d> eigen_vecs(2); in getOrientation() local
73 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()
/external/opencv3/modules/stitching/src/
Dmotion_estimators.cpp622 Mat eigen_vals, eigen_vecs; in waveCorrect() local
623 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()