/external/opencv3/samples/cpp/tutorial_code/core/mat_the_basic_image_container/ |
D | mat_the_basic_image_container.cpp | 12 << "\n--------------------------------------------------------------------------" << endl in help() 14 << " out capabilities" << endl in help() 15 << "That is, cv::Mat M(...); M.create and cout << M. " << endl in help() 16 << "Shows how output can be formated to OpenCV, python, numpy, csv and C styles." << endl in help() 17 << "Usage:" << endl in help() 18 << "./cvout_sample" << endl in help() 19 << "--------------------------------------------------------------------------" << endl in help() 20 << endl; in help() 29 cout << "M = " << endl << " " << M << endl << endl; in main() 35 cout << "M = "<< endl << " " << M << endl << endl; in main() [all …]
|
/external/opencv3/samples/cpp/tutorial_code/core/file_input_output/ |
D | file_input_output.cpp | 10 cout << endl in help() 11 << av[0] << " shows the usage of the OpenCV serialization functionality." << endl in help() 12 << "usage: " << endl in help() 13 << av[0] << " outputfile.yml.gz" << endl in help() 15 << "specifying this in its extension like xml.gz yaml.gz etc... " << endl in help() 16 … << "With FileStorage you can serialize objects in OpenCV by using the << and >> operators" << endl in help() 17 << "For example: - create a class and have it serialized" << endl in help() 18 << " - use it to read and write matrices." << endl; in help() 96 cout << "Write Done." << endl; in main() 100 cout << endl << "Reading: " << endl; in main() [all …]
|
/external/opencv3/modules/calib3d/test/ |
D | test_homography.cpp | 143 cout << endl; cout << "Checking for homography matrix sizes..." << endl; cout << endl; in print_information_1() 145 …oints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl; in print_information_1() 146 cout << "Count of points: " << N << endl; cout << endl; in print_information_1() 147 …) cout << "RANSAC"; else if (_method == cv::RHO) cout << "RHO"; else cout << "LMEDS"; cout << endl; in print_information_1() 148 cout << "Homography matrix:" << endl; cout << endl; in print_information_1() 149 cout << H << endl; cout << endl; in print_information_1() 150 cout << "Number of rows: " << H.rows << " Number of cols: " << H.cols << endl; cout << endl; in print_information_1() 155 …cout << endl; cout << "Checking for accuracy of homography matrix computing..." << endl; cout << e… in print_information_2() 157 …oints: "; if (j % 2 == 0) cout << "Mat of CV_32FC2"; else cout << "vector <Point2f>"; cout << endl; in print_information_2() 158 cout << "Count of points: " << N << endl; cout << endl; in print_information_2() [all …]
|
/external/opencv3/samples/cpp/ |
D | cout_mat.cpp | 24 << endl; in help() 33 cout << "I = \n" << I << ";" << endl << endl; in main() 38 cout << "r (default) = \n" << r << ";" << endl << endl; in main() 39 cout << "r (matlab) = \n" << format(r, Formatter::FMT_MATLAB) << ";" << endl << endl; in main() 40 cout << "r (python) = \n" << format(r, Formatter::FMT_PYTHON) << ";" << endl << endl; in main() 41 cout << "r (numpy) = \n" << format(r, Formatter::FMT_NUMPY) << ";" << endl << endl; in main() 42 cout << "r (csv) = \n" << format(r, Formatter::FMT_CSV) << ";" << endl << endl; in main() 43 cout << "r (c) = \n" << format(r, Formatter::FMT_C) << ";" << endl << endl; in main() 46 cout << "p = " << p << ";" << endl; in main() 49 cout << "p3f = " << p3f << ";" << endl; in main() [all …]
|
D | cloning_demo.cpp | 37 cout << endl; in main() 38 cout << "Cloning Module" << endl; in main() 39 cout << "---------------" << endl; in main() 40 cout << "Options: " << endl; in main() 41 cout << endl; in main() 42 cout << "1) Normal Cloning " << endl; in main() 43 cout << "2) Mixed Cloning " << endl; in main() 44 cout << "3) Monochrome Transfer " << endl; in main() 45 cout << "4) Local Color Change " << endl; in main() 46 cout << "5) Local Illumination Change " << endl; in main() [all …]
|
D | intelperc_capture.cpp | 33 …rogram demonstrates usage of camera supported\nby Intel Perceptual computing SDK." << endl << endl; in printUsage() 34 …sage: " << filename << "[-ps] [-isp IDX] [-dsp IDX]\n [-ir] [-imb VAL] [-imc VAL]" << endl << endl; in printUsage() 35 cout << " -ps, print streams setting and profiles" << endl; in printUsage() 36 cout << " -isp IDX, set profile index of the image stream" << endl; in printUsage() 37 cout << " -dsp IDX, set profile index of the depth stream" << endl; in printUsage() 38 cout << " -ir, show data from IR stream" << endl; in printUsage() 39 cout << " -imb VAL, set brighness value for a image stream" << endl; in printUsage() 40 cout << " -imc VAL, set contrast value for a image stream" << endl; in printUsage() 41 cout << " -pts, print frame index and frame time" << endl; in printUsage() 42 cout << " --show-closed, print frame index and frame time" << endl; in printUsage() [all …]
|
D | npr_demo.cpp | 33 cout << "usage: " << argv[0] << " <Input image> " << endl; in main() 43 cout << "Image not found" << endl; in main() 47 cout << endl; in main() 48 cout << " Edge Preserve Filter" << endl; in main() 49 cout << "----------------------" << endl; in main() 51 cout << "Options: " << endl; in main() 52 cout << endl; in main() 54 cout << "1) Edge Preserve Smoothing" << endl; in main() 55 cout << " -> Using Normalized convolution Filter" << endl; in main() 56 cout << " -> Using Recursive Filter" << endl; in main() [all …]
|
D | starter_video.cpp | 27 …deo file, image sequence (01.jpg, 02.jpg ... 10.jpg) or camera connected to your computer." << endl in help() 28 << "Usage:\n" << av[0] << " <video file, image sequence or device number>" << endl in help() 29 << "q,Q,esc -- quit" << endl in help() 30 << "space -- save frame" << endl << endl in help() 31 …apture from a camera pass the device number. To find the device number, try ls /dev/video*" << endl in help() 32 << "\texample: " << av[0] << " 0" << endl in help() 33 << "\tYou may also pass a video file instead of a device number" << endl in help() 34 << "\texample: " << av[0] << " video.avi" << endl in help() 35 …o pass the path to an image sequence and OpenCV will treat the sequence just like a video." << endl in help() 36 << "\texample: " << av[0] << " right%%02d.jpg" << endl; in help() [all …]
|
D | logistic_regression.cpp | 87 cout << "**********************************************************************" << endl; in main() 89 << " contains digits 0 and 1 of 20 samples each, collected on an Android device" << endl; in main() 91 << endl; in main() 92 cout << "**********************************************************************" << endl; in main() 106 cerr << "file can not be opened: " << filename << endl; in main() 111 cout << "read " << data.rows << " rows of data" << endl; in main() 129 cout << "training/testing samples count: " << data_train.rows << "/" << data_test.rows << endl; in main() 146 cout << "done!" << endl; in main() 151 cout << "done!" << endl; in main() 154 cout << "original vs predicted:" << endl; in main() [all …]
|
/external/eigen/doc/snippets/ |
D | ComplexEigenSolver_compute.cpp | 2 cout << "Here is a random 4x4 matrix, A:" << endl << A << endl << endl; 6 cout << "The eigenvalues of A are:" << endl << ces.eigenvalues() << endl; 7 cout << "The matrix of eigenvectors, V, is:" << endl << ces.eigenvectors() << endl << endl; 10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl; 13 cout << "... and A * v = " << endl << A * v << endl << endl; 15 cout << "Finally, V * D * V^(-1) = " << endl 16 << ces.eigenvectors() * ces.eigenvalues().asDiagonal() * ces.eigenvectors().inverse() << endl;
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType.cpp | 3 cout << "Here is a random symmetric 5x5 matrix, A:" << endl << A << endl << endl; 6 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 7 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 10 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 12 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl; 13 cout << "... and A * v = " << endl << A * v << endl << endl; 17 cout << "Finally, V * D * V^(-1) = " << endl << V * D * V.inverse() << endl;
|
D | EigenSolver_EigenSolver_MatrixType.cpp | 2 cout << "Here is a random 6x6 matrix, A:" << endl << A << endl << endl; 5 cout << "The eigenvalues of A are:" << endl << es.eigenvalues() << endl; 6 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 9 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 11 cout << "If v is the corresponding eigenvector, then lambda * v = " << endl << lambda * v << endl; 12 cout << "... and A * v = " << endl << A.cast<complex<double> >() * v << endl << endl; 16 cout << "Finally, V * D * V^(-1) = " << endl << V * D * V.inverse() << endl;
|
D | SelfAdjointEigenSolver_SelfAdjointEigenSolver_MatrixType2.cpp | 3 cout << "Here is a random symmetric matrix, A:" << endl << A << endl; 6 cout << "and a random postive-definite matrix, B:" << endl << B << endl << endl; 9 cout << "The eigenvalues of the pencil (A,B) are:" << endl << es.eigenvalues() << endl; 10 cout << "The matrix of eigenvectors, V, is:" << endl << es.eigenvectors() << endl << endl; 13 cout << "Consider the first eigenvalue, lambda = " << lambda << endl; 15 cout << "If v is the corresponding eigenvector, then A * v = " << endl << A * v << endl; 16 cout << "... and lambda * B * v = " << endl << lambda * B * v << endl << endl;
|
D | HouseholderSequence_HouseholderSequence.cpp | 2 cout << "The matrix v is:" << endl; 3 cout << v << endl; 6 cout << "The first Householder vector is: v_0 = " << v0.transpose() << endl; 8 cout << "The second Householder vector is: v_1 = " << v1.transpose() << endl; 10 cout << "The third Householder vector is: v_2 = " << v2.transpose() << endl; 13 cout << "The Householder coefficients are: h = " << h.transpose() << endl; 16 cout << "The first Householder reflection is represented by H_0 = " << endl; 17 cout << H0 << endl; 19 cout << "The second Householder reflection is represented by H_1 = " << endl; 20 cout << H1 << endl; [all …]
|
D | JacobiSVD_basic.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; 4 cout << "Its singular values are:" << endl << svd.singularValues() << endl; 5 …"Its left singular vectors are the columns of the thin U matrix:" << endl << svd.matrixU() << endl; 6 …Its right singular vectors are the columns of the thin V matrix:" << endl << svd.matrixV() << endl; 8 cout << "Now consider this rhs vector:" << endl << rhs << endl; 9 cout << "A least-squares solution of m*x = rhs is:" << endl << svd.solve(rhs) << endl;
|
D | Vectorwise_reverse.cpp | 2 cout << "Here is the matrix m:" << endl << m << endl; 3 cout << "Here is the rowwise reverse of m:" << endl << m.rowwise().reverse() << endl; 4 cout << "Here is the colwise reverse of m:" << endl << m.colwise().reverse() << endl; 6 cout << "Here is the coefficient (1,0) in the rowise reverse of m:" << endl 7 << m.rowwise().reverse()(1,0) << endl; 8 cout << "Let us overwrite this coefficient with the value 4." << endl; 10 cout << "Now the matrix m is:" << endl << m << endl;
|
/external/opencv3/samples/cpp/tutorial_code/photo/seamless_cloning/ |
D | cloning_demo.cpp | 36 cout << endl; in main() 37 cout << "Cloning Module" << endl; in main() 38 cout << "---------------" << endl; in main() 39 cout << "Options: " << endl; in main() 40 cout << endl; in main() 41 cout << "1) Normal Cloning " << endl; in main() 42 cout << "2) Mixed Cloning " << endl; in main() 43 cout << "3) Monochrome Transfer " << endl; in main() 44 cout << "4) Local Color Change " << endl; in main() 45 cout << "5) Local Illumination Change " << endl; in main() [all …]
|
/external/opencv3/samples/cpp/tutorial_code/photo/non_photorealistic_rendering/ |
D | npr_demo.cpp | 32 cout << "usage: " << argv[0] << " <Input image> " << endl; in main() 42 cout << "Image not found" << endl; in main() 46 cout << endl; in main() 47 cout << " Edge Preserve Filter" << endl; in main() 48 cout << "----------------------" << endl; in main() 50 cout << "Options: " << endl; in main() 51 cout << endl; in main() 53 cout << "1) Edge Preserve Smoothing" << endl; in main() 54 cout << " -> Using Normalized convolution Filter" << endl; in main() 55 cout << " -> Using Recursive Filter" << endl; in main() [all …]
|
/external/eigen/bench/btl/data/ |
D | mean.cxx | 109 cout << "<TABLE BORDER CELLPADDING=2>" << endl ; in main() 110 cout << " <TR>" << endl ; in main() 111 cout << " <TH ALIGN=CENTER> " << argv[1] << " </TH>" << endl ; in main() 112 …TH ALIGN=CENTER> <a href=""#mean_marker""> in cache <BR> mean perf <BR> Mflops </a></TH>" << endl ; in main() 113 cout << " <TH ALIGN=CENTER> in cache <BR> % best </TH>" << endl ; in main() 114 …LIGN=CENTER> <a href=""#mean_marker""> out of cache <BR> mean perf <BR> Mflops </a></TH>" << endl ; in main() 115 cout << " <TH ALIGN=CENTER> out of cache <BR> % best </TH>" << endl ; in main() 116 cout << " <TH ALIGN=CENTER> details </TH>" << endl ; in main() 117 cout << " <TH ALIGN=CENTER> comments </TH>" << endl ; in main() 118 cout << " </TR>" << endl ; in main() [all …]
|
/external/eigen/unsupported/doc/examples/ |
D | PolynomialSolver1.cpp | 13 cout << "Roots: " << roots.transpose() << endl; in main() 18 cout << "Complex roots: " << psolve.roots().transpose() << endl; in main() 23 cout << "Real roots: " << mapRR.transpose() << endl; in main() 25 cout << endl; in main() 26 cout << "Illustration of the convergence problem with the QR algorithm: " << endl; in main() 27 cout << "---------------------------------------------------------------" << endl; in main() 31 cout << "Hard case polynomial defined by floats: " << hardCase_polynomial.transpose() << endl; in main() 33 cout << "Complex roots: " << psolvef.roots().transpose() << endl; in main() 36 …< "Norms of the evaluations of the polynomial at the roots: " << evals.transpose() << endl << endl; in main() 38 cout << "Using double's almost always solves the problem for small degrees: " << endl; in main() [all …]
|
/external/libcxxabi/test/ |
D | test_fallback_malloc.pass.cpp | 73 std::cout << "Constant exhaustion tests" << std::endl; in exhaustion_test1() 77 std::cout << "Allocated " << ptrs.size () << " 32 byte chunks" << std::endl; in exhaustion_test1() 82 std::cout << "----" << std::endl; in exhaustion_test1() 86 std::cout << "Allocated " << ptrs.size () << " 32 byte chunks" << std::endl; in exhaustion_test1() 90 std::cout << "----" << std::endl; in exhaustion_test1() 94 std::cout << "Allocated " << ptrs.size () << " 32 byte chunks" << std::endl; in exhaustion_test1() 104 std::cout << "Growing exhaustion tests" << std::endl; in exhaustion_test2() 108 …:cout << "Allocated " << ptrs.size () << " { 32, 48, 72, 108, 162 ... } byte chunks" << std::endl; in exhaustion_test2() 113 std::cout << "----" << std::endl; in exhaustion_test2() 118 …:cout << "Allocated " << ptrs.size () << " { 32, 48, 72, 108, 162 ... } byte chunks" << std::endl; in exhaustion_test2() [all …]
|
/external/opencv3/samples/cpp/tutorial_code/video/ |
D | bg_sub.cpp | 36 << "--------------------------------------------------------------------------" << endl in help() 37 << "This program shows how to use background subtraction methods provided by " << endl in help() 38 << " OpenCV. You can process both videos (-vid) and images (-img)." << endl in help() 39 << endl in help() 40 << "Usage:" << endl in help() 41 << "./bs {-vid <video filename>|-img <image filename>}" << endl in help() 42 << "for example: ./bs -vid video.avi" << endl in help() 43 << "or: ./bs -img /data/images/1.png" << endl in help() 44 << "--------------------------------------------------------------------------" << endl in help() 45 << endl; in help() [all …]
|
/external/eigen/doc/examples/ |
D | Tutorial_ArrayClass_interop_matrix.cpp | 19 cout << "-- Matrix m*n: --" << endl << result << endl << endl; in main() 21 cout << "-- Array m*n: --" << endl << result << endl << endl; in main() 23 cout << "-- With cwiseProduct: --" << endl << result << endl << endl; in main() 25 cout << "-- Array m + 4: --" << endl << result << endl << endl; in main()
|
/external/eigen/unsupported/bench/ |
D | bench_svd.cpp | 42 cout << " Only compute Singular Values" <<endl; in bench_svd() 61 cout << " || " << " BDC : " << timerBDC.value() << "s " <<endl <<endl; in bench_svd() 64 …< "KO : BDC is " << timerJacobi.value() / timerBDC.value() << " times faster than Jacobi" <<endl; in bench_svd() 66 …< "OK : BDC is " << timerJacobi.value() / timerBDC.value() << " times faster than Jacobi" <<endl; in bench_svd() 69 cout << " =================" <<endl; in bench_svd() 70 std::cout<< std::endl; in bench_svd() 73 cout << " Computes rotaion matrix" <<endl; in bench_svd() 92 cout << " || " << " BDC : " << timerBDC.value() << "s " <<endl <<endl; in bench_svd() 95 …< "KO : BDC is " << timerJacobi.value() / timerBDC.value() << " times faster than Jacobi" <<endl; in bench_svd() 97 …< "OK : BDC is " << timerJacobi.value() / timerBDC.value() << " times faster than Jacobi" <<endl; in bench_svd() [all …]
|
/external/lzma/CPP/7zip/UI/Console/ |
D | ExtractCallbackConsole.cpp | 88 (*OutStream) << "file " << existName << endl << in AskOverwrite() 89 "already exists. Overwrite with" << endl << in AskOverwrite() 125 (*OutStream) << message << endl; in MessageError() 180 (*OutStream) << endl; in SetOperationResult() 211 (*OutStream) << endl << kProcessing << name << endl; in BeforeOpen() 217 (*OutStream) << endl; in OpenResult() 234 (*OutStream) << endl; in OpenResult() 275 (*OutStream) << name << endl; in SetError() 281 (*OutStream) << endl; in SetError() 283 (*OutStream) << endl; in SetError() [all …]
|