jingweimo的个人博客分享 http://blog.sciencenet.cn/u/jingweimo

博文

Blurring and Deblurring

已有 1616 次阅读 2017-9-18 11:48 |系统分类:科研笔记

object = double(imread('cameraman.tif'));

DC = 0.5;


sigma = 40;

[Idc, H] = gfilt(object.*DC,sigma);

figure;


subplot(121); imshow(object.*DC,[]); title('Original');

subplot(122); imshow(Idc,[]); title('Blurred');



psf = abs(fftshift(ifft2(H)));

J = deconvwnr(Idc,psf,0.0001);

figure;


subplot(221); imshow(psf,[]); title('PSF');

subplot(222); imshow(Idc,[]); title('DC');

subplot(223); imshow(J,[]); title('Deconvolution');

subplot(224); imshow(object,[]); title('Original');




Reference:

https://www.researchgate.net/profile/Yuzhen_Lu/publication/310776135_Out-of-focus_Blur_Image_De-blurring/links/5836e20a08ae74bb3aa420e4.pdf








https://blog.sciencenet.cn/blog-578676-1076442.html

上一篇:Proof on the Dirac Delta function related relationships
下一篇:Coherent and incoherent imaging
收藏 IP: 68.48.108.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-11-26 23:47

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部