Commit 37276ffabdaf784ecac4bca3734fc5a385940523

Authored by DepthDeluxe
1 parent d9283713

reverted accidental inclusion of debugging code

openbr/plugins/distance/dist.cpp
@@ -14,9 +14,6 @@ @@ -14,9 +14,6 @@
14 * limitations under the License. * 14 * limitations under the License. *
15 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ 15 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
16 16
17 -#include <iostream>  
18 -using namespace std;  
19 -  
20 #include <opencv2/imgproc/imgproc.hpp> 17 #include <opencv2/imgproc/imgproc.hpp>
21 #include <openbr/plugins/openbr_internal.h> 18 #include <openbr/plugins/openbr_internal.h>
22 19
@@ -55,15 +52,6 @@ private: @@ -55,15 +52,6 @@ private:
55 52
56 float compare(const Mat &a, const Mat &b) const 53 float compare(const Mat &a, const Mat &b) const
57 { 54 {
58 - /*  
59 - cout << "Mat A" << endl;  
60 - cout << "rows: " << a.rows << "\tcols: " << a.cols << endl;  
61 - cout << "a.ptr<float>()[0]: " << a.ptr<float>()[0] << endl;  
62 - cout << "Mat B" << endl;  
63 - cout << "rows: " << b.rows << "\tcols: " << b.cols << endl;  
64 - cout << "b.ptr<float>()[0]: " << b.ptr<float>()[0] << endl;  
65 - */  
66 -  
67 if ((a.size != b.size) || 55 if ((a.size != b.size) ||
68 (a.type() != b.type())) 56 (a.type() != b.type()))
69 return -std::numeric_limits<float>::max(); 57 return -std::numeric_limits<float>::max();