Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Two dimentional deconvolution

Subject: Two dimentional deconvolution

From: shahzad

Date: 2 Sep, 2009 09:37:01

Message: 1 of 3

Can any one please tell me how to do two dimentional deconvolution in matlab?
I have two matrices of size 3x3 and I want to find the 2D deconvolution of these matrices to get my original data.I tried to search for any function that could do this,but unfortunately could not find it.

Any help would be highly appreciated.

Subject: Two dimentional deconvolution

From: ImageAnalyst

Date: 2 Sep, 2009 10:21:51

Message: 2 of 3

On Sep 2, 5:37 am, "shahzad " <wellwisher_200...@yahoo.com> wrote:
> Can any one please tell me how to do two dimentional deconvolution in matlab?
> I have two matrices of size 3x3 and I want to find the 2D deconvolution of these matrices to get my original data.I tried to search for any function that could do this,but unfortunately could not find it.
>
> Any help would be highly appreciated.

-----------------------------------------------------------------------------------------
conv2() is inthe Image Processing Toolbox. I'm not sure how you'd
deconvolve only two images though. I've always heard of it being done
on a whole stack of dozens or hundreds of images.

Subject: Two dimentional deconvolution

From: shahzad

Date: 2 Sep, 2009 11:31:04

Message: 3 of 3

ImageAnalyst <imageanalyst@mailinator.com> wrote in message <43a48b71-0789-486a-a048-03ed2269c0a7@t2g2000yqn.googlegroups.com>...
> On Sep 2, 5:37?am, "shahzad " <wellwisher_200...@yahoo.com> wrote:
> > Can any one please tell me how to do two dimentional deconvolution in matlab?
> > I have two matrices of size 3x3 and I want to find the 2D deconvolution of these matrices to get my original data.I tried to search for any function that could do this,but unfortunately could not find it.
> >
> > Any help would be highly appreciated.
>
> -----------------------------------------------------------------------------------------
> conv2() is inthe Image Processing Toolbox. I'm not sure how you'd
> deconvolve only two images though. I've always heard of it being done
> on a whole stack of dozens or hundreds of images.

Thanks for the comments.
Actually I am getting the (x,y) data from 9 measurements where x=time and y=signal and then taking only the y-data and storing(only the first data point from each measurent) in the form of a matrix like:

Y11=[y1(1) y2(1) y3(1);
         y4(1) y5(1) y6(1);
         y7(1) y8(1) y9(1)];

and then deconvolving(2D) with the data from all other points(i took only 1000 although actual data consists of 2 million data points! for each measurement) like:
    
for i=2:1000
 
    Y22=[y1(i) y2(i) y3(i);
            y4(i) y5(i) y6(i);
            y7(i) y8(i) y9(i)];
     
  C=filter2(Y11,Y22);
end

I tried it with "filter2" and "xcorr2"function but I am not sure that these give the same result as "deconv2" would give.The data I get is already convolved with some unknown function so I donot need "conv2".Instead I need "deconv2",which unfortunately I could not find in matlab.Or is there any other function in matlab that could do this 2D deconvolution?

Thanks in advance for help.

Tags for this Thread

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.

Contact us