From 5f35bed5c54eeed14581a1ac68b086ecd4cc555d Mon Sep 17 00:00:00 2001 From: edgarriba Date: Fri, 25 Jul 2014 11:54:41 +0200 Subject: [PATCH] Delete Debug functions --- modules/calib3d/src/dls.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/modules/calib3d/src/dls.cpp b/modules/calib3d/src/dls.cpp index 54c6bdbadf..0bf23f041a 100644 --- a/modules/calib3d/src/dls.cpp +++ b/modules/calib3d/src/dls.cpp @@ -19,34 +19,6 @@ using namespace std; -void pause__(){ cin.get(); } - -void printSize(const cv::Mat& mat) -{ - cout << mat.rows << "x" << mat.cols << endl; -} -void printMat(const cv::Mat& mat) -{ - ofstream outFile; - outFile.open("test.txt"); - - printSize(mat); - for (int i = 0; i < mat.rows; ++i) { - cout << "["; - outFile << "["; - for (int j = 0; j < mat.cols; ++j) { - cout << " " << mat.at(i,j); - outFile << " " << mat.at(i,j); - } - cout << ";]" << endl; - outFile << ";]" << endl; - } - - outFile.close(); -} -template -void print(T var) { cout << var << endl; } - dls::dls(const cv::Mat& opoints, const cv::Mat& ipoints) { N = std::max(opoints.checkVector(3, CV_32F), opoints.checkVector(3, CV_64F));