/external/opencv3/modules/video/test/ |
test_kalman.cpp | 73 CvMat* Sample = cvCreateMat(Dim,1,CV_32F); 74 CvMat* Temp = cvCreateMat(Dim,1,CV_32F); 77 CvMat Dyn = cvMat(Dim,Dim,CV_32F,Kalm->DynamMatr); 78 CvMat Mes = cvMat(Dim,Dim,CV_32F,Kalm->MeasurementMatr); 79 CvMat PNC = cvMat(Dim,Dim,CV_32F,Kalm->PNCovariance); 80 CvMat MNC = cvMat(Dim,Dim,CV_32F,Kalm->MNCovariance); 81 CvMat PriErr = cvMat(Dim,Dim,CV_32F,Kalm->PriorErrorCovariance); 82 CvMat PostErr = cvMat(Dim,Dim,CV_32F,Kalm->PosterErrorCovariance); 83 CvMat PriState = cvMat(Dim,1,CV_32F,Kalm->PriorState); 84 CvMat PostState = cvMat(Dim,1,CV_32F,Kalm->PosterState) [all...] |
/external/opencv/cv/src/ |
cvcalcimagehomography.cpp | 60 CvMat rx = cvMat( 1, 3, CV_32F, line ); 61 CvMat ry = cvMat( 1, 3, CV_32F, _ry ); 62 CvMat rz = cvMat( 1, 3, CV_32F, _rz ); 63 CvMat r_trans = cvMat( 3, 3, CV_32F, _r_trans ); 64 CvMat center = cvMat( 3, 1, CV_32F, _center ); 67 CvMat sub = cvMat( 3, 3, CV_32F, _sub ); 69 CvMat t_trans = cvMat( 3, 1, CV_32F, _t_trans ); 71 CvMat intrinsic = cvMat( 3, 3, CV_32F, _intrinsic ); 72 CvMat homography = cvMat( 3, 3, CV_32F, _homography );
|
/external/opencv3/modules/imgproc/test/ |
test_emd.cpp | 77 Mat _w1(4, 1, CV_32F, w1); 78 Mat _w2(5, 1, CV_32F, w2); 79 Mat _cost(_w1.rows, _w2.rows, CV_32F, cost);
|
/external/opencv3/modules/shape/src/ |
haus_dis.cpp | 104 Mat disMat(set1.cols, set2.cols, CV_32F); 116 Mat shortest(disMat.rows,1,CV_32F); 132 if (set1.type() != CV_32F) 133 set1.convertTo(set1, CV_32F); 134 if (set2.type() != CV_32F) 135 set2.convertTo(set2, CV_32F);
|
aff_trans.cpp | 112 Mat out(2,3,CV_32F); 117 Mat matM(siz, 6, CV_32F); 118 Mat matP(siz,1,CV_32F); 122 Mat therow = Mat::zeros(1,6,CV_32F); 147 Mat matM(siz, 4, CV_32F); 148 Mat matP(siz,1,CV_32F); 152 Mat therow = Mat::zeros(1,4,CV_32F); 190 if (pts1.type() != CV_32F) 191 pts1.convertTo(pts1, CV_32F); 192 if (pts2.type() != CV_32F) [all...] |
tps_trans.cpp | 196 if (pts1.type() != CV_32F) 197 pts1.convertTo(pts1, CV_32F); 198 if (pts2.type() != CV_32F) 199 pts2.convertTo(pts2, CV_32F); 213 Mat shape1((int)matches.size(),2,CV_32F); // transforming shape 214 Mat shape2((int)matches.size(),2,CV_32F); // target shape 230 Mat matK((int)matches.size(),(int)matches.size(),CV_32F); 231 Mat matP((int)matches.size(),3,CV_32F); 252 Mat matL=Mat::zeros((int)matches.size()+3,(int)matches.size()+3,CV_32F); 263 Mat matB = Mat::zeros((int)matches.size()+3,2,CV_32F); [all...] |
/external/opencv3/modules/core/misc/java/src/java/ |
core+CvType.java | 10 CV_32F = 5, 59 return makeType(CV_32F, ch); 75 return depth(type) < CV_32F; 87 case CV_32F: 115 case CV_32F: 116 s = "CV_32F";
|
/external/opencv3/modules/core/test/ |
test_hal_core.cpp | 58 int depth = hcase % 2 == 0 ? CV_32F : CV_64F; 59 double eps = depth == CV_32F ? 1e-5 : 1e-10; 74 if( depth == CV_32F ) 80 if( depth == CV_32F ) 86 if( depth == CV_32F ) 120 n, (depth == CV_32F ? "f32" : "f64"), min_hal_t*1e6/freq, min_ocv_t*1e6/freq); 134 int depth = hcase % 2 == 0 ? CV_32F : CV_64F; 138 double eps = depth == CV_32F ? 1e-5 : 1e-10; 161 if( depth == CV_32F ) 167 if( depth == CV_32F ) [all...] |
/external/opencv3/modules/cudalegacy/test/ |
test_calib3d.cpp | 69 cv::Mat rvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); 70 cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); 117 cv::Mat rvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); 118 cv::Mat tvec = randomMat(cv::Size(3, 1), CV_32F, 0, 1); 119 cv::Mat camera_mat = randomMat(cv::Size(3, 3), CV_32F, 0.5, 1); 132 cv::projectPoints(src, rvec, tvec, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), dst_gold); 167 cv::Mat camera_mat = randomMat(cv::Size(3, 3), CV_32F, 0.5, 1); 176 rvec_gold = randomMat(cv::Size(3, 1), CV_32F, 0, 1); 177 tvec_gold = randomMat(cv::Size(3, 1), CV_32F, 0, 1); 178 cv::projectPoints(object, rvec_gold, tvec_gold, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), image_vec) [all...] |
/external/opencv3/modules/core/misc/java/test/ |
CoreTest.java | 39 Core.add(gray0, gray1, dst, gray1, CvType.CV_32F); 41 assertEquals(CvType.CV_32F, dst.depth()); 52 Core.addWeighted(gray1, 126.0, gray127, 1.0, 2.0, dst, CvType.CV_32F); 54 assertEquals(CvType.CV_32F, dst.depth()); 117 Mat covar = new Mat(matSize, matSize, CvType.CV_32F); 118 Mat mean = new Mat(1, matSize, CvType.CV_32F); 120 Core.calcCovarMatrix(gray0_32f, covar, mean, Core.COVAR_ROWS | Core.COVAR_NORMAL, CvType.CV_32F); 127 Mat x = new Mat(1, 3, CvType.CV_32F) { 132 Mat y = new Mat(1, 3, CvType.CV_32F) { 141 Mat expected_magnitude = new Mat(1, 3, CvType.CV_32F) { [all...] |
/external/opencv3/modules/calib3d/test/ |
test_posit.cpp | 86 CvMat* true_rotationX = cvCreateMat( 3, 3, CV_32F ); 87 CvMat* true_rotationY = cvCreateMat( 3, 3, CV_32F ); 88 CvMat* true_rotationZ = cvCreateMat( 3, 3, CV_32F ); 89 CvMat* tmp_matrix = cvCreateMat( 3, 3, CV_32F ); 90 CvMat* true_rotation = cvCreateMat( 3, 3, CV_32F ); 91 CvMat* rotation = cvCreateMat( 3, 3, CV_32F ); 92 CvMat* translation = cvCreateMat( 3, 1, CV_32F ); 93 CvMat* true_translation = cvCreateMat( 3, 1, CV_32F ); 165 CvMat Vec = cvMat( 3, 1, CV_32F, vec ); 166 CvMat Obj_point = cvMat( 3, 1, CV_32F, &obj_points[i].x ) [all...] |
test_cameracalibration_badarg.cpp | 132 cameraMatrix_cpp.create(3, 3, CV_32F); 133 distCoeffs_cpp.create(5, 1, CV_32F); 228 Mat bad_cameraMatrix_cpp2(2, 3, CV_32F); CvMat bad_cameraMatrix_c2 = bad_cameraMatrix_cpp2; 353 Mat src_cpp(3, 1, CV_32F); src_c = src_cpp; 354 Mat dst_cpp(3, 3, CV_32F); dst_c = dst_cpp; 355 Mat jacobian_cpp(3, 9, CV_32F); jacobian_c = jacobian_cpp; 383 Mat bad_jac_cpp3(3, 1, CV_32F); CvMat bad_jac_c3 = bad_jac_cpp3; 409 Mat bad_src_cpp2(1, 1, CV_32F); CvMat bad_src_c2 = bad_src_cpp2; 415 Mat bad_dst_cpp2(2, 1, CV_32F); CvMat bad_dst_c2 = bad_dst_cpp2; 416 Mat bad_dst_cpp3(3, 2, CV_32F); CvMat bad_dst_c3 = bad_dst_cpp3 [all...] |
/external/opencv3/modules/viz/src/vtk/ |
vtkCloudMatSource.cpp | 71 CV_Assert(_cloud.depth() == CV_32F || _cloud.depth() == CV_64F); 76 int total = _cloud.depth() == CV_32F ? filterNanCopy<float>(cloud) : filterNanCopy<double>(cloud); 100 if (cloud.depth() == CV_32F) 115 CV_Assert(_normals.depth() == CV_32F || _normals.depth() == CV_64F); 122 if (n.depth() == CV_32F && c.depth() == CV_32F) 124 else if (n.depth() == CV_32F && c.depth() == CV_64F) 126 else if (n.depth() == CV_64F && c.depth() == CV_32F) 143 CV_Assert(_tcoords.depth() == CV_32F || _tcoords.depth() == CV_64F); 149 if (tc.depth() == CV_32F && cl.depth() == CV_32F [all...] |
/external/opencv3/modules/cudawarping/src/ |
warp.cpp | 93 Mat coeffsMat(2, 3, CV_32F, (void*)coeffs); 122 Mat coeffsMat(3, 3, CV_32F, (void*)coeffs); 192 CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); 245 useNpp = useNpp && src.depth() != CV_32F; 259 {NppWarp<CV_32F, nppiWarpAffine_32f_C1R>::call, 0, NppWarp<CV_32F, nppiWarpAffine_32f_C3R>::call, NppWarp<CV_32F, nppiWarpAffine_32f_C4R>::call} 267 {NppWarp<CV_32F, nppiWarpAffineBack_32f_C1R>::call, 0, NppWarp<CV_32F, nppiWarpAffineBack_32f_C3R>::call, NppWarp<CV_32F, nppiWarpAffineBack_32f_C4R>::call [all...] |
remap.cpp | 81 CV_Assert( src.depth() <= CV_32F && src.channels() <= 4 ); 82 CV_Assert( xmap.type() == CV_32F && ymap.type() == CV_32F && xmap.size() == ymap.size() );
|
/external/opencv3/modules/ml/src/ |
testset.cpp | 73 _samples.create( num_samples, num_features, CV_32F ); 78 Mat mean = Mat::zeros(1, num_features, CV_32F); 79 Mat cov = Mat::eye(num_features, num_features, CV_32F);
|
/external/opencv3/modules/imgproc/misc/java/test/ |
ImgprocTest.java | 262 truth = new Mat(10, 1, CvType.CV_32F, Scalar.all(0)) { 279 truth = new Mat(10, 10, CvType.CV_32F, Scalar.all(0)) { 334 truth = new Mat(10, 10, CvType.CV_32F, Scalar.all(0)) { 355 Mat H1 = new Mat(3, 1, CvType.CV_32F); 356 Mat H2 = new Mat(3, 1, CvType.CV_32F); 721 Mat src = Mat.eye(4, 4, CvType.CV_32F); 722 Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(1)); 726 truth = new Mat(4, 4, CvType.CV_32F) { 742 Mat kernel = new Mat(imgprocSz, imgprocSz, CvType.CV_32F, new Scalar(0)); 910 Mat kx = new Mat(imgprocSz, imgprocSz, CvType.CV_32F); [all...] |
/external/opencv3/modules/imgproc/test/ocl/ |
test_pyramids.cpp | 106 Near(depth == CV_32F ? 1e-4f : 1.0f); 111 Values(CV_8U, CV_16U, CV_16S, CV_32F, CV_64F), 133 Near(depth == CV_32F ? 1e-4f : 1.0f); 138 Values(CV_8U, CV_16U, CV_16S, CV_32F, CV_64F),
|
test_sepfilter2D.cpp | 84 Mat temp = randomMat(Size(ksize.width, 1), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); 86 temp = randomMat(Size(1, ksize.height), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); 124 Values(CV_8U, CV_32F),
|
/external/opencv3/modules/core/perf/ |
perf_convertTo.cpp | 16 testing::Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F), 17 testing::Values(CV_8U, CV_8S, CV_16U, CV_16S, CV_32S, CV_32F, CV_64F),
|
/external/opencv3/modules/core/perf/cuda/ |
perf_gpumat.cpp | 59 Values(CV_8U, CV_16U, CV_32F, CV_64F), 91 Values(CV_8U, CV_16U, CV_32F, CV_64F), 128 Values(CV_8U, CV_16U, CV_32F, CV_64F), 166 Values(CV_8U, CV_16U, CV_32F, CV_64F), 167 Values(CV_8U, CV_16U, CV_32F, CV_64F)))
|
/external/opencv3/modules/cudaarithm/src/ |
core.cpp | 77 template<> struct NppTypeTraits<CV_32F> { typedef Npp32f npp_t; }; 119 {NppMirror<CV_32F, nppiMirror_32f_C1R>::call, 0, NppMirror<CV_32F, nppiMirror_32f_C3R>::call, NppMirror<CV_32F, nppiMirror_32f_C4R>::call} 124 CV_Assert(src.depth() == CV_8U || src.depth() == CV_16U || src.depth() == CV_32S || src.depth() == CV_32F);
|
/external/opencv3/modules/calib3d/src/ |
solvepnp.cpp | 60 int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); 61 CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); 71 CV_Assert( (rtype == CV_32F || rtype == CV_64F) && 72 (ttype == CV_32F || ttype == CV_64F) ); 221 opoints0.convertTo(opoints, CV_32F); 225 ipoints0.convertTo(ipoints, CV_32F); 229 int npoints = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F)); 230 CV_Assert( npoints >= 0 && npoints == std::max(ipoints.checkVector(2, CV_32F), ipoints.checkVector(2, CV_64F)) ); 233 CV_Assert(opoints.depth() == CV_32F || opoints.depth() == CV_64F); 236 CV_Assert(ipoints.depth() == CV_32F || ipoints.depth() == CV_64F) [all...] |
/external/opencv3/modules/video/src/ |
ecc.cpp | 378 Mat Xcoord = Mat(1, ws, CV_32F); 379 Mat Ycoord = Mat(hs, 1, CV_32F); 380 Mat Xgrid = Mat(hs, ws, CV_32F); 381 Mat Ygrid = Mat(hs, ws, CV_32F); 397 Mat templateZM = Mat(hs, ws, CV_32F);// to store the (smoothed)zero-mean version of template 398 Mat templateFloat = Mat(hs, ws, CV_32F);// to store the (smoothed) template 399 Mat imageFloat = Mat(hd, wd, CV_32F);// to store the (smoothed) input image 400 Mat imageWarped = Mat(hs, ws, CV_32F);// to store the warped zero-mean input image 416 preMask.convertTo(preMaskFloat, CV_32F); 444 Mat jacobian = Mat(hs, ws*numberOfParameters, CV_32F); [all...] |
/external/opencv3/modules/imgproc/perf/ |
perf_integral.cpp | 16 testing::Values(CV_32S, CV_32F, CV_64F) 38 testing::Values(CV_32S, CV_32F) 63 testing::Values( CV_32S, CV_32F )
|