HomeSort by relevance Sort by last modified time
    Searched refs:Vec3d (Results 1 - 25 of 42) sorted by null

1 2

  /external/opencv3/modules/viz/test/
test_tutorial3.cpp 25 Affine3d transform = viz::makeTransformToGlobal(Vec3d(0.0, -1.0, 0.0), Vec3d(-1.0, 0.0, 0.0), Vec3d(0.0, 0.0, -1.0), cam_origin);
32 Affine3d cloud_pose = Affine3d().rotate(Vec3d(0.0, CV_PI/2, 0.0)).rotate(Vec3d(0.0, 0.0, CV_PI)).translate(Vec3d(0.0, 0.0, 3.0));
tests_simple.cpp 52 Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0));
70 Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0));
89 Affine3d pose = Affine3d().rotate(Vec3d(0, 0.8, 0));
103 ccol.addCloud(cloud, Color::white(), Affine3d().translate(Vec3d(0, 0, 0)).rotate(Vec3d(CV_PI/2, 0, 0)));
104 ccol.addCloud(cloud, Color::blue(), Affine3d().translate(Vec3d(1, 0, 0)));
105 ccol.addCloud(cloud, Color::red(), Affine3d().translate(Vec3d(2, 0, 0)));
123 viz.showWidget("cloud1", WPaintedCloud(cloud), Affine3d(Vec3d(0.0, -CV_PI/2, 0.0), Vec3d(-1.5, 0.0, 0.0)));
124 viz.showWidget("cloud2", WPaintedCloud(cloud, Vec3d(0.0, -0.75, -1.0), Vec3d(0.0, 0.75, 0.0)), Affine3d(Vec3d(0.0, CV_PI/2, 0.0), Vec3d(1.5, 0.0, 0.0) (…)
    [all...]
test_tutorial2.cpp 27 Vec3d rot_vec = Vec3d::all(0);
42 Affine3d pose(rot_vec, Vec3d(translation, translation, translation));
test_precomp.hpp 100 result.push_back(viz::makeCameraPose(Vec3d(x, y, z), Vec3d::all(0.0), Vec3d(0.0, 1.0, 0.0)));
  /external/opencv3/modules/viz/include/opencv2/viz/
vizcore.hpp 70 CV_EXPORTS Affine3d makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& axis_z, const Vec3d& origin = Vec3d::all(0));
81 CV_EXPORTS Affine3d makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& y_dir);
widgets.hpp 264 WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis,
322 WCircle(double radius, const Point3d& center, const Vec3d& normal, double thickness = 0.01, const Color &color = Color::white());
381 WCube(const Point3d& min_point = Vec3d::all(-0.5), const Point3d& max_point = Vec3d::all(0.5),
490 WImage3D(InputArray image, const Size2d &size, const Vec3d &center, const Vec3d &normal, const Vec3d &up_vector);
528 WGrid(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis
    [all...]
viz3d.hpp 177 void converTo3DRay(const Point3d &window_coord, Point3d &origin, Vec3d &direction);
  /external/opencv3/modules/calib3d/test/
test_decompose_projection.cpp 85 cv::Vec3d rVec;
91 cv::Vec3d origT;
107 cv::Vec3d cameraCenter(homogCameraCenter(0), homogCameraCenter(1), homogCameraCenter(2));
110 cv::Vec3d t = -R*cameraCenter;
test_homography_decomp.cpp 102 _t = Vec3d(1.826751712278038, 1.264718492450820, 0.195080809998819);
103 _n = Vec3d(0.244875830334816, 0.480857890778889, 0.841909446789566);
135 Vec3d _t, _n;
test_affine3.cpp 50 cv::Vec3d rvec(0.2, 0.5, 0.3);
69 cv::Affine3d affine1(cv::Mat(cv::Vec3d(0.2, 0.5, 0.3)).reshape(1, 1), cv::Vec3d(4, 5, 6));
70 cv::Affine3d affine2(R, cv::Vec3d(1, 1, 0.4));
test_fisheye.cpp 54 const static cv::Vec3d T;
90 cv::Vec3d* u2 = undist2.ptr<cv::Vec3d>();
92 u2[i] = cv::Vec3d(u1[i][0], u1[i][1], 1.0);
95 cv::fisheye::projectPoints(undist2, distorted2, cv::Vec3d::all(0), cv::Vec3d::all(0), this->K, this->D);
359 std::vector<cv::Vec3d> rvec;
360 std::vector<cv::Vec3d> tvec;
401 cv::Vec3d T = this->T;
471 cv::Vec3d T
    [all...]
test_cameracalibration_artificial.cpp 71 Vec3d ex(p10.x - p00.x, p10.y - p00.y, p10.z - p00.z);
72 Vec3d ey(p01.x - p00.x, p01.y - p00.y, p01.z - p00.z);
73 Vec3d ez = ex.cross(ey);
76 *rot.ptr<Vec3d>(0) = ex;
77 *rot.ptr<Vec3d>(1) = ey;
78 *rot.ptr<Vec3d>(2) = ez * (1.0/norm(ez));
  /external/opencv3/modules/calib3d/src/
homography_decomp.cpp 61 cv::Vec3d n; //!< normal of the plane the camera is looking at
62 cv::Vec3d t; //!< translation vector
100 bool findMotionFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, CameraMotion& motion);
112 void findRmatFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, const double v, cv::Matx33d& R);
168 bool HomographyDecompZhang::findMotionFrom_tstar_n(const cv::Vec3d& tstar, const cv::Vec3d& n, CameraMotion& motion)
228 Vec3d tstar_p, tstar_n;
229 Vec3d n_p, n_n
    [all...]
