Home
last modified time | relevance | path

Searched refs:getMat (Results 1 – 25 of 198) sorted by relevance

12345678

/external/opencv3/modules/calib3d/src/
Dsolvepnp.cpp59 Mat opoints = _opoints.getMat(), ipoints = _ipoints.getMat(); in solvePnP()
81 rvec = _rvec.getMat(); in solvePnP()
82 tvec = _tvec.getMat(); in solvePnP()
84 Mat cameraMatrix0 = _cameraMatrix.getMat(); in solvePnP()
85 Mat distCoeffs0 = _distCoeffs.getMat(); in solvePnP()
164 Mat opoints = _m1.getMat(), ipoints = _m2.getMat(); in runKernel()
181 Mat opoints = _m1.getMat(), ipoints = _m2.getMat(), model = _model.getMat(); in computeError()
195 float* err = _err.getMat().ptr<float>(); in computeError()
218 Mat opoints0 = _opoints.getMat(), ipoints0 = _ipoints.getMat(); in solvePnPRansac()
242 Mat rvec = useExtrinsicGuess ? _rvec.getMat() : Mat(3, 1, CV_64FC1); in solvePnPRansac()
[all …]
Dfisheye.cpp78 CV_Assert(_tvec.getMat().isContinuous() && _rvec.getMat().isContinuous()); in projectPoints()
80 …Vec3d om = _rvec.depth() == CV_32F ? (Vec3d)*_rvec.getMat().ptr<Vec3f>() : *_rvec.getMat().ptr<Vec… in projectPoints()
81 …Vec3d T = _tvec.depth() == CV_32F ? (Vec3d)*_tvec.getMat().ptr<Vec3f>() : *_tvec.getMat().ptr<Vec… in projectPoints()
89 Matx33f K = _K.getMat(); in projectPoints()
95 Matx33d K = _K.getMat(); in projectPoints()
100 Vec4d k = _D.depth() == CV_32F ? (Vec4d)*_D.getMat().ptr<Vec4f>(): *_D.getMat().ptr<Vec4d>(); in projectPoints()
107 Jn = jacobian.getMat().ptr<JacobianRow>(0); in projectPoints()
115 const Vec3f* Xf = objectPoints.getMat().ptr<Vec3f>(); in projectPoints()
116 const Vec3d* Xd = objectPoints.getMat().ptr<Vec3d>(); in projectPoints()
117 Vec2f *xpf = imagePoints.getMat().ptr<Vec2f>(); in projectPoints()
[all …]
Dfundam.cpp78 Mat ms1 = _ms1.getMat(), ms2 = _ms2.getMat(); in checkSubset()
115 Mat m1 = _m1.getMat(), m2 = _m2.getMat(); in runKernel()
182 Mat m1 = _m1.getMat(), m2 = _m2.getMat(), model = _model.getMat(); in computeError()
190 float* err = _err.getMat().ptr<float>(); in computeError()
208 src = _src.getMat(); in HomographyRefineCallback()
209 dst = _dst.getMat(); in HomographyRefineCallback()
215 Mat param = _param.getMat(); in compute()
217 Mat err = _err.getMat(), J; in compute()
221 J = _Jac.getMat(); in compute()
273 Mat src = _src.getMat(); in createAndRunRHORegistrator()
[all …]
Dptsetreg.cpp167 Mat m1 = _m1.getMat(), m2 = _m2.getMat(); in run()
189 bestMask0 = bestMask = _mask.getMat(); in run()
281 Mat m1 = _m1.getMat(), m2 = _m2.getMat(); in run()
301 mask0 = mask = _mask.getMat(); in run()
406 Mat m1 = _m1.getMat(), m2 = _m2.getMat(); in runKernel()
444 Mat m1 = _m1.getMat(), m2 = _m2.getMat(), model = _model.getMat(); in computeError()
453 Mat err = _err.getMat(); in computeError()
472 Mat ms1 = _ms1.getMat(), ms2 = _ms2.getMat(); in checkSubset()
510 Mat from = _from.getMat(), to = _to.getMat(); in estimateAffine3D()
Dcalibration.cpp2627 Mat disparity = _disparity.getMat(), Q = _Qmat.getMat(); in reprojectImageTo3D()
2643 Mat _3dImage = __3dImage.getMat(); in reprojectImageTo3D()
2977 ni = objectPoints.getMat(i).checkVector(3, CV_32F); in collectCalibrationData()
2980 int ni1 = imagePoints1.getMat(i).checkVector(2, CV_32F); in collectCalibrationData()
3004 Mat objpt = objectPoints.getMat(i); in collectCalibrationData()
3005 Mat imgpt1 = imagePoints1.getMat(i); in collectCalibrationData()
3013 Mat imgpt2 = imagePoints2.getMat(i); in collectCalibrationData()
3053 Mat src = _src.getMat(); in Rodrigues()
3056 Mat dst = _dst.getMat(); in Rodrigues()
3061 _cjacobian = _jacobian.getMat(); in Rodrigues()
[all …]
/external/opencv3/modules/photo/src/
Dseamless_cloning.cpp52 const Mat src = _src.getMat(); in seamlessClone()
53 const Mat dest = _dst.getMat(); in seamlessClone()
54 const Mat mask = _mask.getMat(); in seamlessClone()
56 Mat blend = _blend.getMat(); in seamlessClone()
119 Mat src = _src.getMat(); in colorChange()
120 Mat mask = _mask.getMat(); in colorChange()
122 Mat blend = _dst.getMat(); in colorChange()
146 Mat src = _src.getMat(); in illuminationChange()
147 Mat mask = _mask.getMat(); in illuminationChange()
149 Mat blend = _dst.getMat(); in illuminationChange()
[all …]
Dnpr.cpp54 Mat I = _src.getMat(); in edgePreservingFilter()
56 Mat dst = _dst.getMat(); in edgePreservingFilter()
76 Mat I = _src.getMat(); in detailEnhance()
78 Mat dst = _dst.getMat(); in detailEnhance()
121 Mat I = _src.getMat(); in pencilSketch()
123 Mat dst1 = _dst1.getMat(); in pencilSketch()
126 Mat dst2 = _dst2.getMat(); in pencilSketch()
145 Mat I = _src.getMat(); in stylization()
147 Mat dst = _dst.getMat(); in stylization()
Dalign.cpp117 Mat img0 = _img0.getMat(); in calculateShift()
118 Mat img1 = _img1.getMat(); in calculateShift()
163 Mat src = _src.getMat(); in shiftMat()
165 Mat dst = _dst.getMat(); in shiftMat()
205 Mat img = _img.getMat(); in computeBitmaps()
208 Mat tb = _tb.getMat(), eb = _eb.getMat(); in computeBitmaps()
Dtonemap.cpp65 Mat src = _src.getMat(); in process()
68 Mat dst = _dst.getMat(); in process()
120 Mat src = _src.getMat(); in process()
123 Mat img = _dst.getMat(); in process()
204 Mat src = _src.getMat(); in process()
207 Mat img = _dst.getMat(); in process()
288 Mat src = _src.getMat(); in process()
291 Mat img = _dst.getMat(); in process()
382 Mat src = _src.getMat(); in process()
385 Mat img = _dst.getMat(); in process()
/external/opencv3/modules/videostab/src/
Doutlier_rejection.cpp55 CV_Assert(points0.getMat().checkVector(2) == points1.getMat().checkVector(2)); in process()
57 int npoints = points0.getMat().checkVector(2); in process()
59 Mat mask_ = mask.getMat(); in process()
74 CV_Assert(points0.getMat().checkVector(2) == points1.getMat().checkVector(2)); in process()
76 int npoints = points0.getMat().checkVector(2); in process()
78 const Point2f* points0_ = points0.getMat().ptr<Point2f>(); in process()
79 const Point2f* points1_ = points1.getMat().ptr<Point2f>(); in process()
82 uchar* mask_ = mask.getMat().ptr<uchar>(); in process()
Doptical_flow.cpp78 frame0_.upload(frame0.getMat()); in run()
79 frame1_.upload(frame1.getMat()); in run()
80 points0_.upload(points0.getMat()); in run()
126 frame0_.upload(frame0.getMat()); in run()
127 frame1_.upload(frame1.getMat()); in run()
/external/opencv3/modules/ts/src/
Docl_test.cpp240 return cvtest::norm(m.getMat(), NORM_INF, mask.getMat()); in checkNorm1()
245 return cvtest::norm(m1.getMat(), m2.getMat(), NORM_INF, mask.getMat()); in checkNorm2()
251 matchTemplate(m1.getMat(), m2.getMat(), diff, CV_TM_CCORR_NORMED); in checkSimilarity()
300 Mat src = _src.getMat(), actual = _actual.getMat(), gold = _gold.getMat(); in showDiff()
/external/opencv3/modules/shape/src/
Dhist_cost.cpp128 Mat descriptors1=_descriptors1.getMat(); in buildCostMatrix()
129 Mat descriptors2=_descriptors2.getMat(); in buildCostMatrix()
132 Mat costMatrix=_costMatrix.getMat(); in buildCostMatrix()
253 Mat descriptors1=_descriptors1.getMat(); in buildCostMatrix()
254 Mat descriptors2=_descriptors2.getMat(); in buildCostMatrix()
257 Mat costMatrix=_costMatrix.getMat(); in buildCostMatrix()
374 Mat descriptors1=_descriptors1.getMat(); in buildCostMatrix()
375 Mat descriptors2=_descriptors2.getMat(); in buildCostMatrix()
378 Mat costMatrix=_costMatrix.getMat(); in buildCostMatrix()
490 Mat descriptors1=_descriptors1.getMat(); in buildCostMatrix()
[all …]
/external/opencv3/modules/imgproc/src/
Dundistort.cpp48 Mat cameraMatrix = _cameraMatrix.getMat(); in getDefaultNewCameraMatrix()
66 Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); in initUndistortRectifyMap()
67 Mat matR = _matR.getMat(), newCameraMatrix = _newCameraMatrix.getMat(); in initUndistortRectifyMap()
73 Mat map1 = _map1.getMat(), map2; in initUndistortRectifyMap()
77 map2 = _map2.getMat(); in initUndistortRectifyMap()
173 Mat src = _src.getMat(), cameraMatrix = _cameraMatrix.getMat(); in undistort()
174 Mat distCoeffs = _distCoeffs.getMat(), newCameraMatrix = _newCameraMatrix.getMat(); in undistort()
177 Mat dst = _dst.getMat(); in undistort()
397 Mat src = _src.getMat(), cameraMatrix = _cameraMatrix.getMat(); in undistortPoints()
398 Mat distCoeffs = _distCoeffs.getMat(), R = _Rmat.getMat(), P = _Pmat.getMat(); in undistortPoints()
[all …]
Dblend.cpp136 Mat src1 = _src1.getMat(), src2 = _src2.getMat(), weights1 = _weights1.getMat(), in blendLinear()
137 weights2 = _weights2.getMat(), dst = _dst.getMat(); in blendLinear()
Dderiv.cpp65 Mat kx = _kx.getMat(); in getScharrKernels()
66 Mat ky = _ky.getMat(); in getScharrKernels()
101 Mat kx = _kx.getMat(); in getSobelKernels()
102 Mat ky = _ky.getMat(); in getSobelKernels()
209 Mat src = _src.getMat(); in IPPDerivScharr()
228 Mat dst = _dst.getMat(); in IPPDerivScharr()
316 Mat src = _src.getMat(), dst = _dst.getMat();
422 Mat src = _src.getMat(), dst = _dst.getMat(); in IPPDerivSobel()
567 Mat src = _src.getMat(), dst = _dst.getMat(); in Sobel()
625 Mat src = _src.getMat(), dst = _dst.getMat(); in Scharr()
[all …]
/external/opencv3/modules/core/src/
Dpca.cpp67 Mat data = _data.getMat(), _mean = __mean.getMat(); in operator ()()
204 Mat data = _data.getMat(), _mean = __mean.getMat(); in operator ()()
294 Mat data = _data.getMat(); in project()
324 Mat data = _data.getMat(); in backProject()
374 pca.mean = mean.getMat(); in PCAProject()
375 pca.eigenvectors = eigenvectors.getMat(); in PCAProject()
383 pca.mean = mean.getMat(); in PCABackProject()
384 pca.eigenvectors = eigenvectors.getMat(); in PCABackProject()
Dlda.cpp43 Mat src = _src.getMat(); in argsort()
66 size_t d = src.getMat(0).total(); in asRowMatrix()
72 if(src.getMat(i).total() != d) { in asRowMatrix()
73 …ong number of elements in matrix #%d! Expected %d was %d.", i, (int)d, (int)src.getMat(i).total()); in asRowMatrix()
79 if(src.getMat(i).isContinuous()) { in asRowMatrix()
80 src.getMat(i).reshape(1, 1).convertTo(xi, rtype, alpha, beta); in asRowMatrix()
82 src.getMat(i).clone().reshape(1, 1).convertTo(xi, rtype, alpha, beta); in asRowMatrix()
89 if(_indices.getMat().type() != CV_32SC1) { in sortMatrixColumnsByIndices()
92 Mat src = _src.getMat(); in sortMatrixColumnsByIndices()
93 std::vector<int> indices = _indices.getMat(); in sortMatrixColumnsByIndices()
[all …]
/external/opencv3/modules/stitching/src/
Dblenders.cpp82 Mat img = _img.getMat(); in feed()
83 Mat mask = _mask.getMat(); in feed()
84 Mat dst = dst_.getMat(ACCESS_RW); in feed()
85 Mat dst_mask = dst_mask_.getMat(ACCESS_RW); in feed()
131 Mat img = _img.getMat(); in feed()
132 Mat dst = dst_.getMat(ACCESS_RW); in feed()
138 Mat weight_map = weight_map_.getMat(ACCESS_READ); in feed()
139 Mat dst_weight_map = dst_weight_map_.getMat(ACCESS_RW); in feed()
376 Mat _src_pyr_laplace = src_pyr_laplace[i].getMat(ACCESS_READ); in feed()
377 Mat _dst_pyr_laplace = dst_pyr_laplace_[i](rc).getMat(ACCESS_RW); in feed()
[all …]
/external/opencv3/modules/viz/src/vtk/
DvtkCloudMatSource.cpp74 Mat cloud = _cloud.getMat(); in SetCloud()
97 Mat cloud = _cloud.getMat(); in SetColorCloud()
98 Mat colors = _colors.getMat(); in SetColorCloud()
119 Mat c = _cloud.getMat(); in SetColorCloudNormals()
120 Mat n = _normals.getMat(); in SetColorCloudNormals()
146 Mat cl = _cloud.getMat(); in SetColorCloudNormalsTCoords()
147 Mat tc = _tcoords.getMat(); in SetColorCloudNormalsTCoords()
/external/opencv3/modules/superres/src/
Dinput_array_utility.cpp61 return arr.getMat(); in arrGetMat()
94 buf.upload(arr.getMat()); in arrGetGpuMat()
103 src.getMat().copyTo(dst); in mat2mat()
111 dst.getGpuMatRef().upload(src.getMat()); in mat2gpu()
121 Mat m = dst.getMat(); in gpu2mat()
230 src.getMat().convertTo(dst, depth, scale); in convertToDepth()
/external/opencv3/modules/imgproc/misc/java/test/
DImgprocTest.java40 Mat src = getMat(CvType.CV_64F, 2); in testAccumulateMatMat()
41 Mat dst = getMat(CvType.CV_64F, 0); in testAccumulateMatMat()
48 assertMatEqual(getMat(CvType.CV_64F, 4), dst2, EPS); in testAccumulateMatMat()
52 Mat src = getMat(CvType.CV_64F, 2); in testAccumulateMatMatMat()
53 Mat mask = makeMask(getMat(CvType.CV_8U, 1)); in testAccumulateMatMatMat()
54 Mat dst = getMat(CvType.CV_64F, 0); in testAccumulateMatMatMat()
60 assertMatEqual(makeMask(getMat(CvType.CV_64F, 2)), dst, EPS); in testAccumulateMatMatMat()
61 assertMatEqual(makeMask(getMat(CvType.CV_64F, 4), 2), dst2, EPS); in testAccumulateMatMatMat()
65 Mat src = getMat(CvType.CV_64F, 2); in testAccumulateProductMatMatMat()
66 Mat dst = getMat(CvType.CV_64F, 0); in testAccumulateProductMatMatMat()
[all …]
/external/opencv3/modules/ml/src/
Dkdtree.cpp166 Mat _points = __points.getMat(), _labels = __labels.getMat(); in build()
279 Mat vecmat = _vec.getMat(); in findNearest()
405 Mat nidx = _neighborsIdx.getMat(); in findNearest()
424 Mat lowerBound = _lowerBound.getMat(), upperBound = _upperBound.getMat(); in findOrthoRange()
467 Mat nidx = _neighborsIdx.getMat(); in findOrthoRange()
476 Mat idxmat = _idx.getMat(), pts, labelsmat; in getPoints()
494 pts = _pts.getMat(); in getPoints()
500 labelsmat = _labels.getMat(); in getPoints()
Dknearest.cpp324 Mat test_samples = _samples.getMat(); in findNearest()
340 pres = &(res = _results.getMat()); in findNearest()
345 pnr = &(nr = _neighborResponses.getMat()); in findNearest()
350 pd = &(d = _dists.getMat()); in findNearest()
380 Mat test_samples = _samples.getMat(); in findNearest()
396 res = _results.getMat(); in findNearest()
401 nr = _neighborResponses.getMat(); in findNearest()
406 d = _dists.getMat(); in findNearest()
/external/opencv3/modules/ts/include/opencv2/ts/
Docl_test.hpp83 src.getMat().copyTo(dst); in ToUMat()
292 return cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask) / in checkNormRelative()
294 …(double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))… in checkNormRelative()
299 double norm_inf = cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask); in checkNormRelativeSparse()
302 …(double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))… in checkNormRelativeSparse()

12345678