added mulSpectrums functions into GPU module

This commit is contained in:
Alexey Spizhevoy
2010-12-22 13:46:06 +00:00
parent fef06c25b5
commit 68aba9f2fb
4 changed files with 202 additions and 54 deletions

View File

@@ -196,7 +196,7 @@ namespace
}
GpuMat result_;
crossCorr(image.reshape(1), templ.reshape(1), result_);
convolve(image.reshape(1), templ.reshape(1), result_, true);
imgproc::extractFirstChannel_32F(result_, result, image.channels());
}