Home
last modified time | relevance | path

Searched refs:imgpt (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/samples/cpp/
D3calibration.cpp60 vector<vector<Point2f> > imgpt; in run3Calibration() local
67 imgpt.clear(); in run3Calibration()
72 imgpt.push_back(imgpt0[i]); in run3Calibration()
76 if( imgpt.size() < 3 ) in run3Calibration()
82 objpt.resize(imgpt.size(),objpt[0]); in run3Calibration()
90 double err = calibrateCamera(objpt, imgpt, imageSize, cameraMatrix, in run3Calibration()
116 imgpt.clear(); in run3Calibration()
123 imgpt.push_back(imagePoints1[i]); in run3Calibration()
128 if( imgpt.size() < 3 ) in run3Calibration()
134 objpt.resize(imgpt.size(),objpt[0]); in run3Calibration()
[all …]
Dselect3dobj.cpp115 static Point3f image2plane(Point2f imgpt, const Mat& R, const Mat& tvec, in image2plane() argument
120 Mat_<double> v = (cameraMatrix*R1).inv()*(Mat_<double>(3,1) << imgpt.x, imgpt.y, 1); in image2plane()
134 vector<Point2f> imgpt; in extract3DBox() local
148 projectPoints(Mat(objpt), rvec, tvec, cameraMatrix, Mat(), imgpt); in extract3DBox()
153 circle(shownFrame, imgpt[0], 3, Scalar(0,255,0), -1, LINE_AA); in extract3DBox()
156 circle(shownFrame, imgpt[0], 3, Scalar(0,255,0), -1, LINE_AA); in extract3DBox()
157 circle(shownFrame, imgpt[1], 3, Scalar(0,255,0), -1, LINE_AA); in extract3DBox()
158 line(shownFrame, imgpt[0], imgpt[1], Scalar(0,255,0), 3, LINE_AA); in extract3DBox()
163 circle(shownFrame, imgpt[i], 3, Scalar(0,255,0), -1, LINE_AA); in extract3DBox()
164 line(shownFrame, imgpt[i], imgpt[(i+1)%4], Scalar(0,255,0), 3, LINE_AA); in extract3DBox()
[all …]
Dstereo_calib.cpp195 Mat imgpt[2]; in StereoCalib() local
198 imgpt[k] = Mat(imagePoints[k][i]); in StereoCalib()
199 … undistortPoints(imgpt[k], imgpt[k], cameraMatrix[k], distCoeffs[k], Mat(), cameraMatrix[k]); in StereoCalib()
200 computeCorrespondEpilines(imgpt[k], k+1, F, lines[k]); in StereoCalib()