Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: Image convolution, Fourier

Subject: Image convolution, Fourier

From: Steffen

Date: 29 Apr, 2008 07:52:01

Message: 1 of 4

Hi all,

I?m trying to get into the BLindDeconvolution of the
ImageProcessingToolbox and to do so I convolve a typical
image with a known gaussian PSF to see then whether the
algorithm returns a correct reconstructed PSF and image.
The problem is, that when I convolve the image using:

h = fspecial('gaussian',7,5);
Blurred=conv2(image,h);

I always the this weird mesh grid in the Fouriertransform of
the image as shown in this image with a PSF of 13 pixels:
http://img153.imageshack.us/my.php?image=dcvpsf13wi4.jpg
Another example with a 5 pixel PSF:
http://img501.imageshack.us/my.php?image=dcvpsf5vl6.jpg

The same occurs if I convolve the image using the imfilter
function. Is this periodic grid in the Blurred Fourier
(original image convolved with true PSF and it?s frequency)
an artefact or is there anything else I?m not aware of? I
could be wrong on this, but I?m pretty sure the grid
shouldn?t be there. Unfortunately it?s independent of the
image and just changes it?s appearance slightly with the PSF
applied. Any idea, advices, hints what went wrong??

Many thanks in advance and best regards,

Steffen


Subject: Re: Image convolution, Fourier

From: Steffen

Date: 01 May, 2008 19:36:03

Message: 2 of 4

No one with an idea?
Any hint is much appreciated!!

Thanks!
Steffen

Subject: Re: Image convolution, Fourier

From: Steffen

Date: 13 May, 2008 15:44:03

Message: 3 of 4

My last response on that post...
I take the silence that no one has ever encountered this
particular problem. Could eventually one of the matlab
officials comment the grid effect due to the convolution?


Subject: Re: Image convolution, Fourier

From: Steve Eddins

Date: 13 May, 2008 17:07:04

Message: 4 of 4

"Steffen " <rileksn@gmail.com> wrote in message
<g0cd03$kmk$1@fred.mathworks.com>...
> My last response on that post...
> I take the silence that no one has ever encountered this
> particular problem. Could eventually one of the matlab
> officials comment the grid effect due to the convolution?
>
>

The grid you see is related to the fact that your PSF is
windowed. In other words, your PSF is a Gaussian function
multiplied by a rectangular window. In the frequency
domain, that corresponds to the convolution of the Fourier
transform of the Gaussian with the Fourier transform of the
rectangular window. Your smaller PSF had a wider "grid" in
the frequency domain because of the relationship between the
Fourier transform of a rectangular window and that window's
width.

Also, for future reference, if you really want a response
from "matlab officials," you should contact The MathWorks
directly, possibly via www.mathworks.com/support.

Steve

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
convolution Steffen 29 Apr, 2008 03:55:13
image Steffen 29 Apr, 2008 03:55:13
fourier Steffen 29 Apr, 2008 03:55:13
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics