How can I deconvolution the spectroscopic spectrum ?

Hi I have abs spectrum contains 2 components how can write a code to deconvolve this graph ? Regard

 Accepted Answer

There are functions conv() and deconvlucy() (for 2D images). You'd need to know what the individual components were convolved with to get your spectrum. Or else take a guess - the "try and see" method.

4 Comments

Thank you for your answer , but I want to know in case I have 2D data what is the structure of code for deconvolution.??
You can use conv2() to do deconvolution:
out = conv2(double(inputImage), kernel, 'same');
And there are examples for deconvlucy() in the help.
what would you set kernel to?
@Rachel depends on the effect you want to achieve. For blurring, a matrix of all ones would do the trick. For sharpening, a positive middle element and negative ones surrounding the middle would sharpen the image.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!