搜索资源列表
opencv_dft
- 本文主要介绍怎样使用opencv来对图片进行傅里叶变换,其核心函数是opencv自带的dft()。DFT这个技术手段是将空间域映射到频率域中去,在图像处理有着举足轻重的地位。这里我们只是得到其变换的结果并看看贫域图有什么特点。 实验功能: 单击Open Image按钮,手动选择打开一副图片,不管其是否是彩色图片,这里统一将其转换成灰度图像显示,因为需要加快DFT运算速度。 将鼠标移动到图片显示区域,单击图片,这时会显示DFT中间结果图,也就是没有将低频域的点移动到图片的中心
pointvalue
- 读入图像,鼠标点击图像,同时显示单击处的坐标值和像素值。-Read the image, click on the image, and display the coordinate values and the pixel value at the click.
floodfill
- 漫水填充算法示例,在窗口图片上单击鼠标,可以给其中不同区域随机着色-Diffuse water filling algorithm example, click on the picture window, you can give different areas where random coloring