comparison dsp/tonal/ChangeDetectionFunction.cpp @ 50:980b1a3b9cbe

* Remove some debug
author cannam
date Tue, 25 Nov 2008 16:00:05 +0000
parents d7116e3183f8
children e5907ae6de17
comparison
equal deleted inserted replaced
49:7a6d0bab63ea 50:980b1a3b9cbe
42 double w = dScale * std::exp ( -(x*x)/(2*m_dFilterSigma*m_dFilterSigma) ); 42 double w = dScale * std::exp ( -(x*x)/(2*m_dFilterSigma*m_dFilterSigma) );
43 m_vaGaussian[x + (m_iFilterWidth-1)/2] = w; 43 m_vaGaussian[x + (m_iFilterWidth-1)/2] = w;
44 } 44 }
45 45
46 #ifdef DEBUG_CHANGE_DETECTION_FUNCTION 46 #ifdef DEBUG_CHANGE_DETECTION_FUNCTION
47 std::cout << "Filter sigma: " << m_dFilterSigma << std::endl; 47 std::cerr << "Filter sigma: " << m_dFilterSigma << std::endl;
48 std::cout << "Filter width: " << m_iFilterWidth << std::endl; 48 std::cerr << "Filter width: " << m_iFilterWidth << std::endl;
49 #endif 49 #endif
50 } 50 }
51 51
52 52
53 ChangeDistance ChangeDetectionFunction::process(const TCSGram& rTCSGram) 53 ChangeDistance ChangeDetectionFunction::process(const TCSGram& rTCSGram)