Create a deconvolution function from scratch to deblur/deconvolve an image

4 views (last 30 days)
I have an image 'circuit.tif' and the blurring kernel is h = ones(1,11)/11 and n= 11. I blurred the image using MATLAB command:
blurred = uint8( round( filter2(h, im, 'valid') ) );
Now I want to create a function from scratch which takes 2 input parameters: image and h in matlab to deblur the above image. How can I do that?
function(image, h)

Answers (0)

Community Treasure Hunt

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

Start Hunting!