/external/opencv3/modules/core/test/ |
test_lpsolver.cpp | 49 A=(cv::Mat_<double>(3,1)<<3,1,2); 50 B=(cv::Mat_<double>(3,4)<<1,1,3,30,2,2,5,24,4,1,2,36); 54 etalon_z=(cv::Mat_<double>(3,1)<<8,4,0); 60 A=(cv::Mat_<double>(1,2)<<18,12.5); 61 B=(cv::Mat_<double>(3,3)<<1,1,20,1,0,20,0,1,16); 65 etalon_z=(cv::Mat_<double>(2,1)<<20,0); 71 A=(cv::Mat_<double>(1,2)<<5,-3); 72 B=(cv::Mat_<double>(2,3)<<1,-1,1,2,1,2); 76 etalon_z=(cv::Mat_<double>(2,1)<<1,0); 86 A=(cv::Mat_<double>(1,3)<<-1,-1,-1) [all...] |
test_misc.cpp | 33 Mat_<double> d; 42 Mat expected = (Mat_<double>(2,3) << 1, 2, 3, .1, .2, .3); 57 Mat expected = (Mat_<float>(2,3) << 1, 2, 3, .1, .2, .3); 72 Mat expected = (Mat_<double>(2,3) << 1, 2, 3, .1, .2, .3); 87 Mat expected = (Mat_<double>(2,3) << 1, 2, 3, .1, .2, .3); 103 Mat expected = (Mat_<float>(2,3) << 1, 2, 3, .1, .2, .3); 119 Mat expected = (Mat_<double>(2,3) << 1, 2, 3, .1, .2, .3);
|
test_downhill_simplex.cpp | 63 /*for(cv::Mat_<double>::iterator it1=x.begin<double>(),it2=etalon_x.begin<double>();it1!=x.end<double>();it1++,it2++){ 88 cv::Mat x=(cv::Mat_<double>(1,2)<<1.0,1.0), 89 step=(cv::Mat_<double>(2,1)<<-0.5,-0.5), 90 etalon_x=(cv::Mat_<double>(1,2)<<-0.0,0.0); 98 cv::Mat x=(cv::Mat_<double>(2,1)<<0.0,0.0), 99 step=(cv::Mat_<double>(2,1)<<0.5,+0.5), 100 etalon_x=(cv::Mat_<double>(2,1)<<1.0,1.0);
|
test_conjugate_gradient.cpp | 55 /*for(cv::Mat_<double>::iterator it1=x.begin<double>(),it2=etalon_x.begin<double>();it1!=x.end<double>();it1++,it2++){ 90 cv::Mat x=(cv::Mat_<double>(4,1)<<50.0,10.0,1.0,-10.0), 91 etalon_x=(cv::Mat_<double>(1,4)<<0.0,0.0,0.0,0.0); 99 cv::Mat x=(cv::Mat_<double>(2,1)<<0.0,0.0), 100 etalon_x=(cv::Mat_<double>(2,1)<<1.0,1.0);
|
test_operations.cpp | 114 cv::Mat_<_Tp> m(sz); 471 Mat_<float> T_bs(4,4); 506 Mat_<float> one_3x1(3, 1, 1.0f); 507 Mat_<float> shi_3x1(3, 1, 1.2f); 508 Mat_<float> shi_2x1(2, 1, -2); 512 Mat_<float> rot_2x3(2, 3, data); 514 Mat_<float> res = Mat(Mat(2 * rot_2x3) * Mat(one_3x1 + shi_3x1 + shi_3x1 + shi_3x1) - shi_2x1) + shift; 515 Mat_<float> resS = rot_2x3 * one_3x1; 517 Mat_<float> tmp, res2, resS2; 529 Mat_<float> mat4x4(4, 4) [all...] |
/external/opencv3/modules/video/src/ |
tvl1flow.cpp | 125 void procOneScale(const Mat_<float>& I0, const Mat_<float>& I1, Mat_<float>& u1, Mat_<float>& u2, Mat_<float>& u3); 132 std::vector<Mat_<float> > I0s; 133 std::vector<Mat_<float> > I1s; 134 std::vector<Mat_<float> > u1s; 135 std::vector<Mat_<float> > u2s; 136 std::vector<Mat_<float> > u3s [all...] |
/external/opencv3/modules/video/perf/ |
perf_ecc.cpp | 31 warpGround = (Mat_<float>(2,3) << 1.f, 0.f, 7.234f, 40 warpGround = (Mat_<float>(2,3) << (float)cos(angle), (float)-sin(angle), 12.123f, 46 warpGround = (Mat_<float>(2,3) << 0.98f, 0.03f, 15.523f, 52 warpGround = (Mat_<float>(3,3) << 0.98f, 0.03f, 15.523f,
|
/external/opencv3/modules/core/src/ |
conjugate_gradient.cpp | 83 Mat_<double> d,r,buf_x,r_old; 84 Mat_<double> minimizeOnTheLine_buf1,minimizeOnTheLine_buf2; 86 static void minimizeOnTheLine(Ptr<MinProblemSolver::Function> _f,Mat_<double>& x,const Mat_<double>& d,Mat_<double>& buf1,Mat_<double>& buf2); 89 void ConjGradSolverImpl::minimizeOnTheLine(Ptr<MinProblemSolver::Function> _f,Mat_<double>& x,const Mat_<double>& d,Mat_<double>& buf1, 90 Mat_<double>& buf2) [all...] |
lpsolver.cpp | 84 static int initialize_simplex(Mat_<double>& c, Mat_<double>& b,double& v,vector<int>& N,vector<int>& B,vector<unsigned int>& indexToRow); 85 static inline void pivot(Mat_<double>& c,Mat_<double>& b,double& v,vector<int>& N,vector<int>& B,int leaving_index, 89 static int inner_simplex(Mat_<double>& c, Mat_<double>& b,double& v,vector<int>& N,vector<int>& B,vector<unsigned int>& indexToRow); 90 static void swap_columns(Mat_<double>& A,int col1,int col2); 104 Mat_<double> bigC=Mat_<double>(1,(Func.rows==1?Func.cols:Func.rows)+1), 105 bigB=Mat_<double>(Constr.rows,Constr.cols+1) [all...] |
/external/opencv3/modules/videostab/include/opencv2/videostab/ |
fast_marching.hpp | 106 cv::Mat_<uchar> flag_; // flag map 107 cv::Mat_<float> dist_; // distance map 109 cv::Mat_<int> index_; // index of point in the narrow band
|
inpainting.hpp | 168 Mat_<uchar> grayFrame_, transformedGrayFrame1_; 169 Mat_<uchar> mask1_, transformedMask1_; 170 Mat_<float> flowX_, flowY_, flowErrors_; 171 Mat_<uchar> flowMask_;
|
/external/opencv3/modules/core/include/opencv2/core/ |
mat.inl.hpp | 89 _InputArray::_InputArray(const std::vector<Mat_<_Tp> >& vec) 101 _InputArray::_InputArray(const Mat_<_Tp>& m) 156 _OutputArray::_OutputArray(std::vector<Mat_<_Tp> >& vec) 160 _OutputArray::_OutputArray(Mat_<_Tp>& m) 180 _OutputArray::_OutputArray(const std::vector<Mat_<_Tp> >& vec) 184 _OutputArray::_OutputArray(const Mat_<_Tp>& m) 246 _InputOutputArray::_InputOutputArray(std::vector<Mat_<_Tp> >& vec) 250 _InputOutputArray::_InputOutputArray(Mat_<_Tp>& m) 270 _InputOutputArray::_InputOutputArray(const std::vector<Mat_<_Tp> >& vec) 274 _InputOutputArray::_InputOutputArray(const Mat_<_Tp>& m [all...] |
mat.hpp | 75 where _InputArray is a class that can be constructed from `Mat`, `Mat_<T>`, `Matx<T, m, n>`, 175 template<typename _Tp> _InputArray(const Mat_<_Tp>& m); 179 template<typename _Tp> _InputArray(const std::vector<Mat_<_Tp> >& vec); 291 template<typename _Tp> _OutputArray(std::vector<Mat_<_Tp> >& vec); 292 template<typename _Tp> _OutputArray(Mat_<_Tp>& m); 306 template<typename _Tp> _OutputArray(const std::vector<Mat_<_Tp> >& vec); 307 template<typename _Tp> _OutputArray(const Mat_<_Tp>& m); 348 template<typename _Tp> _InputOutputArray(std::vector<Mat_<_Tp> >& vec); 349 template<typename _Tp> _InputOutputArray(Mat_<_Tp>& m); 363 template<typename _Tp> _InputOutputArray(const std::vector<Mat_<_Tp> >& vec) [all...] |
operations.hpp | 241 CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Mat) 242 CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Scalar) 243 CV_MAT_AUG_OPERATOR_T(+=, cv::add(a,b,a), Mat_<_Tp>, Mat_<_Tp>) 247 CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Mat) 248 CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Scalar) 249 CV_MAT_AUG_OPERATOR_T(-=, cv::subtract(a,b,a), Mat_<_Tp>, Mat_<_Tp>) 252 CV_MAT_AUG_OPERATOR_T(*=, cv::gemm(a, b, 1, Mat(), 0, a, 0), Mat_<_Tp>, Mat) 253 CV_MAT_AUG_OPERATOR_T(*=, cv::gemm(a, b, 1, Mat(), 0, a, 0), Mat_<_Tp>, Mat_<_Tp> [all...] |
/external/opencv3/modules/video/test/ |
test_tvl1optflow.cpp | 59 void writeOpticalFlowToFile(const Mat_<Point2f>& flow, const string& fileName) 84 void readOpticalFlowFromFile(Mat_<Point2f>& flow, const string& fileName) 118 double calcRMSE(const Mat_<Point2f>& flow1, const Mat_<Point2f>& flow2) 155 Mat_<Point2f> flow; 163 Mat_<Point2f> gold;
|
test_ecc.cpp | 135 Mat translationGround = (Mat_<float>(2,3) << 1, 0, (rng.uniform(10.f, 20.f)), 143 Mat mapTranslation = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0); 210 Mat euclideanGround = (Mat_<float>(2,3) << cos(angle), -sin(angle), (rng.uniform(10.f, 20.f)), 218 Mat mapEuclidean = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0); 283 Mat affineGround = (Mat_<float>(2,3) << (1-rng.uniform(-0.05f, 0.05f)), 293 Mat mapAffine = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0); 358 Mat homoGround = (Mat_<float>(3,3) << (1-rng.uniform(-0.05f, 0.05f)), 423 Mat_<float> testImg; 435 Mat translationGround = (Mat_<float>(2,3) << 1, 0, (rng.uniform(10.f, 20.f)), 443 Mat mapTranslation = (Mat_<float>(2,3) << 1, 0, 0, 0, 1, 0) [all...] |
/external/opencv3/samples/gpu/ |
opengl.cpp | 80 Mat_<Vec2f> vertex(1, 4); 83 Mat_<Vec2f> texCoords(1, 4); 86 Mat_<int> indices(1, 6);
|
/external/opencv3/modules/calib3d/test/ |
test_reproject_image_to_3d.cpp | 119 Mat_<InT> disp(Size(320, 240)); 125 Mat_<double> Q(4, 4); 128 Mat_<out3d_t> _3dImg(disp.size()); 147 Mat_<double> res = Q * Mat_<double>(4, 1, from);
|
test_compose_rt.cpp | 51 typedef Mat_<double> mat_t; 127 Mat_<double> ev; 144 Mat_<double> rvec1(3, 1), tvec1(3, 1), rvec2(3, 1), tvec2(3, 1); 176 Mat_<double> dr3_dr1, dt3_dr1; 185 Mat_<double> dr3_dr2, dt3_dr2; 194 Mat_<double> dr3_dt1, dt3_dt1; 203 Mat_<double> dr3_dt2, dt3_dt2;
|
test_chesscorners_badarg.cpp | 105 Mat_<float> camMat(3, 3); 107 Mat_<float> distCoeffs(1, 5);
|
/external/opencv3/modules/videostab/src/ |
global_motion.cpp | 112 Mat_<float> T = Mat::eye(3, 3, CV_32F); 123 Mat_<float> M = Mat::eye(3, 3, CV_32F); 148 Mat_<float> T0 = normalizePoints(npoints, points0); 149 Mat_<float> T1 = normalizePoints(npoints, points1); 151 Mat_<float> A(2*npoints, 3), b(2*npoints, 1); 167 Mat_<float> sol; 173 Mat_<float> M = Mat::eye(3, 3, CV_32F); 197 Mat_<float> M = Mat::eye(3, 3, CV_32F); 240 Mat_<float> A = Mat::zeros(2, 2, CV_32F); 253 Mat_<float> M = Mat::eye(3, 3, CV_32F) [all...] |
/external/opencv3/modules/stitching/src/ |
camera.cpp | 66 Mat_<double> k = Mat::eye(3, 3, CV_64F);
|
exposure_compensate.cpp | 82 Mat_<int> N(num_images, num_images); N.setTo(0); 83 Mat_<double> I(num_images, num_images); I.setTo(0); 87 Mat_<uchar> submask1, submask2, intersect; 128 Mat_<double> A(num_images, num_images); A.setTo(0); 129 Mat_<double> b(num_images, 1); b.setTo(0); 204 Mat_<float> ker(1, 3); 214 Mat_<float> gain_map = gain_maps_[img_idx].getMat(ACCESS_WRITE); 236 Mat_<float> gain_map = u_gain_map.getMat(ACCESS_READ);
|
/external/opencv3/modules/stitching/include/opencv2/stitching/detail/ |
seam_finders.hpp | 192 bool closeToContour(int y, int x, const Mat_<uchar> &contourMask); 198 int comp, Mat_<float> &costV, Mat_<float> &costH); 212 Mat_<uchar> mask1_, mask2_; 213 Mat_<uchar> contour1mask_, contour2mask_; 214 Mat_<float> gradx1_, grady1_; 215 Mat_<float> gradx2_, grady2_; 219 Mat_<int> labels_;
|
/external/opencv3/samples/cpp/tutorial_code/core/file_input_output/ |
file_input_output.cpp | 75 Mat R = Mat_<uchar>::eye(3, 3), 76 T = Mat_<double>::zeros(3, 1);
|