How to initialize and use cv::gpu::MatchTemplateBuf in cv::gpu:: MatchTemplate Function ??

asked 2015-06-03 09:40:33 -0500

Sharath gravatar image

updated 2015-06-10 08:31:46 -0500

Hi, I want to use cv::gpu::MatchTemplate function to speedup the output.

   void gpu::matchTemplate(const GpuMat& image, const GpuMat& templ, GpuMat& result, int method,          MatchTemplateBuf& buf, Stream& stream=Stream::Null())

Can anyone provide some explaination or example on how to use the "MatchTemplateBuf" ? There is no documentation, which explains the usage of MatchTemplateBuf. Help would be appreciated greatly.

System : Cuda 6.5 Gpu: Nvidia GeForce 210 Windows 7 64bit OpenCV 2.4.10

edit retag flag offensive close merge delete