Home
last modified time | relevance | path

Searched refs:objpt (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/samples/cpp/
Dselect3dobj.cpp133 vector<Point3f> objpt; in extract3DBox() local
136 objpt.push_back(box[0]); in extract3DBox()
138 objpt.push_back(box[1]); in extract3DBox()
141 objpt.push_back(box[2]); in extract3DBox()
142 objpt.push_back(objpt[2] - objpt[1] + objpt[0]); in extract3DBox()
146 objpt.push_back(Point3f(objpt[i].x, objpt[i].y, box[3].z)); in extract3DBox()
148 projectPoints(Mat(objpt), rvec, tvec, cameraMatrix, Mat(), imgpt); in extract3DBox()
D3calibration.cpp59 vector<vector<Point3f> > objpt(1); in run3Calibration() local
61 calcChessboardCorners(boardSize, squareSize, objpt[0]); in run3Calibration()
82 objpt.resize(imgpt.size(),objpt[0]); in run3Calibration()
90 double err = calibrateCamera(objpt, imgpt, imageSize, cameraMatrix, in run3Calibration()
134 objpt.resize(imgpt.size(),objpt[0]); in run3Calibration()
138 double err = stereoCalibrate(objpt, imgpt, imgpt_right, cameraMatrix1, distCoeffs1, in run3Calibration()
/external/opencv3/modules/python/test/
Dtest.py86 objpt = np.float64([[1,2,3]])
87 imgpt0, jac0 = cv2.projectPoints(objpt, np.zeros(3), np.zeros(3), np.eye(3), np.float64([]))
88 imgpt1, jac1 = cv2.projectPoints(objpt, np.zeros(3), np.zeros(3), np.eye(3), None)
89 self.assertEqual(imgpt0.shape, (objpt.shape[0], 1, 2))
92 self.assertEqual(jac0.shape[0], 2*objpt.shape[0])
/external/opencv3/modules/calib3d/test/
Dtest_cameracalibration.cpp1423 vector<vector<Point3f> > objpt(nframes); in run() local
1452objpt[i].push_back(Point3f((float)(j%patternSize.width), (float)(j/patternSize.width), 0.f)); in run()
1461 … double err = calibrateStereoCamera(objpt, imgpt1, imgpt2, M1, D1, M2, D2, imgsize, R, T, E, F, in run()
1610 calibrateCamera( objpt, imgpt1, imgsize, _M1, _D1, _R1, _T1, 0 ); in run()
1611 calibrateCamera( objpt, imgpt2, imgsize, _M2, _D2, _R2, _T2, 0 ); in run()
/external/opencv3/modules/calib3d/src/
Dcalibration.cpp3004 Mat objpt = objectPoints.getMat(i); in collectCalibrationData() local
3006 ni = objpt.checkVector(3, CV_32F); in collectCalibrationData()
3008 memcpy( objPtData + j, objpt.ptr(), ni*sizeof(objPtData[0]) ); in collectCalibrationData()