<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Image deblurring - Introduction</title>
	<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/</link>
	<description>Steve Eddins manages the Image &#38; Geospatial development team at &#60;a href="http://www.mathworks.com/"&#62;The MathWorks&#60;/a&#62; and coauthored &#60;a href="http://www.mathworks.com/support/books/book5291.html?category=-1&#38;language=-1"&#62;Digital Image Processing Using MATLAB&#60;/a&#62;. He writes here about image processing concepts, algorithm implementations, and MATLAB.&#60;br&#62;&#60;br&#62;&#60;img&#62;</description>
	<pubDate>Thu, 05 Nov 2009 05:04:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-22063</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 17 Aug 2009 18:29:41 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-22063</guid>
		<description>Yuan&#8212;Usually the only time you know the blur function is when you have some model of the physical imaging processing that includes the blurring mechanism.  Deblurring when you don't know the blur function is called &lt;em&gt;blind deblurring&lt;/em&gt; in the literature.  You might try the function &lt;tt&gt;deconvblind&lt;/tt&gt;.</description>
		<content:encoded><![CDATA[<p>Yuan&mdash;Usually the only time you know the blur function is when you have some model of the physical imaging processing that includes the blurring mechanism.  Deblurring when you don&#8217;t know the blur function is called <em>blind deblurring</em> in the literature.  You might try the function <tt>deconvblind</tt>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yuan</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-22046</link>
		<dc:creator>yuan</dc:creator>
		<pubDate>Sat, 15 Aug 2009 14:15:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-22046</guid>
		<description>I wonder how to calculate the deblur parameter and deblur type? Without these information, it is hard to deblur the degraded image.</description>
		<content:encoded><![CDATA[<p>I wonder how to calculate the deblur parameter and deblur type? Without these information, it is hard to deblur the degraded image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21699</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 23 Apr 2009 11:11:09 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21699</guid>
		<description>Ray&#8212;That doesn't look like a very plausible three-dimensional PSF to me.  Are you really just trying to do several two-dimensional deblurring operations?  Then do that in a loop. You might want to give the &lt;tt&gt;deconvwnr&lt;/tt&gt; function a try.</description>
		<content:encoded><![CDATA[<p>Ray&mdash;That doesn&#8217;t look like a very plausible three-dimensional PSF to me.  Are you really just trying to do several two-dimensional deblurring operations?  Then do that in a loop. You might want to give the <tt>deconvwnr</tt> function a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Caldeira</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21697</link>
		<dc:creator>Ray Caldeira</dc:creator>
		<pubDate>Wed, 22 Apr 2009 17:01:56 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21697</guid>
		<description>Ok Steve, I got it! :)
But now that I made it, or think I did... my implementation is not succeeding. Instead of deconvolving, it's blurring the images and I think this was supposed to work...

Below is what I got for a simple deconvolution function with "stack_img(x, y, z)" as the input:

sigma = 2; rad = 32;
psf1 = fspecial('gaussian', [rad rad], 2*sigma) +eps;
psf2 = fspecial('gaussian', [rad rad], sigma) +eps;
psf3 = fspecial('gaussian', [rad rad], 2*sigma) +eps;

psf_3D = cat(3, psf1, psf2, psf3); % '3D' 2 inverted gaussian cones

fpsf = fftn(psf_3D, size(stack_img));   
img_temp = ifftn((fftn(stack_img)).*conj(fpsf))./abs(fpsf.^2 + 1e-2);
img_out = real(img_temp);

Thanks again!</description>
		<content:encoded><![CDATA[<p>Ok Steve, I got it! :)<br />
But now that I made it, or think I did&#8230; my implementation is not succeeding. Instead of deconvolving, it&#8217;s blurring the images and I think this was supposed to work&#8230;</p>
<p>Below is what I got for a simple deconvolution function with &#8220;stack_img(x, y, z)&#8221; as the input:</p>
<p>sigma = 2; rad = 32;<br />
psf1 = fspecial(&#8217;gaussian&#8217;, [rad rad], 2*sigma) +eps;<br />
psf2 = fspecial(&#8217;gaussian&#8217;, [rad rad], sigma) +eps;<br />
psf3 = fspecial(&#8217;gaussian&#8217;, [rad rad], 2*sigma) +eps;</p>
<p>psf_3D = cat(3, psf1, psf2, psf3); % &#8216;3D&#8217; 2 inverted gaussian cones</p>
<p>fpsf = fftn(psf_3D, size(stack_img));<br />
img_temp = ifftn((fftn(stack_img)).*conj(fpsf))./abs(fpsf.^2 + 1e-2);<br />
img_out = real(img_temp);</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21694</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 22 Apr 2009 16:23:46 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21694</guid>
		<description>Ray&#8212;All of the Image Processing Toolbox deblurring functions support multidimensional images and PSFs.  If you're coding things up yourself based on the math, there's no significant difference between the two-dimensional and n-dimensional cases, other than using fftn instead of fft2.</description>
		<content:encoded><![CDATA[<p>Ray&mdash;All of the Image Processing Toolbox deblurring functions support multidimensional images and PSFs.  If you&#8217;re coding things up yourself based on the math, there&#8217;s no significant difference between the two-dimensional and n-dimensional cases, other than using fftn instead of fft2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Caldeira</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21693</link>
		<dc:creator>Ray Caldeira</dc:creator>
		<pubDate>Wed, 22 Apr 2009 15:37:40 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21693</guid>
		<description>Hi Steve!

I'm learning deconvolution and I kind of understood what you got here but what if I had a stack of images and needed to perform a 3D deconvolution? How would I fit the fftn function here to work with a gaussian PSF? Thanks for your time and care ;)</description>
		<content:encoded><![CDATA[<p>Hi Steve!</p>
<p>I&#8217;m learning deconvolution and I kind of understood what you got here but what if I had a stack of images and needed to perform a 3D deconvolution? How would I fit the fftn function here to work with a gaussian PSF? Thanks for your time and care ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21635</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Thu, 02 Apr 2009 17:26:21 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21635</guid>
		<description>Sudeep&#8212;You might try using the &lt;tt&gt;deconvblind&lt;/tt&gt; function in the Image Processing Toolbox.</description>
		<content:encoded><![CDATA[<p>Sudeep&mdash;You might try using the <tt>deconvblind</tt> function in the Image Processing Toolbox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sudeep Singh</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21620</link>
		<dc:creator>Sudeep Singh</dc:creator>
		<pubDate>Mon, 30 Mar 2009 08:26:10 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21620</guid>
		<description>Hey, i really need your help on this. i'm need to deblur an image which was directly captured in blurred form by the cam. So, i need a code to estimate the psf so i can use the deconvolution procedure. M really stuck as i cant find that anywhere. if you can gimme a link to follow or some source, that would be amazing! thanks</description>
		<content:encoded><![CDATA[<p>Hey, i really need your help on this. i&#8217;m need to deblur an image which was directly captured in blurred form by the cam. So, i need a code to estimate the psf so i can use the deconvolution procedure. M really stuck as i cant find that anywhere. if you can gimme a link to follow or some source, that would be amazing! thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21481</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 18 Feb 2009 01:49:32 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21481</guid>
		<description>Amit&#8212;You need to either provide an estimate of the PSF function, or you use something like &lt;tt&gt;deconvblind&lt;/tt&gt; to simultaneously estimate the PSF and the deblurred image.</description>
		<content:encoded><![CDATA[<p>Amit&mdash;You need to either provide an estimate of the PSF function, or you use something like <tt>deconvblind</tt> to simultaneously estimate the PSF and the deblurred image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit Raj</title>
		<link>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21448</link>
		<dc:creator>Amit Raj</dc:creator>
		<pubDate>Sat, 07 Feb 2009 12:34:52 +0000</pubDate>
		<guid>http://blogs.mathworks.com/steve/2007/08/13/image-deblurring-introduction/#comment-21448</guid>
		<description>Thank you, steve.
I am an undergraduate student. Recently I have started learning about the image processing, image restoration. The deblurring part is fascinating me.
in this experiment u yourself create a distortion(PSF),and noise, and out convolved it with the original image and restore to similar original image with the help of inverse filter,(this is de-convolution, if I am right).
What if the picture is blurred? And you have to make it deblurred? Do you apply the same process?
Can you help me out, I am still in learning phase, and sorry for my stupidity</description>
		<content:encoded><![CDATA[<p>Thank you, steve.<br />
I am an undergraduate student. Recently I have started learning about the image processing, image restoration. The deblurring part is fascinating me.<br />
in this experiment u yourself create a distortion(PSF),and noise, and out convolved it with the original image and restore to similar original image with the help of inverse filter,(this is de-convolution, if I am right).<br />
What if the picture is blurred? And you have to make it deblurred? Do you apply the same process?<br />
Can you help me out, I am still in learning phase, and sorry for my stupidity</p>
]]></content:encoded>
	</item>
</channel>
</rss>
