Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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 me 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

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

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 me 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