Ask Your Question

ikarus23's profile - activity

2018-12-06 12:45:03 -0600 commented answer Runtime Error in imshow using the DFT example in Opencv 4.0

thank you very much! its working now :)

2018-12-06 12:43:11 -0600 marked best answer Runtime Error in imshow using the DFT example in Opencv 4.0

Hello,

I am trying to get the following example for a Fourier transformation running:

https://docs.opencv.org/4.0.0/d8/d01/...

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!

2018-12-06 12:43:11 -0600 received badge  Scholar (source)
2018-12-06 12:32:14 -0600 asked a question Runtime Error in imshow using the DFT example in Opencv 4.0

Runtimer Error in Imshow using the DFT example in Opencv 4.0 Hello, I am trying to get the following example for a Four