added dft for all platforms

pull/3013/head
Elena Gvozdeva 11 years ago
parent dc3c691c8c
commit dbb5993d13
  1. 4
      modules/imgproc/src/templmatch.cpp

@ -110,12 +110,8 @@ static bool sumTemplate(InputArray _src, UMat & result)
static bool useNaive(Size size)
{
if (!ocl::Device::getDefault().isIntel())
return true;
int dft_size = 18;
return size.height < dft_size && size.width < dft_size;
}
struct ConvolveBuf

Loading…
Cancel
Save