Changing the FFT limit in match_template.cpp source code

asked 2015-07-06 09:09:15 -0500

Hello,

I am using cv::cuda::TemplateMatching::match in OpenCV 3.0.0 to do normalized cross correlation. In the source file match_template.cpp I can see that the code is using FFT when the template size is greater than 300 (for 8U data type). I would like to change this limit in the code. Is there an easy way to do this? Can I modify the source code? Do I have to build the whole library every time I want to make a change in the source file?

Thanks!

edit retag flag offensive close merge delete