fixed bug in gpu::dft

This commit is contained in:
Alexey Spizhevoy
2010-12-23 10:07:37 +00:00
parent 09735fd208
commit 52ca0c4bca
2 changed files with 4 additions and 4 deletions

View File

@@ -1155,7 +1155,7 @@ void cv::gpu::dft(const GpuMat& src, GpuMat& dst, int flags, int nonZeroRows, bo
// Make sure here we work with the continuous input,
// as CUFFT can't handle gaps
if (src.isContinuous())
src_aux = src;
src_data = src_aux = src;
else
{
src_data = GpuMat(1, src.size().area(), src.type());