Emgu.CV.World.dll中发生了'System.Exception'

时间:2018-06-24 15:52:21

标签: c# emgucv

请参阅: Fourier transform of an image in EmguCV
并且 Fourier Transform in EmguCV 3.4.1

.setsockopt( zmq.CONFLATE, 1 )

上面的代码生成以下异常:

        Image<Gray, float> image = new Image<Gray, float>(path);
        UMat dftImage = new UMat(image.Size, Emgu.CV.CvEnum.DepthType.Cv32F, 2);
        CvInvoke.Dft(image, dftImage, Emgu.CV.CvEnum.DxtType.Forward, image.Rows);          

        //Show The Data   
        Image<Bgr, byte> im2 = dftImage.ToImage<Bgr, byte>(); //exception is being raised here
        pictureBox1.Image = im2.ToBitmap();

另外,如何分别显示图像的真实虚构部分?

测试图像:

enter image description here

0 个答案:

没有答案