如何在matlab中对图像进行去模糊?
我需要移除模糊此图片:
I need to remove the blur this image:
图片来源: http://www.flickr.com/photos/63036721@N02/5733034767/
任何想法?
虽然以前的答案是正确的,当他们说你无法找回丢失的信息时,你可以调查一下并做一些猜测。
Although previous answers are right when they say that you can't recover lost information, you could investigate a little and make a few guesses.
我以原始大小(75x75)下载了你的图像,你可以在这里看到一个缩放的片段(一个小方块=一个像素)
I downloaded your image in what seems to be the original size (75x75) and you can see here a zoomed segment (one little square = one pixel)
这似乎是一个非常线性的灰度!让我们通过绘制中心行的强度来验证它。在Mathematica中:
It seems a pretty linear grayscale! Let's verify it by plotting the intensities of the central row. In Mathematica:
ListLinePlot[First /@ ImageData[i][[38]][[1 ;; 15]]]
因此,它实际上是线性的,从零开始并以1结束。
So, it is effectively linear, starting at zero and ending at one.
所以你可能猜到它最初是一个B& W图像,线性模糊。
So you may guess it was originally a B&W image, linearly blurred.
最简单的去模糊方法(不总是给出好结果,但在你的情况下足够)是用0.5阈值二值化图像。像这样:
The easiest way to deblur that (not always giving good results, but enough in your case) is to binarize the image with a 0.5 threshold. Like this:
这是一种可行的方法。请记住,我们在这里猜测很多!
And this is a possible way. Just remember we are guessing a lot here!
HTH!