fisheye.cpp 52 Vec3d dom, dT;
80 Vec3d om = _rvec.depth() == CV_32F ? (Vec3d)*_rvec.getMat().ptr<Vec3f>() : *_rvec.getMat().ptr<Vec3d>();
81 Vec3d T = _tvec.depth() == CV_32F ? (Vec3d)*_tvec.getMat().ptr<Vec3f>() : *_tvec.getMat().ptr<Vec3d>();
116 const Vec3d* Xd = objectPoints.getMat().ptr<Vec3d>();
122 Vec3d Xi = objectPoints.depth() == CV_32F ? (Vec3d)Xf[i] : Xd[i]
    [all...]
  /external/opencv3/modules/viz/src/vtk/
vtkCloudMatSink.cpp 77 Vec3d *ddata = cloud.getMat().ptr<Vec3d>();
82 *fdata++ = Vec3d(points_Data->GetPoint((vtkIdType)i));
86 *ddata++ = Vec3d(points_Data->GetPoint((vtkIdType)i));
102 Vec3d *cptr = buffer.ptr<Vec3d>();
104 *cptr++ = Vec3d(scalars_data->GetTuple((vtkIdType)i));
122 Vec3d *cptr = buffer.ptr<Vec3d>();
124 *cptr++ = Vec3d(normals_data->GetTuple((vtkIdType)i))
    [all...]
vtkTrajectorySource.cpp 78 Vec3d p = dpath->translation();
98 points.at<Vec3d>(i) = dpath[i].translation();
vtkXYZWriter.cpp 85 Vec3d p;
vtkVizInteractorStyle.cpp 167 Vec3d focal(cam->GetFocalPoint()), pos(cam->GetPosition()), view(cam->GetViewUp());
956 DiagonalLength = norm(Vec3d(bounds[0], bounds[2], bounds[4]) - Vec3d(bounds[1], bounds[3], bounds[5]));
959 void cv::viz::vtkVizInteractorStyle::MotionAlongVector(const Vec3d& vector, double amount, vtkCamera* cam)
962 Vec3d campos = Vec3d(cam->GetPosition()) - amount * vector;
963 Vec3d camfoc = Vec3d(cam->GetFocalPoint()) - amount * vector;
    [all...]
vtkVizInteractorStyle.hpp 136 void MotionAlongVector(const Vec3d& vector, double amount, vtkCamera* cam);
  /external/opencv3/modules/imgproc/src/
grabcut.cpp 63 double operator()( const Vec3d color ) const;
64 double operator()( int ci, const Vec3d color ) const;
65 int whichComponent( const Vec3d color ) const;
68 void addSample( int ci, const Vec3d color );
109 double GMM::operator()( const Vec3d color ) const
117 double GMM::operator()( int ci, const Vec3d color ) const
123 Vec3d diff = color;
134 int GMM::whichComponent( const Vec3d color ) const
164 void GMM::addSample( int ci, const Vec3d color )
240 Vec3d color = img.at<Vec3b>(y,x)
    [all...]
  /external/opencv3/modules/viz/src/
vizcore.cpp 48 cv::Affine3d cv::viz::makeTransformToGlobal(const Vec3d& axis_x, const Vec3d& axis_y, const Vec3d& axis_z, const Vec3d& origin)
57 cv::Affine3d cv::viz::makeCameraPose(const Vec3d& position, const Vec3d& focal_point, const Vec3d& y_dir)
60 Vec3d n = normalize(focal_point - position);
61 Vec3d u = normalize(y_dir.cross(n));
62 Vec3d v = n.cross(u)
    [all...]
vizimpl.cpp 426 cv::Vec3d pos_vec = pose.translation();
430 cv::Vec3d y_axis(0.0, -1.0, 0.0); // In Computer Vision Camera Y-axis is oriented down
431 cv::Vec3d up_vec(rotation * y_axis);
434 cv::Vec3d z_axis(0.0, 0.0, 1.0);
435 cv::Vec3d focal_vec = pose * z_axis;
449 Vec3d pos(camera.GetPosition());
450 Vec3d view_up(camera.GetViewUp());
451 Vec3d focal(camera.GetFocalPoint());
453 Vec3d y_axis = normalized(-view_up); // In Computer Vision Camera Y-axis is oriented down
454 Vec3d z_axis = normalized(focal - pos)
    [all...]
shapes.cpp 130 cv::viz::WPlane::WPlane(const Point3d& center, const Vec3d& normal, const Vec3d& new_yaxis, const Size2d& size, const Color &color)
132 Vec3d zvec = normalize(normal);
133 Vec3d xvec = normalize(new_yaxis.cross(zvec));
134 Vec3d yvec = zvec.cross(xvec);
157 Vec3d arbitrary = get_random_vec();
158 Vec3d start_point(pt1.x, pt1.y, pt1.z), end_point(pt2.x, pt2.y, pt2.z);
162 Vec3d xvec = normalized(end_point - start_point);
163 Vec3d zvec = normalized(xvec.cross(arbitrary));
164 Vec3d yvec = zvec.cross(xvec)
    [all...]
precomp.hpp 227 inline Vec3d get_random_vec(double from = -10.0, double to = 10.0)
230 return Vec3d(rng.uniform(from, to), rng.uniform(from, to), rng.uniform(from, to));
276 Vec3b rgb = Vec3d(color[2], color[1], color[0]);
  /external/opencv3/modules/core/include/opencv2/core/
affine.hpp 146 static Vec3d operator*(const Affine3d& affine, const Vec3d& vector);
334 cv::Vec3d w;
377 return cv::Vec3d(rx, ry, rz);
474 cv::Vec3d cv::operator*(const cv::Affine3d& affine, const cv::Vec3d& v)
477 cv::Vec3d r;

Completed in 971 milliseconds

1 2