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

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)

답변 (0개)

질문:

2019년 11월 19일

편집:

2019년 11월 19일

Community Treasure Hunt

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

Start Hunting!

Translated by