请参阅: 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();
另外,如何分别显示图像的真实和虚构部分?
测试图像: