![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图像处理中间方法
AllyLi0224
这个作者很懒,什么都没留下…
展开
-
小于像素均值的设为白色
''' bb = np.mean(img[:,:,0]) gg = np.mean(img[:,:,1]) rr = np.mean(img[:,:,2]) for i in range (0, rows): for j in range (0, cols): print (img[i,j,0], img[i,j,1], img[i,j,2]) if img[i,j,0] < bb and img[i,.原创 2021-03-15 10:48:57 · 206 阅读 · 0 评论 -
DOG、Laplacian金字塔&高斯金字塔
DoG(Difference of Gaussian)DoG (Difference of Gaussian)是灰度图像增强和角点检测的方法,其做法较简单,证明较复杂,具体讲解如下:Difference of Gaussian(DOG)是高斯函数的差分。我们已经知道可以通过将图像与高斯函数进行卷积得到一幅图像的低通滤波结果,即去噪过程,这里的Gaussian和高斯低通滤波器的高斯一转载 2015-10-28 15:16:50 · 1009 阅读 · 0 评论 -
生成fftw3的lib文件
These DLLs were created by us, cross-compiled from GNU/Linux using MinGW; the 64-bit version is possible thanks to the mingw-w64 project. You should be able to call them from any compiler. In order原创 2016-08-24 19:11:15 · 3262 阅读 · 0 评论 -
fftw使用时候需注意的内容
including the following lines after you #include :static void my_fftw_write_char(char c, void *f) { fputc(c, (FILE *) f); }#define fftw_export_wisdom_to_file(f) fftw_export_wisdom(my_fftw_write_cha原创 2016-08-24 19:13:41 · 1329 阅读 · 0 评论 -
直方图均衡化
%matlab实现cl;img=imread('mask.jpg');imshow(img);[x,y]=size(img);img_man=zeros(x,y);img_com=zeros(x,y);%% 直方图均衡化算法Max=max(max(img));Min=min(min(img));Hist=zeros(1,256);for i=1:x for j=1:y原创 2016-12-26 16:09:00 · 1228 阅读 · 0 评论 -
python聚类
用Python实现文档聚类图像聚类:参考一参考二参考三原创 2017-10-24 17:26:12 · 582 阅读 · 0 评论