Hello,
I am trying to get the following example for a Fourier transformation running:
https://docs.opencv.org/4.0.0/d8/d01/tutorial_discrete_fourier_transform.html
I am using the attached input Image: C:\fakepath\lenna.jpg
To read the image directly, i adapted the codeline:
Mat I = imread(filename, IMREAD_GRAYSCALE);
to:
Mat I = imread("lenna.jpg", IMREAD_GRAYSCALE);
Compiling the example works fine. But when i run the Code i get a runtime error when displaying the DFT.
Any ideas whats causing the error?
Setup: Windows 10 with Visual Studio 2017 and OpenCV 4.0.0
Thank you in advance!