opencv_dft

所属分类:OpenCV
开发工具:C++
文件大小:910KB
下载次数:159
上传日期:2012-07-26 17:29:47
上 传 者tornadomeet
说明:    本文主要介绍怎样使用opencv来对图片进行傅里叶变换,其核心函数是opencv自带的dft()。DFT这个技术手段是将空间域映射到频率域中去,在图像处理有着举足轻重的地位。这里我们只是得到其变换的结果并看看贫域图有什么特点。   实验功能: 单击Open Image按钮,手动选择打开一副图片,不管其是否是彩色图片,这里统一将其转换成灰度图像显示,因为需要加快DFT运算速度。 将鼠标移动到图片显示区域,单击图片,这时会显示DFT中间结果图,也就是没有将低频域的点移动到图片的中心而已。显示的图片有文字提示。 继续单击图片,会显示最后重新布局后的DFT结果图,当然也有相应的文字提示。 继续单击图片时,则原图,dft未调整图,dft调整图这3幅图片会进行轮流切换显示。
(This article describes how to use opencv to the Fourier transform of the picture, its core functions is the the opencv comes with the dft (). DFT techniques is mapping the spatial domain to the frequency domain has a pivotal position in the image processing. Here we just get the transformation of the results and see what are the characteristics of poor domain map. Experimental feature: Click on the Open Image button to manually choose to open a picture, regardless of whether it is a color picture here unified convert to grayscale images, because of the need to accelerate the speed of the DFT operation. Move the mouse to the image display area, click the picture, then displays the DFT intermediate results diagram, that is, no low-frequency domain to point to move to the center of the picture. Shown in the picture text prompts. Click the picture, will show that the DFT results after the last re-layout diagram, of course, there is a corresponding text prompts. Continue to click the pictur)

文件列表:
dft (0, 2012-07-26)
dft\mytextbrowser.cpp (472, 2012-07-26)
dft\mainwindow.cpp (4226, 2012-07-26)
dft\dst_2.jpg (132807, 2012-07-26)
dft\dst_1.jpg (133295, 2012-07-26)
dft\dft.pro.user (33019, 2012-07-26)
dft\lena.jpg (91814, 2011-08-12)
dft\dft.pro (704, 2012-07-26)
dft\mainwindow.ui (2147, 2012-07-26)
dft\main.cpp (176, 2012-07-26)
dft\mainwindow.h (617, 2012-07-26)
dft\mytextbrowser.h (372, 2012-07-26)
dft\src_1.jpg (92562, 2012-07-26)
基础学习笔记之opencv(15):离散傅里叶变换.pdf (426856, 2012-07-26)

近期下载者

相关文件


收藏者