Itseez/opencv — pull request #2930 by akarsakov (2014-07-03 06:39:26+00:00)
Title: Fixed dst size in cv::dft

In case 1d real to complex transformation, result size is (width/2+1, height/2+1) - half of full complex output (without conjugate coefficients).
So rest of destination matrix is not initialized.