• Home
  • Raw
  • Download

Lines Matching refs:x1

111                                      const Eigen::Matrix<T, 2, 1> &x1,  in SymmetricGeometricDistanceTerms()  argument
116 Vec3 x(x1(0), x1(1), T(1.0)); in SymmetricGeometricDistanceTerms()
136 const Vec2 &x1, in SymmetricGeometricDistance() argument
140 x1, in SymmetricGeometricDistance()
198 const Mat &x1, in Homography2DFromCorrespondencesLinearEuc() argument
202 assert(2 == x1.rows()); in Homography2DFromCorrespondencesLinearEuc()
203 assert(4 <= x1.cols()); in Homography2DFromCorrespondencesLinearEuc()
204 assert(x1.rows() == x2.rows()); in Homography2DFromCorrespondencesLinearEuc()
205 assert(x1.cols() == x2.cols()); in Homography2DFromCorrespondencesLinearEuc()
207 int n = x1.cols(); in Homography2DFromCorrespondencesLinearEuc()
212 L(j, 0) = x1(0, i); // a in Homography2DFromCorrespondencesLinearEuc()
213 L(j, 1) = x1(1, i); // b in Homography2DFromCorrespondencesLinearEuc()
215 L(j, 6) = -x2(0, i) * x1(0, i); // g in Homography2DFromCorrespondencesLinearEuc()
216 L(j, 7) = -x2(0, i) * x1(1, i); // h in Homography2DFromCorrespondencesLinearEuc()
220 L(j, 3) = x1(0, i); // d in Homography2DFromCorrespondencesLinearEuc()
221 L(j, 4) = x1(1, i); // e in Homography2DFromCorrespondencesLinearEuc()
223 L(j, 6) = -x2(1, i) * x1(0, i); // g in Homography2DFromCorrespondencesLinearEuc()
224 L(j, 7) = -x2(1, i) * x1(1, i); // h in Homography2DFromCorrespondencesLinearEuc()
230 L(j, 0) = x2(1, i) * x1(0, i); // a in Homography2DFromCorrespondencesLinearEuc()
231 L(j, 1) = x2(1, i) * x1(1, i); // b in Homography2DFromCorrespondencesLinearEuc()
233 L(j, 3) = -x2(0, i) * x1(0, i); // d in Homography2DFromCorrespondencesLinearEuc()
234 L(j, 4) = -x2(0, i) * x1(1, i); // e in Homography2DFromCorrespondencesLinearEuc()
281 TerminationCheckingCallback(const Mat &x1, const Mat &x2, in TerminationCheckingCallback() argument
284 : options_(options), x1_(x1), x2_(x2), H_(H) {} in TerminationCheckingCallback()
317 const Mat &x1, in EstimateHomography2DFromCorrespondences() argument
321 assert(2 == x1.rows()); in EstimateHomography2DFromCorrespondences()
322 assert(4 <= x1.cols()); in EstimateHomography2DFromCorrespondences()
323 assert(x1.rows() == x2.rows()); in EstimateHomography2DFromCorrespondences()
324 assert(x1.cols() == x2.cols()); in EstimateHomography2DFromCorrespondences()
328 Homography2DFromCorrespondencesLinearEuc(x1, in EstimateHomography2DFromCorrespondences()
337 for (int i = 0; i < x1.cols(); i++) { in EstimateHomography2DFromCorrespondences()
340 new HomographySymmetricGeometricCostFunctor(x1.col(i), in EstimateHomography2DFromCorrespondences()
359 TerminationCheckingCallback callback(x1, x2, options, H); in EstimateHomography2DFromCorrespondences()
377 Mat x1(2, 100); in main() local
378 for (int i = 0; i < x1.cols(); ++i) { in main()
379 x1(0, i) = rand() % 1024; in main()
380 x1(1, i) = rand() % 1024; in main()
389 Mat x2 = x1; in main()
391 Vec3 homogenous_x1 = Vec3(x1(0, i), x1(1, i), 1.0); in main()
405 EstimateHomography2DFromCorrespondences(x1, x2, options, &estimated_matrix); in main()